注册时间2014-10-9
在线时间 小时
- 最后登录
- 1970-1-1
|
本帖最后由 菡萏 于 2014-12-2 11:29 编辑 <br /><br /><DIV style="background-color:#000000; POSITION: relative; MARGIN: 0px 0px -10px; WIDTH: 960px; TOP: -85px; LEFT: -183px" align=center>
<TABLE style="MARGIN: 0px 0px 60px; WIDTH: 960px;" border=0 cellSpacing=0 bgColor=#ffffff align=center><TBODY>
<TR><TD width=960 height=139 align=center borderColor=#cccccc background=http://img2.oldkids.cn/upload/260805000/u260802952/2014/12/02/photo_20141202103053499139.gif></TD></TR>
<TR><TD align=center width=960 height=126 borderColor=#cccccc background=http://img1.oldkids.cn/upload/260805000/u260802952/2014/12/02/photo_20141202103054143433.gif>
<div style="text-align:left; WIDTH: 858px;MARGIN: 1px 0px 0px; overflow: hidden" align=center>
<embed src="http://img4.oldkids.cn/upload/260805000/u260802952/2014/11/30/blog_20141130215218976670.swf" type="application/x-shockwave-flash" width="860" height="626" quality="high" /></div>
</TD></TR>
<TR><TD width=960 height=83 borderColor=#cccccc background=http://img3.oldkids.cn/upload/260805000/u260802952/2014/12/02/photo_20141202103054606172.gif></TD></TR></TBODY></TABLE></div>
<DIV style="POSITION: absolute" id=ad><IMG src="http://img4.oldkids.cn/upload/260805000/u260802952/2014/09/13/photo_20140913215231701412.gif" width=390 height=60>
<DIV style="COLOR: #990000; FONT-SIZE: 14pt; CURSOR: hand" onclick=hidead(); align=center><B>您现在欣赏的是《广西巴马人的百岁之迷》</B></DIV></DIV>
<SCRIPT>
var x = 50,y = 60
var xin = true, yin = true
var step = 2
var delay = 1
var obj=document.getElementById("ad")
function floatAD()
{
var L=1
var T=50
var R= document.body.clientWidth-obj.offsetWidth
var B = document.body.clientHeight-obj.offsetHeight-800
obj.style.left = x + document.body.scrollLeft
obj.style.top = y + document.body.scrollTop
x = x + step*(xin?1:-1)
if (x < L) { xin = true; x = L}
if (x > R){ xin = false; x = R}
y = y + step*(yin?1:-1)
if (y < T) { yin = true; y = T }
if (y > B) { yin = false; y = B }
}
var itl= setInterval("floatAD()", delay)
obj.onmouseover=function(){clearInterval(itl)}
obj.onmouseout=function(){itl=setInterval("floatAD()", delay)}
</SCRIPT>
|
|