改变状态栏文字的js代码
<!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<htmlxmlns="http://www.w3.org/1999/xhtml">
<head>
<metahttp-equiv="Content-Type"content="text/html;charset=utf-8"/>
<title>无标题文档</title>
<scriptlanguage="javascript">
words1="欢迎光临";
now=newDate()
words2=now.toLocaleString();
flag=0;
functionflash()
{
if(flag==0)
{
window.status=words1;
flag=1;
}
else
{
window.status=words2;
flag=0;
}
setTimeout("flash()",2000);
}
</script>
</head>
<bodyonload="flash()">
网页内容
</body>
</html>
热门推荐
10 51祝福语毕业文案简短
11 白日庆典祝福语简短英语
12 钢琴人祝福语女生简短
13 看病贺卡祝福语简短英文
14 考生大学后祝福语简短
15 同事调离的祝福语简短
16 新年过后奋斗祝福语简短
17 除夕对同学简短祝福语
18 关于老师蛋糕祝福语简短