网页JS弹出广告代码大全

0.0/0 人
免费

更新:2022-09-24

分类:商业源码

评论:0

 

网页JS弹出广告代码,头部,右下角,网页中漂浮,对联广告代码等大全
网页头部弹出广告:

  1. <!--首页头部广告-->
  2. <script src="http://bbs.lxh5068.com/content/plugins/ad_jump/js/top_ad.js" type="text/javascript" language="javascript"></script>
  3. <script type="text/javascript">
  4. if(!ads){
  5. var ads=new adManager('ads');
  6. }
  7. ads.addAd(0,0,1002,375,'<img src="http://bbs.lxh5068.com/content/templates/htzyw/lib/images/202103061843.gif" />','top','float');
  8. </script>
  9. <!--首页头部广告 end-->

网页飘浮广告(可多个飘浮):

  1. <!--网页飘浮广告-->
  2. <script src="http://bbs.lxh5068.com/content/plugins/ad_jump/js/flyad2.js"></script>
  3. <div id="gg1">
  4. <a href="http://bbs.lxh5068.com/27.html"><img src="http://bbs.lxh5068.com/content/templates/htzyw/lib/images/202208082208.png" border="0"></a>
  5. <div style="position:absolute; left:0; font-size:12px;">
  6. <a href="javascript:void(0);" target="_self" onClick="close_gg(1);" style="color:#fff;">关闭</a>
  7. </div>
  8. </div>
  9. <script type="text/javascript">
  10. <!--
  11. var ad1=new AdMove("gg1");
  12. ad1.Run();
  13. //var ad2=new AdMove("gg2");
  14. //ad2.Run();
  15. //var ad3=new AdMove("gg3");
  16. //ad3.Run();
  17. //-->
  18. </script>

右下角广告:

  1. <!--右下角广告-->
  2. <div style="position:absolute;right:0; width: 250px; height:215px; text-align:right; font-size:14px; line-height:22px; color:#000;" id="rb_ad">
  3. <a href="javascript:close_rbad();" target="_self">关闭</a><br />
  4. <img src="http://bbs.lxh5068.com/content/templates/htzyw/lib/images/202208082208.png"" border="0"></div>
  5. <script language="JavaScript" type="text/javascript">
  6. function rightBottomAd(){
  7. var abc = document.getElementById("rb_ad");
  8. abc.style.top = document.documentElement.scrollTop+document.documentElement.clientHeight-215+"px";
  9. setTimeout(function(){rightBottomAd();},50);
  10. }
  11. rightBottomAd();
  12. function close_rbad(){
  13. document.getElementById("rb_ad").style.display="none";
  14. }
  15. </script>
  16. <!--右下角广告 end-->

对联广告:

  1. <!--对联广告-->
  2. <div id="coupleBannerAdv" style="z-index: 10; position: absolute; width:100px;left:10px;top:10px;display:none">
  3. <div style="position: absolute; left: 6px; top: 6px;">
  4. <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 />
  5. <img src="/buyiboke/buyiwenzhang/admin/editubb/UploadFile/2010621175829845.gif"" onMouseOver="this.style.cursor='hand'" onClick="closeBanner('coupleBannerAdv');">
  6. </div>
  7. <div style="position: absolute; right: 6px; top: 6px;">
  8. <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 />
  9. <img src="/buyiboke/buyiwenzhang/admin/editubb/UploadFile/2010621175829845.gif"" onMouseOver="this.style.cursor='hand'" onClick="closeBanner('coupleBannerAdv');">
  10. </div>
  11. </div>
  12. <script type="text/javascript" src="http://bbs.lxh5068.com/content/plugins/ad_jump/js/floatadv.js"></script>
  13. <script type="text/javascript">
  14. lsfloatdiv('coupleBannerAdv', 0, 0, '', 0).floatIt();
  15. </script>
本地下载
- MB

本站大多数资源来源与网络,由用户上传分享。好源码不对资源的来源做任何保证,只是供大家研究学习之用,请大家不要用于商用,如商用请获取正版授权,否则如引起一切纠纷和好源码无关,后果自负,请下载后24小时内删除!!如本资源侵犯到您的利益,请联系客服,我们将及时处理!

首页 导航 会员 客服 微信
QQ 微信 邮箱 TOP