js 代码描述:
新增这个通知功能,不过每次打开网页都会弹出这个通知,要手动点知道了才可关闭。
<!-- 广告代码 -->
<style>
.qqanimate{display:block;position:fixed;left:150px;bottom:130px;z-index:9999999;}
</style>
<div class="indexpingbi" style="display: none; z-index: 999999; width: 100%; height: 100%; position: fixed; top: 0px; left: 0px; background-color: rgb(0, 0, 0); opacity: 0.7; background-position: initial initial; background-repeat: initial initial;"></div>
<div class="indextanchu" style="cursor: pointer; display: none; position: fixed; left: 80px; bottom: 20px; width: 560px; height: 250px; z-index: 9999999; background-image: background-position: initial initial; background-repeat: no-repeat no-repeat;"></div>
<a href="http://shop.lxh5068.com" target="_blank" class="qqanimate">
<img src="http://0d077ef9e74d8.cdn.sohucs.com/qin7buw_gif" width="132px" height="80px">
</a>
<script>
if(getCookie("m_qq1")!='true'){
$(".indexpingbi").css("display","block");
$(".indextanchu").css("display","block");
}
$(".indextanchu").live('click',function(e) {
$(".indexpingbi").css("display","none");
$(".indextanchu").css("display","none");
setCookie1("m_qq1","true","d365");
});
</script>
转载请注明:汇站网 » 网站左下角 QQ 企鹅弹出代码分享