Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Disjointed Rollovers w/ Swapped image using Image Map

Status
Not open for further replies.

lahddah2

Programmer
May 31, 2005
9
Hi. I created a page w/ disjointed rollovers using JavaScript. When the user scrolls over the image nav on the left side of screen, the large image on the right side changes accordingly. However, I need the right side swapped images to use their own image maps. Meaning each swapped image will have it's own image map. Does anyone know how to do this? If this cannot be done in JS can it be done w/ DHTML or CSS?

Thanks in advance.
~l
 
Thanks, BRPS...I should've included a bit of code, sorry. I used Dreamweaver for the rollovers (would rather use CSS, if anyone knows of some good script that would accomplish what I want!) Here's the code for one of the rollover images:

<a href="(LeftNav button URL Link)" onMouseOver="MM_swapImage('Mn_Image','',' src=" alt="" name="groups" width="291" height="94" border="0" id="groups"></a>

I would like the 'imageThatWillSwapName.jpg' to - preferrably, use an image map - but at the very least, be able to link to a URL.

So - a user hovers over a Nav button on left, which, when clicked, will take the user to "LeftNav button URL Link". But, at the same time (on Hover), an image on the right hand side swaps out...when the user moves their mouse to that swapped image, I'd like them to be able to click on it and go to another URL.

Make sense?
~l
 
Okay - gave up on the JS for this functionality. Switched everything over to CSS and it seems to be working fine, image maps and all! NOW, I'm wondering if there's a way to put a 'swap' within a 'swap'. So image1 is being swapped out and image2 is taking it's place. Does anyone know how I can make it so that clicking on image2 will then make image2B take it's place? (Image2 has main information and image2B has 'sub' information on it)

Confusing.
~l
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top