你有新的消息,請注意查收,一款動態標題滾動的代碼。
<script language="JavaScript">
step=0
function flash_title()
{
step++
if (step==3) {step=1}
if (step==1) {document.title='您有新短消息 www.xx8g.com'}
if (step==2) {document.title='請留意查收 !百度一下:小高教學網'}
setTimeout("flash_title()",800);
}
flash_title()
</script>