框架页面带滚动条
作者:cmscn 日期:2009-09-15
<SCRIPT language=JavaScript>
function scroll(n)
{
var Out1=document.getElementById("Out1");
temp=n;
Out1.scrollTop=Out1.scrollTop+temp;
if (temp==0) return;
setTimeout("scroll(temp)",80);
}
</SCRIPT>
<DIV class=gray12 id=Out1
style="OVERFLOW: auto; WIDTH: 268px; HEIGHT: 400px; TEXT-ALIGN: left">
内容
</div>
评论: 0 | 引用: 0 | 查看次数: 763
发表评论