01.借鉴:网页JS弹出广告代码,头部,右下角,网页中漂浮,对联广告代码等大全 02.网页头部弹出广告: 03.<!--首页头部广告--> 04.<script src="/inc1/top_ad.js" type="text/javascript" language="javascript"></script> 05.<script type="text/javascript"> 06.if(!ads){ 07.var ads=new adManager('ads'); 08.} 09.ads.addAd(0,0,1002,375,'<img src="/buyiboke/buyiwenzhang/admin/editubb/UploadFile/621175828127.jpg"" />','top','float'); 10.</script> 11.<!--首页头部广告 end--> 12.网页飘浮广告(可多个飘浮): 13.<script src="/inc/flyad2.js"></script> 14.<div id="gg1"> 15.<a href="/inc1/jftishi.html"><img src="/buyiboke/buyiwenzhang/admin/editubb/UploadFile/621175828450.jpg"" border="0"></a> 16.<div style="position:absolute; left:0; font-size:12px;"> 17.<a href="javascript:void(0);" target="_self" onClick="close_gg(1);" style="color:#fff;">关闭</a> 18.</div> 19.</div> 20.<script type="text/javascript"> 21.<!-- 22.var ad1=new AdMove("gg1"); 23.ad1.Run(); 24.//var ad2=new AdMove("gg2"); 25.//ad2.Run(); 26.//var ad3=new AdMove("gg3"); 27.//ad3.Run(); 28.//--> 29.</script> 30.右下角广告: 31.<!--右下角广告--> 32.<div style="position:absolute;right:0; width: 250px; height:215px; text-align:right; font-size:14px; line-height:22px; color:#000;" id="rb_ad"> 33.<a href="javascript:close_rbad();" target="_self">关闭</a><br /> 34.<img src="/buyiboke/buyiwenzhang/admin/editubb/UploadFile/621175829882.jpg"" border="0"></div> 35.<script language="JavaScript" type="text/javascript"> 36.function rightBottomAd(){ 37.var abc = document.getElementById("rb_ad"); 38.abc.style.top = document.documentElement.scrollTop+document.documentElement.clientHeight-215+"px"; 39.setTimeout(function(){rightBottomAd();},50); 40.} 41.rightBottomAd(); 42.function close_rbad(){ 43.document.getElementById("rb_ad").style.display="none"; 44.} 45.</script> 46.<!--右下角广告 end--> 47.对联广告: 48.<div id="coupleBannerAdv" style="z-index: 10; position: absolute; width:100px;left:10px;top:10px;display:none"> 49.<div style="position: absolute; left: 6px; top: 6px;"> 50.<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" adcodebase="/pub/shockwave/cabs/flash/swflash.cab#version=9,0,45,0" width="102px" height="262px"><param name="movie" value="/bdall/ads/couplet/index_couplet_cmcc_hmgj.swf" /><param name="quality" value="high" /><embed src="/bdall/ads/couplet/index_couplet_cmcc_hmgj.swf" quality="high" pluginspage="/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="102px" height="262px"></embed></object><br /> 51.<img src="/buyiboke/buyiwenzhang/admin/editubb/UploadFile/621175829845.gif"" onMouseOver="this.style.cursor='hand'" onClick="closeBanner('coupleBannerAdv');"> 52.</div> 53.<div style="position: absolute; right: 6px; top: 6px;"> 54.<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" adcodebase="/pub/shockwave/cabs/flash/swflash.cab#version=9,0,45,0" width="102px" height="262px"><param name="movie" value="/bdall/ads/couplet/index_couplet_cmcc_hmgj.swf" /><param name="quality" value="high" /><embed src="/bdall/ads/couplet/index_couplet_cmcc_hmgj.swf" quality="high" pluginspage="/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="102px" height="262px"></embed></object><br /> 55.<img src="/buyiboke/buyiwenzhang/admin/editubb/UploadFile/621175829845.gif"" onMouseOver="this.style.cursor='hand'" onClick="closeBanner('coupleBannerAdv');"> 56.</div> 57.</div> 58.<script type="text/javascript" src="/include/js/floatadv.js"></script> 59.<script type="text/javascript"> 60.lsfloatdiv('coupleBannerAdv', 0, 0, '', 0).floatIt(); 61.</script>
如果觉得《网页JS弹出广告代码 头部 右下角 网页中漂浮 对联广告代码等大全》对你有帮助,请点赞、收藏,并留下你的观点哦!