本文编程笔记首发
好像这个挺有趣的 我见很多QQ技术导航站都用了,为您精心准备的礼物点开领取。
直接放到您网站的尾部就可以了。
代码语言:javascript复制 <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://weifenshi.com/index.php?r=nine&u=399524" target="_blank" class="qqanimate">
<img src="https://img.yuanmabao.com/zijie/pic/2022/11/28/mkdu3lyf1ja.png" width="172px" height="120px">
</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>