我有多个飘浮广告要在页面上同时漂浮,有什么好办法? http://jkisjk.vip.sina.com/html/balls.htm 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <html><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><title>权当是念经</title></head><body bgcolor=black width=750 height=600><table width=700 height=450><tr><td align=center> <font color=blue size=+2>没事看看几个星星乱飞,就当是念经吧</font></td></tr><tr><td valign=top align=center><br> JK祝您快乐<br><br><br> <a href="#">很久以前写的代码,没有将边界定这窗口的边界,而是写死边界大小。</a></td></tr></table></body></html><script language=javascript>var i,ax=new Array(),ay=new Array(),bx=new Array(),by=new Array();for(i=0;i<9;i++){ document.write ("<font id='layer' color=ffffff style='position: absolute; left: -100px; top: -200px; width: 16; height: 18; z-index: -1'>*</font>"); ax[i]=680*Math.random()+1; ay[i]=430*Math.random()+1; bx[i]=(5+2*Math.random())*Math.sin(Math.random()*6.28); by[i]=(5+2*Math.random())*Math.cos(Math.random()*6.28);}function fly(){ for(i=0;i<9;i++) { ax[i]=ax[i]+bx[i]; ay[i]=ay[i]+by[i]; if (ax[i]>document.body.clientWidth-20||ax[i]<0) bx[i]=-bx[i]; if (ay[i]<0||ay[i]>document.body.clientHeight-20) by[i]=-by[i]; layer(i).style.left=ax[i]; layer(i).style.top=ay[i]; } setTimeout("fly();",20);}fly();</script> 大虾们,如何解决IE6下jquery的append方法不能兼容问题 求真相,紧急求救,这到底是神马东西 如何将i赋值给循环外的数组arr? 动态表单定制 输入内容不许存在html代码 Firefox下JS问题,style.display=none无效 在层layer1外点击后,图层消失怎么实现 有关正则表达式的初级问题 从无忧看到的正则代码,感觉挺好,贴一下(17种正则表达式) 一个在用ActiveX控件和window.open()函数遇到的问题 请问一个列表/菜单的问题~?如何取她显示的内容,也就是说 如果使用文本框的宽度随着输入内容的多少而调整大小?
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312"><title>权当是念经</title>
</head>
<body bgcolor=black width=750 height=600>
<table width=700 height=450>
<tr><td align=center> <font color=blue size=+2>没事看看几个星星乱飞,就当是念经吧</font></td></tr>
<tr><td valign=top align=center><br>
JK祝您快乐<br><br><br>
<a href="#">很久以前写的代码,没有将边界定这窗口的边界,而是写死边界大小。</a>
</td></tr>
</table>
</body>
</html>
<script language=javascript>
var i,
ax=new Array(),
ay=new Array(),
bx=new Array(),
by=new Array();
for(i=0;i<9;i++)
{
document.write ("<font id='layer' color=ffffff style='position: absolute; left: -100px; top: -200px; width: 16; height: 18; z-index: -1'>*</font>");
ax[i]=680*Math.random()+1;
ay[i]=430*Math.random()+1;
bx[i]=(5+2*Math.random())*Math.sin(Math.random()*6.28);
by[i]=(5+2*Math.random())*Math.cos(Math.random()*6.28);
}
function fly()
{
for(i=0;i<9;i++)
{
ax[i]=ax[i]+bx[i];
ay[i]=ay[i]+by[i];
if (ax[i]>document.body.clientWidth-20||ax[i]<0) bx[i]=-bx[i];
if (ay[i]<0||ay[i]>document.body.clientHeight-20) by[i]=-by[i];
layer(i).style.left=ax[i];
layer(i).style.top=ay[i];
}
setTimeout("fly();",20);
}
fly();
</script>