View Full Version : HELP! image maps, link hovers, etc!


palmettopony
04-19-2006, 10:40 PM
Ok here's my problem... I'm trying to make a website for a school project, and on the home page, I wanted to have an image map with 5 links on it (which I've already set up) and as you hovered over each link, i wanted the background image to change. I've been unable to find a hover image code, script, etc that would make all 5 links in that ONE image map change the map to the second picture. ANY help would be appreciated X 200000000000000000.... this is due tomorrow and I'm freaking out!

lukejtharries
04-19-2006, 11:32 PM
Instead of using an image map, you could use lissa's image rollover script, but cut your image map up, and use tables to give the effect of an image map.

palmettopony
04-19-2006, 11:52 PM
By doing that, could I make the ENTIRE image change?

Illera
04-20-2006, 02:20 AM
If you create two images that include all five links, I think you should be able to use this code (http://www.dynamicdrive.com/dynamicindex15/domroll.htm) to get from one image to the other on hover. I know the usemap would be preserved on the second image too, but there are problems with it: (1) the images do flicker back and forth a bit when you slide over the links, and (2) if your mouse hovers anywhere over the original image, not just over the links, the image will switch.

Hope this helps, though.

(To the mods: I'm not sure if I should bring up scripts from other sites, so if I shouldn't, feel free to zap me.)