分享
 
 
 

页面的左右下脚始终固定不动的图片广告代码

王朝other·作者佚名  2006-11-24
窄屏简体版  字體: |||超大  

有什么问题请到<a href='/bbs/forums.php?fid=21'>论坛</a>中发表<br>

<!-- http://www.webjx.com/js -->

<!-- bbs http://www.webjx.com/bbs-->

<script language="Javascript">

var ADM_DIV="ADAREA",ADM_LOADED=false,ADM_O1,ADM_O2,AD,ADM_Ver="1.0",ADM_S=new Array(),ADM_RESIZE=new Array(),ADM_F="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0";var ADM_CE=document.all?1:(document.getElementById?0:-1);document.write("<div id='"+ADM_DIV+"'></div>");function InitSchedule(){ADM_S.sort(ADM_sort);for(iAI=0;iAI<ADM_S.length;iAI++)ADM_S[iAI].i=iAI;}function ADM_sort(a,b){return(a.p>b.p)?1:((a.p==b.p)?0:-1);}function ADM_Start(o){if(eval("typeof("+o.t+"_main)")=="function") eval(o.t+"_main(o)");}function DoSchedule(){var p=-1;for(dAI=0;dAI<ADM_S.length;dAI++){switch(ADM_S[dAI].s){case 0:if(p==-1)p=ADM_S[dAI].p;if(p==ADM_S[dAI].p){ADM_S[dAI].s=1;ADM_Start(ADM_S[dAI]);break;}case 1:setTimeout("DoSchedule()",300);return;default :}}}if(ADM_CE>-1){window.onload=function ADM_PUSH(){if(!ADM_LOADED){ADM_LOADED=true;InitSchedule();DoSchedule();}}

window.onresize=function(){for(oAI=0;oAI<ADM_RESIZE.length;oAI++)eval(ADM_RESIZE[oAI]);}}function WriteAd(id,s){var o0=document.getElementById(id);if(o0==null){o0=document.createElement("div");o0.id=id;if(ADM_CE==1)document.getElementById(ADM_DIV).insertAdjacentElement("beforeBegin",o0);else document.getElementById(ADM_DIV).insertBefore(o0,null);}o0.innerHTML=s;}function AddSchedule(oo){if(oo!=null && oo instanceof ADM)ADM_S[ADM_S.length]=oo;}function ADM(t,p){this.t=t;this.p=p;this.s=0;this.i=0;this.style="position:absolute;";}function ADM_Check(o){return o.CookieHour && ADM_CheckCookie(o.t+o.p+location.host.substring(0,location.host.indexOf(".")),o);}function ADM_CheckCookie(E,o){var Now=new Date();var s=String(Now.getYear())+String(Now.getMonth()+1)+String(Now.getDate());if(ADM_GetCookie(E)==s)return true;else{Now.setTime(Now.getTime()+(parseFloat(typeof(o.CookieHour)=="undefined"?24:parseFloat(o.CookieHour))*60*60*1000));ADM_SetCookie(E,s,Now);return false;}}function ADM_GetCookie(n){var args=n+"=";var aLength=args.length,cLength=document.cookie.length,AAi=0;while(AAi<cLength){var AAj=AAi+aLength;if(document.cookie.substring(AAi, AAj)==args)return ADM_GetCookieVal(AAj);AAi=document.cookie.indexOf(" ", AAi)+1;if(AAi==0)break;}return null;}function ADM_GetCookieVal(offset){var endstr=document.cookie.indexOf(";", offset);if(endstr==-1)endstr=document.cookie.length;return unescape(document.cookie.substring(offset, endstr));}function ADM_SetCookie(name, value){var argv=ADM_SetCookie.arguments;var argc=ADM_SetCookie.arguments.length;var expires=(argc>2)?argv[2]:null;var path=(argc>3)?argv[3]:null;var domain=(argc>4)?argv[4]:null;var secure=(argc>5)?argv[5]:false;document.cookie=name+"="+escape(value)+((expires==null)?"":("; expires="+expires.toGMTString()))+((path==null)?"":("; path="+path))+((domain==null)?"":("; domain="+domain))+((secure==true)?"; secure":"");}function ADM_Media(a,w,h,o,id,href){var s="";if(a.indexOf(".swf")!=-1){if(ADM_CE==1){s="<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='"+ADM_F +"' id='"+((id==null)?o.t:id)+"' width='"+w+"' height='"+h+"' ";if(o.style)s+=" style='"+o.style+"'";if(o.extfunc)s+=" "+o.extfunc+" ";s+=" ><param name='movie' value='"+a+"'>";if(o.play)s+="<param name='play' value='"+o.play+"'>";if(o.wmode&&o.wmode!="")s+="<param name='wmode' value='"+o.wmode+"'>";if(typeof(o.loop)!="undefined")s+="<param name='loop' value='"+o.loop+"'>";s+="<param name='quality' value='autohigh'></object>";}else{s="<embed ";if(o.style)s+=" style='"+o.style+"'";if(o.extfunc)s+=" "+o.extfunc+" ";s+=" src='"+a+"'"+" quality='autohigh' id='"+((id==null)?o.t:id)+"' name='"+((id==null)?o.t:id)+"' width='"+w+"' height='"+h+"' ";if(o.wmode&&o.wmode!="")s+=" wmode='"+o.wmode+"' ";if(typeof(o.loop)!="undefined")s+=" loop='"+o.loop+"' ";s+="type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash'></embed>";}}else if(a.indexOf(".gif")!=-1||a.indexOf(".jpg")!=-1){s="<a href='"+((href==null)?o.href:href)+"' target='_blank'><img ";if(o.style)s+=" style='"+o.style+"'";if(o.extfunc)s+=" "+o.extfunc+" ";s+=" id='"+((id==null)?o.t:id)+"' src='"+a+"' border='0' width='"+w+"' height='"+h+"'></a>";}return s;}function ADM_FSCommand(o,id){var s="";if(ADM_CE==1){s="<Script language='Javascript' for='"+((id==null)?o.t:id)+"' event='FSCommand(command,args)'>\n" +""+((id==null)?o.t:id)+"_DoFSCommand(command,args);\n" +"<\/Script>\n";}return s;}function ADM_Close(o,n){ADM_S[o].s=2;var OBJ=document.getElementById(n);if(OBJ)OBJ.style.display="none";}function FULL_main(o){if(ADM_Check(o)){o.s=2;return;}var IS_Find=false;if(o.StartTime.length==o.EndTime.length && o.EndTime.length==o.src.length && o.src.length==o.href.length){for(FAi=0;FAi<o.src.length;FAi++){var ST=new Date(o.StartTime[FAi]);var ET=new Date(o.EndTime[FAi]);var NT=new Date();if((ST<=ET)&&(NT<ET)&&(NT>=ST)){var OBJ=document.getElementById("fullscreenad");if(OBJ!=null){self.scroll(0,0);OBJ.style.display="block";o.style="";OBJ.innerHTML=ADM_Media(o.src[FAi],760,480,o,"",o.href[FAi]);IS_Find=true;setTimeout("ADM_Close("+o.i+",'fullscreenad')",isNaN(parseInt(o.timeout))?7000:parseInt(o.timeout));return;}else{o.s=2;return;}}}if(!IS_Find)ADM_Close(o.i,"fullscreenad");}}function POP_STRUCT(o){o.s=2;var WN=(o.name)?o.name:"";var Wi=(o.superad)?(screen.width-9):(parseInt((o.width)?o.width:350)-4);var Wh=(o.superad)?(screen.height-56):(parseInt((o.height)?o.height:250)-4);var Wl=(o.t=="POPUP")?((o.left)?o.left:0):(screen.width+10);var Wt=(o.t=="POPUP")?((o.top)?o.top:0):(screen.height+10);return window.open("about:blank","","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,width="+Wi+",height="+Wh+",top="+Wt+",left="+Wl);}function POP_WINDOW(o){var SK="<html><head><meta http-equiv='content-type' content='text/html; charset=gb2312'><title>";SK+=(o.title)?o.title:((o.superad)?("SOHU.com 背投广告"):("SOHU.com "+o.t+" Ad"));SK+="</title>";SK+="\n<Script language='Javascript'>\n";if(o.t=="POPUP"){SK+="function Load(){\n";if(ADM_CE==1)SK+="setTimeout('blur();',";else SK+="setTimeout('self.opener.focus()',";SK+=isNaN(parseInt(o.timeout))?7000:o.timeout;SK+=");\n}\n";}SK+="<\/Script>";SK+="</head><body scroll=no style='margin:0;border:none'>";SK+="<iframe id='iFrame' ";if(o.t=="POPUP")SK+=" onload='Load()' ";SK+=" marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling=no width=100% height=100% src='"+o.src+"'>wait</iframe>";SK+="</body></html>";return SK;}function POPUP_main(o){if(ADM_Check(o)){o.s=2;return;}if(o.src&&o.src!=""){var OK=POP_STRUCT(o);if(OK)OK.document.write(POP_WINDOW(o));}}function POPUNDER_main(o){if(ADM_Check(o)){o.s=2;return;}if(o.src&&o.src!=""){var OK=POP_STRUCT(o);if(OK){if(ADM_CE==1)OK.blur();else OK.opener.focus();OK.moveTo(((o.left)?o.left:0),((o.top)?o.top:0));OK.document.write(POP_WINDOW(o));}}}function FLOAT_main(o){var HasBOOKTURN=false;for(CAI=0;CAI<ADM_S.length;CAI++){if(ADM_S[CAI].t=="BOOKTURN"){HasBOOKTURN=true;break;}}o.style+="z-index:10;";if(!o.leftHref)o.leftHref="";if(!o.rightHref)o.rightHref="";if(isNaN(parseInt(o.offsetX)))o.offsetX=30;if(screen.width<1024)o.offsetX+=100;if(isNaN(parseInt(o.offsetY)))o.offsetY=(HasBOOKTURN)?0:20;var s="";if(o.leftSrc && o.leftSrc!="")s+=ADM_Media(o.leftSrc,80,80,o,ADM_DIV+"left",o.leftHref);if(o.wmode2)o.wmode=o.wmode2;if(o.rightSrc && o.rightSrc!="")s+=ADM_Media(o.rightSrc,80,80,o,ADM_DIV+"right",o.rightHref);if(s!=""){WriteAd(ADM_DIV+"FLOAT",s);ADM_O1=document.getElementById(ADM_DIV+"left");ADM_O2=document.getElementById(ADM_DIV+"right");if(ADM_O1!=null||ADM_O2!=null){window.setInterval("FLOAT_position("+o.offsetX+","+(parseInt(o.offsetY)+80)+")",400);}}o.s=2;}function FLOAT_position(a,b){if(ADM_O1!=null){ADM_O1.style.top=parseInt(0.75*(parseInt(document.body.scrollTop)+parseInt(document.body.clientHeight)-b))+"pt";ADM_O1.style.left=parseInt(0.75*(parseInt(document.body.scrollLeft)+a))+"pt";}if(ADM_O2!=null){ADM_O2.style.top=parseInt(0.75*(parseInt(document.body.scrollTop)+parseInt(document.body.clientHeight)-b))+"pt";ADM_O2.style.left=parseInt(0.75*(parseInt(document.body.scrollLeft)+parseInt(document.body.clientWidth)-80-a))+"pt";}}function LIUMEITI_main(o){if(ADM_Check(o)){o.s=2;return;}if(!o.width)o.width=200;if(!o.height)o.height=150;if(!o.top)o.top="0";if(!o.left)o.left="-0";if(o.src&&o.src!=""){o.style+="top:"+(parseInt(document.body.scrollTop)+((String(o.top).indexOf("-")==-1)?parseInt(o.top):(parseInt(document.body.clientHeight)+parseInt(o.top)-o.height)));o.style+=";left:"+((String(o.left).indexOf("-")==-1)?parseInt(o.left):(parseInt(document.body.clientWidth)-o.width+parseInt(o.left)));ADM_RESIZE[ADM_RESIZE.length]="document.getElementById('"+ADM_DIV+"lmt').style.left=(('"+o.left+"'.indexOf('-')==-1)?"+o.left+":(parseInt(document.body.clientWidth)-"+(o.width+parseInt(o.left))+"))";WriteAd(ADM_DIV+"LIUMEITI",ADM_Media(o.src,o.width,o.height,o,ADM_DIV+"lmt"));if(o.eval&&o.eval!="")eval(o.eval);setTimeout("ADM_Close("+o.i+",'"+ADM_DIV+"lmt')",isNaN(parseInt(o.timeout))?7000:parseInt(o.timeout));}}function BOOKTURN_main(o){self.scroll(0,0);if(!o.top)o.top="0";if(!o.left)o.left="-0";if(!o.loop)o.loop=false;if(!o.loop2)o.loop2=true;if(!o.CookieHour)o.CookieHour=1;if(o.src&&o.srcButton){var show=(ADM_Check(o));o.style+="z-index:10000;";if(show)o.style+="visibility:hidden;";o.style+="top:"+(parseInt(document.body.scrollTop)+(String(o.top).indexOf("-")==-1)?parseInt(o.top):(pars

[1] [2] 下一页

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
2023年上半年GDP全球前十五强
 百态   2023-10-24
美众议院议长启动对拜登的弹劾调查
 百态   2023-09-13
上海、济南、武汉等多地出现不明坠落物
 探索   2023-09-06
印度或要将国名改为“巴拉特”
 百态   2023-09-06
男子为女友送行,买票不登机被捕
 百态   2023-08-20
手机地震预警功能怎么开?
 干货   2023-08-06
女子4年卖2套房花700多万做美容:不但没变美脸,面部还出现变形
 百态   2023-08-04
住户一楼被水淹 还冲来8头猪
 百态   2023-07-31
女子体内爬出大量瓜子状活虫
 百态   2023-07-25
地球连续35年收到神秘规律性信号,网友:不要回答!
 探索   2023-07-21
全球镓价格本周大涨27%
 探索   2023-07-09
钱都流向了那些不缺钱的人,苦都留给了能吃苦的人
 探索   2023-07-02
倩女手游刀客魅者强控制(强混乱强眩晕强睡眠)和对应控制抗性的关系
 百态   2020-08-20
美国5月9日最新疫情:美国确诊人数突破131万
 百态   2020-05-09
荷兰政府宣布将集体辞职
 干货   2020-04-30
倩女幽魂手游师徒任务情义春秋猜成语答案逍遥观:鹏程万里
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案神机营:射石饮羽
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案昆仑山:拔刀相助
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案天工阁:鬼斧神工
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案丝路古道:单枪匹马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:与虎谋皮
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:李代桃僵
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:指鹿为马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:小鸟依人
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:千金买邻
 干货   2019-11-12
 
推荐阅读
 
 
 
>>返回首頁<<
 
靜靜地坐在廢墟上,四周的荒凉一望無際,忽然覺得,淒涼也很美
© 2005- 王朝網路 版權所有