实现Title动态效果JS脚本
来源: 录入时间:07-06-09 21:43:04
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <title>无标题文档</title> <script language="JavaScript"> step=0 function flash_title() { step++ if (step==3) {step=1} if (step==1) {document.title='http://www.webjx.com'} if (step==2) {document.title='☆★☆网页教学网☆★☆'} setTimeout("flash_title()",1000); } flash_title() </script> </head> <body> 请注意标题栏的变化!!!!!!!!! </body> </html>
[Ctrl+A 全部选择 提示:你可先修改部分代码,再按运行]
上一篇文章: 下一篇文章: