我爱Aspx >> Asp.Net >> JS类:实现对联式广告this.show=function()
{
if(this.status)
this.object.style.display="block";
else
this.object.style.display="none";
}
}
function FloaterCollection(controlId)
{
//class floaterCollection,muitil floater object
this.items=[];
this.control=document.getElementById(controlId);
this.control.onclick=switchFloater;
this.control.FloaterCollectionObj=this;
this.addItem=function(obj)
{
var strHtml;
strHtml="<div id='"+obj.id+"' style='text-align:left;z-index:10;position:absolute;width:"+obj.width+"px;height:"+obj.height+"px;left:"+(typeof(obj.x)=="string"?eval(obj.x):obj.x)+";top:"+(typeof(obj.y)=="string"?eval(obj.y):obj.y)+"'><table";
if(obj.hasTitle)
{
strHtml+=" border=1 "
}
else
{
strHtml+=" border=0 style='border:1px solid #cccccc'"
Ҷƪл˵?
网页间非常规方法传递值的方法[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]