📄 mdc.jsp
字号:
<html>
<head>
<title>adSpace</title>
<meta name="GENERATOR" content="Mozilla/2.01Gold (Win32)">
</head>
<body>
<center><p><b><font SIZE=+3>adSpace</font></b></p></center>
<p>
<hr><!--Applet runs here--><applet code="adSpace.class" codebase="/examples/jsp/plugin/applet" width=468 height=60><param name=adList value="adlist.txt"><param name=pause value=4000><param name=deltaY value=2><param name=scrollPause value=40><param name=aniAudio value="danger.au"></applet>
<hr></p>
<jsp:plugin type="applet" code="adSpace.class" codebase="/examples/jsp/plugin/applet" jreversion="1.2" width="468" height="60" >
<jsp:fallback>
Plugin tag OBJECT or EMBED not supported by browser.
</jsp:fallback>
</jsp:plugin>
<p>Applet Name: "adSpace"
<br>Import(s): java.applet, java.awt, java.io, java.lang, java.net, java.util
<br>Feature(s): image, audio, animation, network, mouse
<br>Source: <a href="adSpace.java">adSpace.java</a><a href="adspace.java">
<br></a>Author: <a href="mailto:vong@21cn.com">Haowen Huang</a>, <a href="mailto:susanhuang@263.net">Susan
Huang</a></p>
<h2>Usage Guide:</h2>
<p>The adSpace emulates a football stadium style rotating advertising hoarding.
It downloads a series of image files, and resizes them to create a rotating
animation. Clicking the mouse over the current image follows the hypertext
link associated with that image. The images and associated URLs are specified
in a configuration file, which is downloaded and parsed by the applet.
The applet parameters are:</p>
<p>adList: The URL to the configuration file.
<br>
<br>pause: The length of time (in milliseconds) to display each image
<br>
<br>deltaY: The pixel length between each frame in the rotation
<br>
<br>animation scrollPause: The length of time (in milliseconds) between
each frame in the rotation animation.
<br>
<br>numFrames: The number of frames in each rotation animation (takes precedence
of the deltaY parameter)
<br>
<br>aniAudio: The URL to an audio file used during rotation animation </p>
<pre>The config file format is:
{
URL to image1
URL image1 should link to when clicked
[URL to audio1 file]
}
{
URL to image2
URL image2 should link to when clicked
[URL to audio2 file]
}
etc.
Usage example:
<applet code="adSpace.class" width=468 height=60&lg <param name=adList value="adlist.txt"&lg
<param name=pause value=4000&lg
<param name=deltaY value=2&lg
<param name=scrollPause value=40&lg
<param name=aniAudio value="danger.au"&lg
</applet&lg</pre>
<center><pre>
<hr>
<a href="../index.html"><img src="../images/mantoid.gif" alt="Return to index." border=0 height=109 width=109></a>
</pre></center>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -