MARQUEE TAG MOUSE MOVE REVERSE MOVE


< html >
< body onload ="document.all.test.direction ='right';" >
< style type ="text/css" >

.TxtName1
{
font-family :Arial , Arial Narrow , Tahoma ;
font-size:16px; font-weight:bold; color :Red ; font-style:italic;
background-color:Teal;
}
< /style >
< form id="form1" runat="server" >
< div >
< marquee id="test"
onmousemove="F2();"
onmouseout="F1();" >
Welcome
< /marquee >

< script >
function F1()
{
document.all.test.direction ="right";
document.all.test.className='TxtName1';
}

function F2()
{
document.all.test.direction ="left";
document.all.test.className='TxtName1';
}
< /script >

< /div >
< /form >
< /body >
< /html >


Comments

No responses found. Be the first to comment...


  • Do not include your name, "with regards" etc in the comment. Write detailed comment, relevant to the topic.
  • No HTML formatting and links to other web sites are allowed.
  • This is a strictly moderated site. Absolutely no spam allowed.
  • Name:
    Email: