脚本说明:
把如下代码加入<body>区域中
<script Language="javascript">
function a(x,y,color)
{document.write("<img src='px.gif' width=1 height=1 style="cursor: pointer" alt="点此在新窗口浏览图片 学赛网" onmousewheel="return bbimg(this)" onload="javascript:resizepic(this)" onclick="javascript:window.open(this.src);" border="0"/>")}
</script>
<script>
for(t=1;t<=360;t++){
lo=200 * Math.sin(2 * (Math.PI / 180) * t);
x = lo * Math.cos((Math.PI / 180) * t);
y = lo * Math.sin((Math.PI / 180) * t);
a(x,y,"#000000");
lo=200 * Math.cos(2 * (Math.PI / 180) * t);
x = lo * Math.cos((Math.PI / 180) * t);
y = lo * Math.sin((Math.PI / 180) * t);
a(x,y,"#ff0000");
}
</script>
第
页
责任编辑:qwer19871212