two conflicting javascripts - preloader and dropdown
Hi Guys, I'm no javascript expert so forgive me if I'm being stupid here...
On a website I'm currently building I'm using rollover images (using the basic functionality from dreamweaver) and a CSS drop down menu from easymenu.co.uk and the two seem to conflict. BTW - I've cut the javascript for the rollover out of the page and replaced it with a link to an external .js script (don't know if this makes any difference).
If I leave it as it is the menu doesn't drop down. If I delete the <body preloader> bit the rollover and drop down menu both work but the swap images obviously won't be preloaded.
well. without seeing code. i cann't suggest anything. But there is one way to solve this problem. use CSS rollovers which is better than javascript rollovers. need code?
Thanks for your quick reply. Can you use CSS rollovers for image buttons or only for backgrounds for text links (like the top navigation on sitepoint)?
we can use CSS for both. just use display:none at first. then turn it on when mouse over link (image or text). I mean preloading swap image using display:none.
Last edited by rajimpress; Sep 29, 2006 at 09:33.
Reason: add content
Bookmarks