Billybonga
IS-IT--Management
I am designing a page where there is one image map of Europe with Business head quarters pin-pointed around it. I have set hotspot areas on the areas and want to show details of these locations opposite the picture of Europe when a person hovers over the Hotspot.
For example - when a customer hovers over the hotspot "Shannon - Ireland" another image will appear to the right of the map showing the Company Information.
I have tried to do a mouseover script but can't seem to get it to work - can anyone help.
'rollover' refers to a blank image roller.jpg (named roller) that is to the right of the Map of Europe - its this image that will change to another image - e.g. Shannon.jpg when the user hovers over the hotspot. The Map of Europe Shouldn't change
Below is the script for the Shannon Hover-over:
<map name="Europe" id="Europe">
<area shape="rect" coords="119,93,135,108" href="Shannon" alt="Shannon Ireland"
onmouseover="MM_swapImage('Europe','','images/locations.jpg','rollover','','images/rollovers/shannon.jpg',1)"
onmouseout=MM_swapImgRestore() >
<area shape="rect" coords="142,81,153,96" href="Edin-Scot" alt="Edinburgh - Scotland">
<area shape="rect" coords="197,40,218,56" href="#" alt="Sveg Sweden">
<area shape="rect" coords="196,72,207,86" href="ed-swed" alt="Ed. Sweden">
<area shape="rect" coords="252,171,269,187" href="#">
<area shape="rect" coords="140,133,163,145" href="france" alt="Elis - France">
<area shape="rect" coords="190,173,203,186" href="italy" alt="Florence Iraly">
<area shape="rect" coords="209,145,224,155" href="hungry" alt="Bud">
<area shape="rect" coords="170,134,187,146" href="#" alt="Esslingen - Germany ">
<area shape="rect" coords="162,108,174,119" href="Amsterdam" alt="Amsterdam">
<area shape="rect" coords="169,120,179,128" href="boc-germany" alt="Bochum - Germany">
<area shape="rect" coords="185,123,192,133" href="Aach-Germany">
<area shape="rect" coords="183,101,193,113" href="wilh-germany" alt="Wilh">
<area shape="rect" coords="196,105,207,116" href="#" alt="Pasewalk - Germany">
<area shape="rect" coords="181,113,195,122" href="#" alt="Hannover - Germany ">
</map>
For example - when a customer hovers over the hotspot "Shannon - Ireland" another image will appear to the right of the map showing the Company Information.
I have tried to do a mouseover script but can't seem to get it to work - can anyone help.
'rollover' refers to a blank image roller.jpg (named roller) that is to the right of the Map of Europe - its this image that will change to another image - e.g. Shannon.jpg when the user hovers over the hotspot. The Map of Europe Shouldn't change
Below is the script for the Shannon Hover-over:
<map name="Europe" id="Europe">
<area shape="rect" coords="119,93,135,108" href="Shannon" alt="Shannon Ireland"
onmouseover="MM_swapImage('Europe','','images/locations.jpg','rollover','','images/rollovers/shannon.jpg',1)"
onmouseout=MM_swapImgRestore() >
<area shape="rect" coords="142,81,153,96" href="Edin-Scot" alt="Edinburgh - Scotland">
<area shape="rect" coords="197,40,218,56" href="#" alt="Sveg Sweden">
<area shape="rect" coords="196,72,207,86" href="ed-swed" alt="Ed. Sweden">
<area shape="rect" coords="252,171,269,187" href="#">
<area shape="rect" coords="140,133,163,145" href="france" alt="Elis - France">
<area shape="rect" coords="190,173,203,186" href="italy" alt="Florence Iraly">
<area shape="rect" coords="209,145,224,155" href="hungry" alt="Bud">
<area shape="rect" coords="170,134,187,146" href="#" alt="Esslingen - Germany ">
<area shape="rect" coords="162,108,174,119" href="Amsterdam" alt="Amsterdam">
<area shape="rect" coords="169,120,179,128" href="boc-germany" alt="Bochum - Germany">
<area shape="rect" coords="185,123,192,133" href="Aach-Germany">
<area shape="rect" coords="183,101,193,113" href="wilh-germany" alt="Wilh">
<area shape="rect" coords="196,105,207,116" href="#" alt="Pasewalk - Germany">
<area shape="rect" coords="181,113,195,122" href="#" alt="Hannover - Germany ">
</map>