|
|
<script language="Javascript">
Example of the background transition script (IE Only)
</script>
|
|
This script changes the background
color in IE, NS uses will see the normal
background , in this case
plain white. This script does not work well with a page full of tables,
it tends to make the mouse
cursor flicker.
Sit on this page for a bit
and watch the background, it
constantly cycles throught
colors. Initial colors can be changed,
Starting with a light color
will cycle through light colors and starting with a dark color will result
in cycling through dark colors. To change the color, alter this portion
of the script.
r=255;
g=255;
b=255;
Some RGB Codes.
| COLOR |
|
RED |
GREEN |
BLUE |
| Black |
|
0 |
0 |
0 |
| Grey |
|
192 |
192 |
192 |
| Red |
|
255 |
0 |
0 |
| Pink |
|
255 |
204 |
204 |
| Yellow |
|
255 |
255 |
0 |
| Lt Green |
|
153 |
255 |
153 |
| Green |
|
0 |
204 |
0 |
| Dk Green |
|
0 |
51 |
0 |
| Lt Blue |
|
51 |
204 |
255 |
| Blue |
|
51 |
51 |
255 |
| Dk Blue |
|
0 |
0 |
102 |
| Purple |
|
204 |
51 |
204 |
| Violet |
|
102 |
52 |
102 |
| White |
|
255 |
255 |
255 |
|
|
|
|
|
|
|
| Java and all Java-based marks are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other countries. A1 JavaScript Resources is independent of Sun Microsystems, Inc.
|