admin

网页JS弹出广告代码

admin 分享 2022-09-20 383浏览 0
<!--首页头部广告-->
<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>


版权声明:
    “邓先生工作室”文章为自撰和网摘为一体,网摘文章及图片版权归原作者所有,转载本文请注明出处,请勿用于商务用途。如有侵犯您的权益,请及时联系toneydeng@qq.com予以删除!
发表评论