网页JS弹出广告代码,头部,右下角,网页中漂浮,对联广告代码等大全
网页头部弹出广告:
- <!--首页头部广告-->
- <script src="http://bbs.lxh5068.com/content/plugins/ad_jump/js/top_ad.js" type="text/javascript" language="javascript"></script>
- <script type="text/javascript">
- if(!ads){
- var ads=new adManager('ads');
- }
- ads.addAd(0,0,1002,375,'<img src="http://bbs.lxh5068.com/content/templates/htzyw/lib/images/202103061843.gif" />','top','float');
- </script>
- <!--首页头部广告 end-->
网页飘浮广告(可多个飘浮):
- <!--网页飘浮广告-->
- <script src="http://bbs.lxh5068.com/content/plugins/ad_jump/js/flyad2.js"></script>
- <div id="gg1">
- <a href="http://bbs.lxh5068.com/27.html"><img src="http://bbs.lxh5068.com/content/templates/htzyw/lib/images/202208082208.png" border="0"></a>
- <div style="position:absolute; left:0; font-size:12px;">
- <a href="javascript:void(0);" target="_self" onClick="close_gg(1);" style="color:#fff;">关闭</a>
- </div>
- </div>
- <script type="text/javascript">
- <!--
- var ad1=new AdMove("gg1");
- ad1.Run();
- //var ad2=new AdMove("gg2");
- //ad2.Run();
- //var ad3=new AdMove("gg3");
- //ad3.Run();
- //-->
- </script>
右下角广告:
- <!--右下角广告-->
- <div style="position:absolute;right:0; width: 250px; height:215px; text-align:right; font-size:14px; line-height:22px; color:#000;" id="rb_ad">
- <a href="javascript:close_rbad();" target="_self">关闭</a><br />
- <img src="http://bbs.lxh5068.com/content/templates/htzyw/lib/images/202208082208.png"" border="0"></div>
- <script language="JavaScript" type="text/javascript">
- function rightBottomAd(){
- var abc = document.getElementById("rb_ad");
- abc.style.top = document.documentElement.scrollTop+document.documentElement.clientHeight-215+"px";
- setTimeout(function(){rightBottomAd();},50);
- }
- rightBottomAd();
- function close_rbad(){
- document.getElementById("rb_ad").style.display="none";
- }
- </script>
- <!--右下角广告 end-->
对联广告:
- <!--对联广告-->
- <div id="coupleBannerAdv" style="z-index: 10; position: absolute; width:100px;left:10px;top:10px;display:none">
- <div style="position: absolute; left: 6px; top: 6px;">
- <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" adcodebase="http://bbs.lxh5068.com/27.html" width="102px" height="262px"><param name="movie" value="http://bbs.lxh5068.com/content/plugins/ad_jump/js/ads.swf" /><param name="quality" value="high" /><embed src="http://bbs.lxh5068.com/content/templates/htzyw/lib/images/202208082208.png" quality="high" pluginspage="http://bbs.lxh5068.com/content/templates/htzyw/lib/images/202208082208.png" type="application/x-shockwave-flash" width="102px" height="262px"></embed></object><br />
- <img src="/buyiboke/buyiwenzhang/admin/editubb/UploadFile/2010621175829845.gif"" onMouseOver="this.style.cursor='hand'" onClick="closeBanner('coupleBannerAdv');">
- </div>
- <div style="position: absolute; right: 6px; top: 6px;">
- <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" adcodebase="http://bbs.lxh5068.com/27.html" width="102px" height="262px"><param name="movie" value="http://bbs.lxh5068.com/content/plugins/ad_jump/js/ads.swf" /><param name="quality" value="high" /><embed src="http://bbs.lxh5068.com/content/templates/htzyw/lib/images/202208082208.png" quality="high" pluginspage="http://bbs.lxh5068.com/content/templates/htzyw/lib/images/202208082208.png" type="application/x-shockwave-flash" width="102px" height="262px"></embed></object><br />
- <img src="/buyiboke/buyiwenzhang/admin/editubb/UploadFile/2010621175829845.gif"" onMouseOver="this.style.cursor='hand'" onClick="closeBanner('coupleBannerAdv');">
- </div>
- </div>
- <script type="text/javascript" src="http://bbs.lxh5068.com/content/plugins/ad_jump/js/floatadv.js"></script>
- <script type="text/javascript">
- lsfloatdiv('coupleBannerAdv', 0, 0, '', 0).floatIt();
- </script>
本站大多数资源来源与网络,由用户上传分享。好源码不对资源的来源做任何保证,只是供大家研究学习之用,请大家不要用于商用,如商用请获取正版授权,否则如引起一切纠纷和好源码无关,后果自负,请下载后24小时内删除!!如本资源侵犯到您的利益,请联系客服,我们将及时处理!