闪烁的链接
<script language="JavaScript">
<!-- Begin
function initArray() {
for (var i = 0; i < initArray.arguments.length; i++) {
this = initArray.arguments;
}
this.length = initArray.arguments.length;
}
//以下为变幻时的颜色,你可以将其改变
var colors = new initArray(
"#000000","#0000FF","#80FFFF","#80FF80","#FFFF00","#FF8000","#FF00FF","#FF0000"
);
delay = 100
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);
}
linkDance();
// End -->
</script>
<p align="center"><a href="http://www.tftime.com" target="_blank">风信绮缘</a></p>
[此贴子已经被静夜思于2004-11-19 19:56:07编辑过]