我爱Aspx >> Asp.Net >> JS类:实现对联式广告if(followObj.offsetLeft!=(document.body.scrollLeft+followObj_x))
{
var dx=(document.body.scrollLeft+followObj_x-followObj.offsetLeft)*delta;
dx=(dx>0?1:-1)*Math.ceil(Math.abs(dx));
followObj.style.left=followObj.offsetLeft+dx;
}
if(followObj.offsetTop!=(document.body.scrollTop+followObj_y))
{
var dy=(document.body.scrollTop+followObj_y-followObj.offsetTop)*delta;
dy=(dy>0?1:-1)*Math.ceil(Math.abs(dy));
followObj.style.top=followObj.offsetTop+dy;
}
}
}
function FloaterItem(id,x,y,width,height,title,content,hasTitle)
{
//class floater,for single floater object
this.id=id;
this.x=x;
this.y=y;
this.width=width;
this.height=height;
this.content=content;
this.title=title;
this.status=true;
this.hasTitle=hasTitle;
Ҷƪл˵?
网页间非常规方法传递值的方法[05-20]
利用WebClient和WebRequest类获得..[05-20]
通过ASP.NET远程杀死进程[05-20]
Asp.net中DataGrid控件的自定义分..[05-20]
使用ASP.NET中调用WebService时不..[05-20]
在系统菜单中添加自定义菜单项[05-20]
利用SOAP(Webservice)上传文件[05-20]
利用ASP.NET实现域名查询[05-20]
网页防刷新重复提交、防后退解决..[05-20]
IE经典故障大全[05-20]