最简单的改法是把message改掉:message[0]="<a href='http://www.sohu.com' onmousedown='javascript:window.open(this.href);' target=_blank>www.sohu.com</a>"message[1]="<a href='http://www.tom.com' onmousedown='javascript:window.open(this.href);' target=_blank>www.tom.com</a>"
<html>
<head>
<TITLE>特效</TITLE>
</head>
<script language=javaScript>
<!-- //
var message = new Array()
message[0]="<a href='www.sohu.com' target=_blank>www.sohu.com</a>"
message[1]="<a href='www.tom.com' target=_blank>www.tom.com</a>"
message[2]="大家好"
message[3]="欢迎参观我的主页"
i_message=0
var i_strength=0
var i_message=0
var timer
function playMessage(){
if(i_message>=message.length)i_message=0;
glowdiv.innerHTML=message[i_message]
i_message++;
timer=setTimeout("playMessage()",3000)
}
//-->
</script>
<body onLoad="playMessage()" topmargin="">
<div id="glowdiv" style="position:absolute;visibility:visible;"></div>
</body>
</html>