无标题文档
var timer
function scrolltop()
{
document.getElementById('scrollmenu').style.top=document.body.scrollTop
timer=setTimeout("scrolltop()",1)
}
function stoptimer()
{
clearTimeout(timer)
}
查看更多关于我做了一个置顶,为什么火狐打开就能用,其他浏览器就不能用。为什么这个置顶代码一旦申明文档类型就失效呢的详细内容...
声明:本文来自网络,不代表【好得很程序员自学网】立场,转载请注明出处:http://haodehen.cn/did102983