EXAMPLE 10 - Cycling Images with a Random Start
Welcome to this part of "Creating More Effective Rollovers". Here we will examine the two rollover buttons below to see how we got this result by using an external javaScript file, and explain their attributes.
First try it out for yourself and you'll notice that when you move the mouse over one of the buttons, it turns to RED indicating that it is on, but if you move off the area, the button then goes back to BLUE indicating that it is off.