码迷,mamicode.com
首页 > 其他好文 > 详细

cookie 用户第一次访问时执行

时间:2014-05-31 22:04:06      阅读:286      评论:0      收藏:0      [点我收藏+]

标签:c   style   class   blog   code   java   

1
<span style="color: rgb(255, 0, 0);"><script type="text/javascript" src="/js/jquery.Cookies.js"></script></span>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<em id="__mceDel"><br><div id="zhezhaoyd"></div>
    <div class="clearfix"></div>
    <div class="yaoqing-yindao">
        <div class="w1002 pr">
            <div class="yaoqing-yindaobj"><a href="/user/InvitationCode"></a></div>
           <div class="w"></div>
            <div class="closeyaoqbtn"></div>
        </div>
    </div>
    <script>
        $(function () {
 
            //申请
 
            $("#zhezhaoyd").height($(window).height()).width($(window).width());
            $("#zhezhaoyd").css("background","url(/images/zhezhoabj_03.png) repeat left top")
            function yingdao(){
                $("#zhezhaoyd").fadeIn(100);
                $(".yaoqing-yindao").fadeIn(100);
            }
 
            $("#zhezhaoyd,.closeyaoqbtn").click(function() {
 
                $("#zhezhaoyd").fadeOut(100);
                $(".yaoqing-yindao").fadeOut(200);
 
            });<br>
            if ($.cookie("yingdao") == null) {
                yingdao();
                $.cookie("yingdao", ‘‘, ‘true‘, { expires: 3650 });
            }
             
 
        })
 
</script>
</em>

  

cookie 用户第一次访问时执行,布布扣,bubuko.com

cookie 用户第一次访问时执行

标签:c   style   class   blog   code   java   

原文地址:http://www.cnblogs.com/aimyfly/p/3760910.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!