antpower26 Posted December 22, 2011 Report Share Posted December 22, 2011 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. Thanks Ant Ps Merry Xmas Quote Link to comment Share on other sites More sharing options...
ibautista Posted May 25, 2012 Report Share Posted May 25, 2012 Here's the way you do it in jQuery http://api.jquery.com/hover/ Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.