Hi Folks,
I have a issue trying to change the cursor of area image map in run time, no static code, no id and no name.
the possibilities i have tried is
[CODE=javascript]document.getEle mentsByTagName( "area").style.c ursor=hand;
var cur=document.ge tElementsByTagN ame("area");
cur..style.curs or=hand;[/CODE]
not working
-----------------------------------------------------------------------------
[CODE=javascript]function winload()
{
var areatg=document .getElementsByT agName("AREA");
for(k=0;k<areat g.length;k++)
{
areatg[k].setAttribute(" href","#");
}
}
window.onload=w inload;[/CODE]
this is working only one time onload only.
tried with setTimeout, setInterval onmouseover.
not working
-------------------------------------------------------------
Please send me your valuable useful suggestions As soon as possible
Cheers,
Dinesh
I have a issue trying to change the cursor of area image map in run time, no static code, no id and no name.
the possibilities i have tried is
[CODE=javascript]document.getEle mentsByTagName( "area").style.c ursor=hand;
var cur=document.ge tElementsByTagN ame("area");
cur..style.curs or=hand;[/CODE]
not working
-----------------------------------------------------------------------------
[CODE=javascript]function winload()
{
var areatg=document .getElementsByT agName("AREA");
for(k=0;k<areat g.length;k++)
{
areatg[k].setAttribute(" href","#");
}
}
window.onload=w inload;[/CODE]
this is working only one time onload only.
tried with setTimeout, setInterval onmouseover.
not working
-------------------------------------------------------------
Please send me your valuable useful suggestions As soon as possible
Cheers,
Dinesh
Comment