小辉网络社区致力于优质软件,活动线报,游戏辅助,绿色工具等资源共享,好货不私藏!

网页JS弹出广告代码大全

小辉工作室 JS网页代码

网页JS弹出广告代码,头部,右下角,网页中漂浮,对联广告代码等大全
网页头部弹出广告:
<!--首页头部广告-->
<script src="http://bbs.8gws.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.8gws.com/content/templates/htzyw/lib/images/202103061843.gif" />','top','float');
</script>
<!--首页头部广告 end-->
网页飘浮广告(可多个飘浮):
<!--网页飘浮广告-->
<script src="http://bbs.8gws.com/content/plugins/ad_jump/js/flyad2.js"></script>
<div id="gg1">
<a href="http://bbs.8gws.com/27.html"><img src="http://bbs.8gws.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.8gws.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.8gws.com/27.html" width="102px" height="262px"><param name="movie" value="http://bbs.8gws.com/content/plugins/ad_jump/js/ads.swf" /><param name="quality" value="high" /><embed src="http://bbs.8gws.com/content/templates/htzyw/lib/images/202208082208.png" quality="high" pluginspage="http://bbs.8gws.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.8gws.com/27.html" width="102px" height="262px"><param name="movie" value="http://bbs.8gws.com/content/plugins/ad_jump/js/ads.swf" /><param name="quality" value="high" /><embed src="http://bbs.8gws.com/content/templates/htzyw/lib/images/202208082208.png" quality="high" pluginspage="http://bbs.8gws.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.8gws.com/content/plugins/ad_jump/js/floatadv.js"></script>
<script type="text/javascript">
lsfloatdiv('coupleBannerAdv', 0, 0, '', 0).floatIt();
</script>

温馨提示:如有转载或引用以上内容请将本文链接作为出处标注!百度未收录

免责声明:本站提供的一切软件、教程和内容信息仅限用于学习和研究目的;不得将上述内容用于商业或者非法用途,否则,一切后果请用户自负。本站信息来自网络,版权争议与本站无关。您必须在下载后的24个小时之内,从您的电脑或手机中彻底删除上述内容。如果您喜欢该程序,请支持正版,购买注册,得到更好的正版服务。侵删请致信E-mail:431228450@qq.com

标签 暂无标签
资源分享
评论列表