高手指教!一个动态显示的问题,

dsqdjw 2003-05-26 03:43:01
<html>
<head>
<title>看到这个从左向右移动的效果嘛?哈哈,不错吧!:)……</title>
<script language=javascript >
var text=document.title
var timerID
function newtext()
{
clearTimeout(timerID)
document.title=text.substring(1,text.length)+text.substring(0,1)
text=document.title.substring(0,text.length)
timerID = setTimeout("newtext()", 100)
}
</script>
</head>
<body onload="newtext()">
<h1 align="center"><font color="#800000"><br>
网页TITLE动起来!</font></h1>
<p align="center">看见浏览器上面的页面标题栏吗?</p>
</body>
</html>
----------------------------
当我把这个页面插入帧结构集时,怎样才能让这页面浏览器上面的动态页面标题栏,显示在帧结构集浏览器上面
...全文
139 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
dsqdjw 2003-05-27
  • 打赏
  • 举报
回复
: emu(ston) 请回复
dsqdjw 2003-05-27
  • 打赏
  • 举报
回复
UP
emu 2003-05-26
  • 打赏
  • 举报
回复
top.document.title

87,988

社区成员

发帖
与我相关
我的任务
社区描述
Web 开发 JavaScript
社区管理员
  • JavaScript
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧