Horizontal rainbow rule
-Here is the output:
-Want to see more examples?
example2
example3
example4
example5
-Parameters:
<APPLET CODE="rainbow.class"
WIDTH=650 HEIGHT=5> <PARAM NAME="squares" VALUE="50"> <PARAM NAME="step" VALUE="10"> <PARAM NAME="speed" VALUE="20"> <PARAM NAME="color" VALUE="green"> <PARAM NAME="horizontal" VALUE="-1"> <HR> Sorry, your browser doesn't support JAVA! </APPLET> |
==> Width and
Height of the rule. ==> Number of squres in the rule. ==> Color step between squares. ==> Delay in miliseconds. ==> Color can be green , red or blue . ==> VALUE can be 1 or -1 . 1 is for movement to the right and -1 is for movement to the left. ==> If the browser does not support JAVA an ordinary horizontal line will be drawn. |
Feel free to use this applet! But let me know where you use it.
-Class:
rainbow.class
-Source:
rainbow.java
-Please visit my TicTacToe Game written in JavaScript:
My TicTacToe Game!
© 1997 by Sergej Panic |