118、闪烁的文字链接

118、闪烁的文字链接

脚本说明:

把如下代码加入<body>区域中:

<font color="#000000"><a href="http://www.7stk.com" target="_blank" id=flashit>欢迎光临网页特效代码</a>

<script language=JavaScript1.2>

<!--

if (document.all&&document.all.flashit){

 

var flashelement=document.all.flashit

if (flashelement.length==null)

flashelement[0]=document.all.flashit

 

function changecolor(which){

if (flashelement[which].style.color=='')

flashelement[which].style.color="red"

else

flashelement[which].style.color=""

}

if (flashelement.length==null)

setInterval("changecolor(0)",1000)

else

for (i=0;i<flashelement.length;i++){

var tempvariable='setInterval("changecolor('+i+')",'+'1000)'

eval(tempvariable)

}

 

}

-->

</script>

 

 

Write a comment

Comments: 0