文字不停闪烁
脚本说明:
第一步:把如下代码加入<head>区域中
<script language="">
<!--
var yourwords = "欢迎光临javascript世界!!!";
var speed = 700;
var control = 1;
function flash()
{
if (control == 1)
{
window.status=yourwords;
control=0;
}
else
{
window.status="";
control=1;
}
setTimeout("flash()",speed);
}
// -->
</script>
第二步:把如下代码加入<body>区域中
<body bgcolor="#fef4d9" onLoad="flash()">