Changing the Color of an Image Upon Mouseover

Changing the Color of an Image Upon Mouseover

I’m designing a new rollover for my menu frame. I have five graphics, and I want them to change colors when the user mouses over them. Also, how do I make it so that text appears in the status bar at the bottom of the window?

There are a couple of ways to make the images change colors when moused over. One example is to use a single tag and at least two different image files for the tag. You can use VBScript to change the value of the src property of the tag in the onmouseover and onmouseout events:

Adding text to the status bar is easy using the window object. The status property of the window object controls it. In this example, divBigStuff is a

tag. The text will appear in the status bar:
Sub divBigStuff_onmouseover	window.status="Click here to see big stuff"End Sub


Share the Post: