Rollující odkaz

 

Do sekce <BODY> umístěte:

<STYLE>A {
TEXT-DECORATION: none
}
</STYLE>

<SCRIPT language=JavaScript>
<!--
var a,b,go,word;
function greenlight(word){
a=" Rollující odkaz";
word.style.color="red";
linkSwitch();
}//end of greenlight()
function linkSwitch(){
clearTimeout(go);
b=a;
a=a.substring(1,100)+a.charAt(0);
esh.innerText=a;
go=setTimeout("linkSwitch()",100);
}//end of linkSwitch()
function stp(word){
clearTimeout(go);
esh.innerText=" Rollující odkaz";
word.style.color="blue";
}//end of stp()
//-->
</SCRIPT>
</HEAD>

<CENTER>
<A onmouseover=greenlight(this) onmouseout=stp(this)
href="http://javascript.programator.cz" ;><SPAN id=esh>Rollující odkaz</SPAN></A> </CENTER>