Click to See Complete Forum and Search --> : rollover imagemap


jrthor2
11-14-2003, 09:37 AM
I have a website that has tabs at the top, and when you rollowver the tabs, it changes a bar below them to show what is in that section of the website. What I need to do is get it so that the bar that changes when you put your mouse over a tab actually used an imagemap with active links. below is the code I have for the tabs and rollover bars, how do I get this to use the imagemap for the bars?

<td width="437" valign="top" rowspan="2"><img src="/layout/head_graphics/bar00.gif" width="437" height="7" border="0"><a href="/index.php" onmouseover="MM_swapImage('subbar','','/layout/head_graphics/barhome2.gif',1)"><img src="/layout/head_graphics/buttonhome.gif" width="76" height="22" border="0"></a><a href="/pharmacy/index.php" onmouseover=
"MM_swapImage('subbar','','/layout/head_graphics/barpharmacy.gif',1)"><img src="/layout/head_graphics/buttonpharmacy.gif" width="83" height="22" border="0"></a><a href="/stores/index.php" onmouseover=
"MM_swapImage('subbar','','/layout/head_graphics/barstores.gif',1)"><img src="/layout/head_graphics/buttonstores.gif" width="119" height="22" border="0"></a><a href="/company_info/index.php" onmouseover=
"MM_swapImage('subbar','','/layout/head_graphics/barcompany.gif',1)"><img src="/layout/head_graphics/buttoncompany.gif" width="75" height="22" border="0"></a><a href="<?=log_and_redirect('http://www.drugstore.com/default.asp?aid=9225')?>" onmouseover="MM_swapImage('subbar','','/layout/head_graphics/bardrugstore.gif',1)"><img src="/layout/head_graphics/buttondrugstore.gif" width="84" height="22" border="0"></a>

starrwriter
11-14-2003, 11:02 PM
First, your posting is about a yard wide and stayed that way for this reply.

Second, you have an error in your javascript. It needs debugging.

Lastly, many people want image maps with rollovers, but very few are willing to do the enormous amount of graphics work and coding it requires.

jrthor2
11-16-2003, 09:16 AM
What errors are ther?? Sorry for the mile wide post. I'm not asking for someone to do graphics work or anything, I'm asking for help using this code, not write something new.