|
Hi all ,
Iam facing the problem with usemap, iwant to call the use map dynamically.
here is the code
document.images.trucksMainId.src = "includes/images/trucks/Truck"+currImage+"/forum/.gif";
document.images.trucksMainId.usemap = "Truck"+currImage+"/forum/.gif";
By setting this, usemap is called only once , iwant all the usemaps get excecuted
<img id="trucksMainId" usemap="/forum/index.html" border="0" name="trucksMainId" />
<map name="/forum/Truck01.gif">
<area shape="circle" coords="67,164,10" href="http://www.sf.com" alt="Engine">
<area shape="circle" coords="67,164,10" href="http://www.fsd.com" alt="Engine"> -->
</map>
<map name="/forum/Truck02.gif">
<area shape="circle" coords="67,164,10" href="http://www.sf.com" alt="Engine">
<area shape="circle" coords="67,164,10" href="http://www.fsd.com" alt="Engine"> -->
</map>
Thanks in advance..
Ravi
|
|
|
|
|
|
|
// |