|
Java: Background colour changer
This script changes the colour of the background when the mouse is moved over the appropriate letter when placed in the <Body> tag.
<A href="" onmouseover ="document.bgcolor='silver'">C</a>
<A href="" onmouseover ="document.bgcolor='lightslategray'">O</a>
<A href="" onmouseover ="document.bgcolor='azure'">L</a>
<A href="" onmouseover ="document.bgcolor='lightgreen'">O</a>
<A href="" onmouseover ="document.bgcolor='lightblue'">U</a>
<A href="" onmouseover ="document.bgcolor='white'">R</a>