39、会变色的超级链接

39、会变色的超级链接

<!--|会变色的超级链接|23|此处为特效配置参数,删除或修改此行内容将导致特效运行不正常!删除或修改此行以下特效代码,当再次使用“有声有色”编辑特效时将会发生异常!-->

 

<head>

<meta http-equiv="Content-Language" content="zh-cn">

</head>

 

<SCRIPT LANGUAGE="JavaScript">

<!-- Begin

 function initArray() {

for (var i = 0; i < initArray.arguments.length; i++) {

this[i] = initArray.arguments[i];}

this.length = initArray.arguments.length;}

var colors = new initArray("#FF0000","#000000","#AFF1B1","#D5AAFF","#00F97C","#FF93FF","#7575FF","#FF8484");

delay = .8; link = 0;

vlink = 0;

function linkDance() {

link = (link+1)%colors.length;

vlink = (vlink+1)%colors.length;

document.linkColor = colors[link];

document.vlinkColor = colors[vlink];

setTimeout("linkDance()",delay*1000);}

linkDance();

// End -->

</SCRIPT>

 

Write a comment

Comments: 0