横幅

<SCRIPT>
function closediv(id)
{
obj=document.getElementById(id);
obj.style.display="none";
}
</SCRIPT>
<DIV id=left111
style="BORDER-RIGHT: #000 1px solid; BORDER-TOP: #000 1px solid; Z-INDEX: 1; BACKGROUND: #fff; LEFT: 6px; VISIBILITY: visible; BORDER-LEFT: #000 1px solid; WIDTH: 100px; BORDER-BOTTOM: #000 1px solid; POSITION: absolute; TOP: 70px; TEXT-ALIGN: center"><A
href="http://www.87188718.com/ztbd.jsp" target=_blank><IMG height=300
src="http://www.nbsme.gov.cn/publishfile/zuo.gif" width=100 border=0></A><center><A class=txt2
onclick="closediv('left111');" href="javascript:;">关 闭</A></center></DIV>
<SCRIPT>
function runleft1()
{
obj=document.getElementById("left111")
obj.style.top=document.documentElement.scrollTop+100
}
setInterval('runleft1()',30);
</SCRIPT>

<DIV id=right111
style="BORDER-RIGHT: #000 1px solid; BORDER-TOP: #000 1px solid; Z-INDEX: 1; RIGHT: 6px; BACKGROUND: #fff; VISIBILITY: visible; BORDER-LEFT: #000 1px solid; WIDTH: 100px; BORDER-BOTTOM: #000 1px solid; POSITION: absolute; TOP: 70px; TEXT-ALIGN: center"><A
href="http://www.87188718.com/ztbd.jsp" target=_blank><IMG
height=300 src="http://www.nbsme.gov.cn/publishfile/zuo.gif" width=100 border=0></A><center><A
class=txt2 onClick="closediv('right111');" href="javascript:;">关 闭</A></center></DIV>
<SCRIPT>
function runright1()
{
obj=document.getElementById("right111")
obj.style.top=document.documentElement.scrollTop+100
}
setInterval('runright1()',30);
</SCRIPT>

你可能感兴趣的:(JavaScript,Class,border)