I’m just trying to remember what I have learnt about creating rollovers with JavaScript:
Create two images; one called arrow_off and one called arrow_on.
In the body of the HTML, inside the img src tag, along with the other properties, give name=”arrow”.
Inside the a href tag, type: onmouseover=”document.arrow.src=’images/arrow_on.gif’”
onmouseout=”document.arrow.src=’images/arrow_off.gif’”
Advertisement
Filed under: Uncategorized