I have one page with four rollovers. I need to be able to keep the rollover effect until I click on one. A click will change the image to one that is supposed to stay until one of the other ones is clicked. Anyone have ideas on how to do this?
Announcement
Collapse
No announcement yet.
RollOvers w/ imageswap and changing images without restore
Collapse
X
-
Dont use the onmouseout event handler if you dont want anything to happen onmouseout.
Show us the code you have so far.Last edited by JohnKrutsch; Jun 19, 2002, 05:02 PM.
Comment
-
I figured it out thnx.
This is what I was trying to do.
San Diego Media supports our ecommerce clients with tools that enhance merchandising in a multi-channel world.
Notice the mouse overs, and when you click on one it no longer has a mouseover until a different nav image is clicked
Thnx for the effort though
Comment
-
Were you just looking for a script ?
If so maybe this should have been posted in the "Request a Script Forum"
If you are developing your own I would suggest using a global variable that holds the value of the "clicked" image. In your mouseout code you would check this value and if it was the same as the image you were mousing out of you would do nothing.
However if you just want some demos I have a script that I have not yet had time to properly incorperate into my site but here are some examples of what it can do,
Image Sticks on Click
Third image on click
Third image on Click - 4th image on mouse out of clicked
Same as above but using only 4 imagesThe answer does not come from thinking outside the box, it comes from realizing the truth :-
"There Is No Box". [JavaScript Gadgets'n'Gizmos][JavaScript-FX]
Comment
Comment