| Home | Graphics | Web Design | Java Applets | Downloads | Games | Search | Links | About Me | ? |
| Home > Java Applets > |
This is the code for the above applet:
| <APPLET CODE="ET_TextScroll.class" WIDTH="140" HEIGHT="100"> <param name="BGColor" value="FFf2d0"> <param name="BorderColor" value="000000"> <param name="Text" value=" <h>ET Text Menu</h> <br>Use the html-like syntax to format the text with headers and <url Link.html>links</url> in the text. <br><br><pause 4000>You can also control the speed of the scroll and make it pause like this. <ff>Now you can also change the align of the text like this: <br><br><left>Left aligned text.<br>This is the default. <br><br><center>Center aligned text.<br>Looks nice! <br><br><right>Right aligned text.<br>Yeah, why not. <page>"> Your browser doesn't support java or java is not enabled! </APPLET> |
This is the code for the above applet:
| <APPLET CODE="ET_TextScroll.class" WIDTH="180" HEIGHT="130"> <param name="InputFile" value="TextInput1.txt"> <param name="BorderColor" value="000000"> <param name="BGColor" value="383a4a"> <param name="TextColor" value="ffffff"> <param name="HeaderColor" value="ffff99"> <param name="URLColor" value="ffff99"> <param name="URLOver" value="ff8844"> <param name="URLClick" value="ff0000"> <param name="URLUnderline" value="true"> <param name="TextFont" value="TimesRoman"> <param name="TextStyle" value="plain"> <param name="TextSize" value="13"> <param name="HeaderFont" value="Ariel"> <param name="HeaderStyle" value="bold"> <param name="HeaderSize" value="15"> <param name="Margin" value="5"> <param name="Align" value="Left"> <param name="ScrollDelay" value="30"> <param name="ScrollMove" value="15"> Your browser doesn't support java or java is not enabled! </APPLET> |
Example 1 : Download ET_TextScroll.class (11KB) and put it in the same directory as the HTML file.
Example 2 : Download vscroller.zip (7KB) and unzip its contents in the same directory as the HTML file. Modify the text files (TextInput1.txt, TextInput2.txt) as appropriate.
| Back to Top | Link to JWS! |