<SCRIPT language=JavaScript>
var LeftClosebuttonHtml = '<div align="right" style="position: absolute;bottom:0px;left:0px;margin:2px;padding:2px;z-index:2000;"><a href="javascript:;" onclick="LeftHidead()" style="color:#000000;text-decoration:none;font-size:12px;">关闭</a></div>'
var RigthClosebuttonHtml = '<div align="right" style="position: absolute;bottom:0px;right:0px;margin:2px;padding:2px;z-index:2000;"><a href="javascript:;" onclick="RightHidead()" style="color:#000000;text-decoration:none;font-size:12px;">关闭</a></div>'
lastScrollY=0;
function heartBeat(){
diffY=document.body.scrollTop;
percent=.1*(diffY-lastScrollY);
if(percent>0)percent=Math.ceil(percent);
else percent=Math.floor(percent);
document.all.LeftDiv.style.pixelTop+=percent;
document.all.RightDiv.style.pixelTop+=percent;
lastScrollY=lastScrollY+percent;
}
suspendcode12="<DIV id=LeftDiv style='left:10px;POSITION:absolute;TOP:130px;'><A HREF='http://www.diyikeji.com/' target=_blank Title='第一科技-数字电视一拖三111'><img src='images/guanggao.gif' border=0 width='85' height='380'></A>"+LeftClosebuttonHtml+"</div>"
document.write(suspendcode12);
suspendcode14="<DIV id=RightDiv style='right:10px;POSITION:absolute;TOP:130px;'><A HREF='http://www.diyikeji.com/' target=_blank Title='第一科技-数字电视一拖三'><img src='images/guanggao.gif' border=0 width='85' height='385'></A>"+RigthClosebuttonHtml+"</div>"
document.write(suspendcode14);
window.setInterval("heartBeat()",1);
function LeftHidead()
{
document.getElementById("LeftDiv").style.display="none";
}
function RightHidead()
{
document.getElementById("RightDiv").style.display="none";
}
</SCRIPT>
本Blog纯属个人学习、工作需要,记录相关资料。请不要发表任何有人身攻击的言论,谢谢! www.zhipsoft.cn
posted on 2007-01-19 16:36
ZhipSoft 阅读(195)
评论(0) 编辑 收藏