Jump to content
Killersites Community
Sign in to follow this  

Navigation use of hover and Javascript

Recommended Posts

Hi, I'm building a site and using image replacement, for the navigation, as opposed to using some CSS.

In the sites current condition, the image replaces the original image using onmouseover and onmouseout events to create the hover. On the page that that website is on

There is no onmouseout, so once hovered the image replacement sticks.

However I don't think this is robust enough, as the hover states done with these events, won't naturally activate when that page is active, if the mouse doesn't hover.

Does anyone have any better ideas? I'm definately sticking with replacement images, is there are a good JavaScript program, that can activate the image replacement on hover and on active.




Ps Merry Xmas

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this