急求网页2侧对联式广告代码(要能随垂直滚动条移动)!要确实能用的

来源:百度知道 编辑:UC知道 时间:2024/09/18 05:44:39
类似于
http://www.blueidea.com/articleimg/2006/03/3319/02/index.htm
这个样子的.

上端文字改为"网上报名,现在开始了"
"关闭广告"改为"关闭"
"广告是为了发展"去掉
需要左右册均可以使用,且可以更换不同的图片.点击后可超链自定义网址.
我的网站框架是类似于http://www.91f.net/这种的.也就是左右两边有空白处的,要求对联出现于左右空白处.

如果不管用,就不要你的分.

<script language=JavaScript>
var delta=0.8;
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()',30);
}
}
function play()
{
if(screen.width<=800 || closeB)
{