![]()
![]()
The Marquee AppletDescription
The Marquee applet draws a central graphic, surrounded by a marquee of two other graphics. You may optionally supply a URL that the applet will tell the browser to load when clicked. Size: about 4,100 bytes
Example
(first is the example, then comments and the HTML that generated it)
As you see, one Marquee message is scrolled across the top and bottom, a second (identical but rotated 90 degrees) image is scrolled along the sides.
<APPLET CODE="Marquee.class" CODEBASE="Java" WIDTH=334 HEIGHT=94 ALIGN=middle> <PARAM NAME="Speed" VALUE=4> <PARAM NAME="Spacing" VALUE=100> <PARAM NAME="Background" VALUE=255,255,255> <PARAM NAME="BGImageURL" VALUE="msg2.gif"> <PARAM NAME="HorizontalImageURL" VALUE="horiz.gif"> <PARAM NAME="VerticalImageURL" VALUE="vert.gif"> <PARAM NAME="GoTo" VALUE="http://www.shokwave.com"> Sorry, your browser does <B>not</B> support Java, so you can't see this brilliant hack. </APPLET>
Of course, the horizontal and vertical graphics don't have to contain text...
<APPLET CODE="Marquee.class" CODEBASE="Java" WIDTH=334 HEIGHT=94 ALIGN=middle> <PARAM NAME="Speed" VALUE=4> <PARAM NAME="Spacing" VALUE=50> <PARAM NAME="Background" VALUE=255,255,255> <PARAM NAME="BGImageURL" VALUE="msg2.gif"> <PARAM NAME="HorizontalImageURL" VALUE="horiz2.gif"> <PARAM NAME="VerticalImageURL" VALUE="vert2.gif"> <PARAM NAME="GoTo" VALUE="http://www.shokwave.com"> Sorry, your browser does <B>not</B> support Java, so you can't see this brilliant hack. </APPLET>
Parameters
The Flasher applet takes the following parameters:
BGImageURL The central image. Required HorizontalImageURL Horizontal image. Required VerticalImageURL Vertical image. Required Background R,G,B of background Optional Speed Speed, in pixels, of scrolling. Optional Spacing Repeat distance for scrolled graphics (how often they repeat) Required GoTo URL to Goto when applet is clicked Optional Outside of PARM tags HTML for those with non-Java browsers Optional
Web Deco Kit Page Shokwave Home Page