functions for the script tag in body
function prog1(objid)
{
var obj;
obj=window.document.getElementById(objid);
obj.style.backgroundColor="red";
obj.style.color="yellow";
}
function prog2(objid)
{
var obj;
obj=document.getElementById(objid);
obj.style.backgroundColor="yellow";
obj.style.color="red";
}
function blinktext()
{
if(p3.style.visibility=="visible")
{
p3.style.visibility="hidden";
}
else
{
p3.style.visibility="visible";
}
window.setTimeout("blinktext()",300);
}
call binktext function onload of body tag and in p tag use the following line
onmouseover="prog1('p1')" onmouseout="prog2('p1')"
--
Thanks and Regards
Meetu Choudhary
| < Prev | Next > |
|---|

Thanks Meetu, Its really a great and...
Good one
massive formating
Well described
Really nice but I do not like the for...