The SitePoint Forums have moved.

You can now find them here.
This forum is now closed to new posts, but you can browse existing content.
You can find out more information about the move and how to open a new account (if necessary) here.
If you get stuck you can get support by emailing forums@sitepoint.com

If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Cross-Browser Image Swap code

Hi everyone:

Ever since I first used NS6, it has been buggy as hell when dealing with JavaScript image swaps/mouseovers. - The Images seem to dissapear for a second and then re-appear - something to do with NS6 having another DOM I think.

Even the V4.01 'patch' for DW4 from Macromedia doesn't seem to work for me.

Does anyone know of any rock-solid JavaScript MouseOver code, that'll work at least on IE5+ and NS6+ ??

Are you sure your rollover script isn't getting screwed up by/conflicting with another script? I had an incident once that took me ages to figure out where a script I was using to scroll layers was getting screwed up *BY* a part of DWs image swap scripts. That's all I can think it might be.

SitePoint drunk simply involves lots of this ...

G

Ps -- Just tried it in Netscape 6 to make sure I'm not cracking up, and it works fine!