View Full Version : need rollover effect w/o link
07-09-2003, 02:11 AM
07-09-2003, 02:22 AM
Here's what I think you're looking for:
the wickford example is not exactly what ericjt is looking for. Furthermore, it works for IE only.
I think you can obtain that kind of effect when onclick if you include the event inside a "neutral" dividing tag, such as DIV, whith the image inside, instead of includung that event in <a href> tag (the latter will always make visible that fine dotted marquee you mentioned.
try something like:
07-09-2003, 01:00 PM
<img src="before.gif" onmouseover="this.src='after.gif'" onmouseout="this.src='before.gif'">
And it helps to have the image preloaded
07-09-2003, 02:20 PM
Good one ahosang. I should have thought of that.
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.