要一段网页对联旗帜的代码

来源:百度知道 编辑:UC知道 时间:2024/09/21 14:52:04
我想加在动易2006里,谁能告诉我怎么设这段标签!

注明加在哪里,要经典的,最好可以关闭的。

好的话加分1

把以下文字存成js文件,比如ad.js。然后替换代码中的SWF地址。
<!--对联代码开始lulu163.com-->
var delta=0.015;
var collection;
var closeB=false;
function floaters() {
this.items = [];
this.addItem = function(id,x,y,content)
{
document.write('<DIV id='+id+' style="Z-INDEX: 10; POSITION: absolute; width:80px; height:60px;left:'+(typeof(x)=='string'?eval(x):x)+';top:'+(typeof(y)=='string'?eval(y):y)+'">'+content+'</DIV>');

var newItem = {};
newItem.object = document.getElementById(id);
newItem.x = x;
newItem.y = y;

this.items[this.items.length] = newItem;
}
this.play = function()
{
collection = this.items
setInterval('play()',1);
}
}
function play()
{
if(screen.width<=800 || closeB)
{