A different rollover script. You
can assign the rollover to the menu buttons and to any other image.
You can include a message on the status bar with the OnMouseOver function.
Standard coding, but with a nice twist.
EXAMPLE
Mouseover the images below and the
menu on the left to see the rollover at work.
1) Insert this script in the <HEAD> section of the page.
2) Insert this HTML code in the <BODY> section
where you want the rollover buttons to appear in the page.
3) Insert the following HTML code in the <BODY> section
where you want the images linked to the rollover to appear in the page.
4) Define the images for the rollover
buttons in
this section of the script:
oneon = new Image(24,119); oneon.src = "images/image1_on.gif"; oneoff = new Image(24,119); oneoff.src = "images/image1_off.gif"; twoon = new Image(24,119); twoon.src = "images/image2_on.gif"; twooff = new Image(24,119); twooff.src = "images/image2_off.gif";
5) Assign the rollover, the URL to each
button, the message for the status bar and other variables in this section of
the HTML code: