<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    代碼
    jQuery.cookie = function(name, value, options) {
        
    if (typeof value != 'undefined') { // name and value given, set cookie
            options = options || {};
            
    if (value === null) {
                value 
    = '';
                options.expires 
    = -1;
            }
            
    var expires = '';
            
    if (options.expires && (typeof options.expires == 'number' || options.expires.toUTCString)) {
                
    var date;
                
    if (typeof options.expires == 'number') {
                    date 
    = new Date();
                    date.setTime(date.getTime() 
    + (options.expires * 24 * 60 * 60 * 1000));
                } 
    else {
                    date 
    = options.expires;
                }
                expires 
    = '; expires=' + date.toUTCString(); // use expires attribute, max-age is not supported by IE
            }
            
    var path = options.path ? '; path=' + options.path : '';
            
    var domain = options.domain ? '; domain=' + options.domain : '';
            
    var secure = options.secure ? '; secure' : '';
            document.cookie 
    = [name, '=', encodeURIComponent(value), expires, path, domain, secure].join('');
        } 
    else { // only name given, get cookie
            var cookieValue = null;
            
    if (document.cookie && document.cookie != '') {
                
    var cookies = document.cookie.split(';');
                
    for (var i = 0; i < cookies.length; i++) {
                    
    var cookie = jQuery.trim(cookies[i]);
                    
    // Does this cookie string begin with the name we want?
                    if (cookie.substring(0, name.length + 1== (name + '=')) {
                        cookieValue 
    = decodeURIComponent(cookie.substring(name.length + 1));
                        
    break;
                    }
                }
            }
            
    return cookieValue;
        }
    };

     

    posted on 2010-08-11 11:49 sanmao 閱讀(214) 評論(0)  編輯  收藏

    只有注冊用戶登錄后才能發表評論。


    網站導航:
     

    常用鏈接

    留言簿(5)

    隨筆分類

    隨筆檔案

    搜索

    •  

    最新評論

    閱讀排行榜

    評論排行榜

    主站蜘蛛池模板: 一道本不卡免费视频| 香蕉国产在线观看免费| 亚洲欧洲国产成人综合在线观看| 激情五月亚洲色图| 性做久久久久久久免费看| 无码免费午夜福利片在线 | 国产成人毛片亚洲精品| 黄色免费网址大全| 亚洲日韩国产精品乱| 一区二区三区免费高清视频| 浮力影院亚洲国产第一页| 中文字幕无码免费久久9一区9 | 911精品国产亚洲日本美国韩国 | 亚洲日本在线免费观看| 亚洲依依成人精品| 国产在线精品一区免费香蕉 | 免费电影在线观看网站| 亚洲精品日韩一区二区小说| 久久久久久夜精品精品免费啦| 99久久综合国产精品免费| 久久精品国产亚洲AV蜜臀色欲| 成人一a毛片免费视频| 日韩在线观看免费完整版视频| 久久精品国产亚洲一区二区三区| 无码国产精品一区二区免费式芒果 | 中日韩亚洲人成无码网站| 国产免费变态视频网址网站| 一区二区三区视频免费观看| 亚洲色图黄色小说| 国产极品粉嫩泬免费观看 | 日本系列1页亚洲系列| 成人影片麻豆国产影片免费观看 | 中文字幕日本人妻久久久免费| 亚洲专区先锋影音| 免费观看理论片毛片| 免费人成激情视频在线观看冫| 亚洲13又紧又嫩又水多| 亚洲色偷拍区另类无码专区| 国产精品视频免费观看| 人人爽人人爽人人片av免费| 亚洲国产中文在线视频|