Ссылка
мигает при наведении.
<SCRIPT>
<!--
col = new Array()
col[0]="000000"
col[1]="111111"
col[2]="222222"
col[3]="333333"
col[4]="444444"
col[5]="555555"
col[6]="666666"
col[7]="777777"
col[8]="888888"
col[9]="999999"
col[10]="AAAAAA"
col[11]="BBBBBB"
col[12]="CCCCCC"
col[13]="DDDDDD"
col[14]="EEEEEE"
col[15]="FFFFFF"
col[16]="FFFFFF"
col[17]="DDDDDD"
col[18]="CCCCCC"
col[19]="BBBBBB"
col[20]="AAAAAA"
col[21]="999999"
col[22]="888888"
col[23]="777777"
col[24]="666666"
col[25]="555555"
col[26]="444444"
col[27]="333333"
col[28]="222222"
col[29]="111111"
col[30]="000000"
i_col=0
doani=1
var timer
var thislink
function animatelink() {
if (document.all) {
if (doani==1) {
if (i_col<=col.length-1) {
thislink.color=col[i_col]
i_col++
timer=setTimeout("animatelink()",50)
}
else {
i_col=0
timer=setTimeout("animatelink()",50)
}
}
else {
clearTimeout(timer)
}
}
}
function stopanimation() {
clearTimeout(timer)
thislink.color="000000"
doani=0
}
function startanimation(mylink) {
clearTimeout(timer)
thislink=eval("document.all."+mylink+".style")
doani=1
animatelink()
}
// - End of JavaScript - -->
</SCRIPT>
<STYLE type=text/css>A { COLOR: #000000; FONT-FAMILY: Arial,Helvetica,sans-serif;
TEXT-DECORATION: underline}
</STYLE>
</HEAD>
<BODY bgColor=#ffffff id=thisbody>
<DIV id=mainbody style="COLOR: #000000; FONT-FAMILY: Arial;
FONT-SIZE: 14pt; FONT-WEIGHT: bold; LEFT: 50px; POSITION: absolute;
TOP: 50px; WIDTH: 450px">
<A href="http://" id=link1 onmouseout=stopanimation() onmouseover="startanimation('link1')"
target=_blank>ВАША ССЫЛКА#1</A><br>
<A href="http://" id=link2 onmouseout=stopanimation() onmouseover="startanimation('link2')"
target=_blank>ВАША ССЫЛКА#2</A><br>
<A href="http://" id=link3 onmouseout=stopanimation() onmouseover="startanimation('link3')"
target=_blank>ВАША ССЫЛКА#3</A><br>
</DIV>
НАВЕРХ.
|