1jQuery(function(){ 2 //create cokie name for every banner 3 var cokie_num = 'banner_once'+bn_id; 4 var closeCokie = jQuery.cookie(cokie_num+'close'); 5 // check if is exists 6 if(jQuery.cookie(cokie_num) == null && closeCokie == null){ 7 //create cokie 8 jQuery.cookie(cokie_num, "hid_banner", { expires: 1 }); 9 //apend to the body 10 11 //animation 12 jQuery('.wp-baner-top').fadeIn('slow'); 13 jQuery('body').css({"padding-top":jQuery('.wp-baner-top').height()+"px"}) 14 setInterval(function() { 15 jQuery('.wp-baner-top').fadeOut('slow'); 16 jQuery('body').css({"padding-top":"0px"}) 17 }, bn_timeout); 18 jQuery('.wp-baner-top div.wp-baner-close a').click(function(){ 19 jQuery('.wp-baner-top').fadeOut('slow'); 20 jQuery('body').css({"padding-top":"0px"}) 21 jQuery.cookie(cokie_num+'close', "hid_banner_close"+bn_id, { expires: 1 }); 22 }) 23 if(bn_link != ""){ 24 jQuery('.wp-baner-text').css({"cursor":"pointer"}); 25 jQuery('.wp-baner-text a').attr('href', '#'); 26 jQuery('.wp-baner-text').click(function(){ 27 window.location = bn_link; 28 }) 29 }else{ 30 jQuery('.wp-baner-text').css({"cursor":"normal"}); 31 32 } 33 } 34 35 // delete cokie 36 if(bn_once !== 'showOnce'){ 37 jQuery.cookie(cokie_num, 'hid_banner', { expires: -1 }); 38 } 39 jQuery(window).resize(function(){ 40 if(jQuery('.wp-baner-top').is(":visible")){ 41 jQuery('body').css({"padding-top":jQuery('.wp-baner-top').height()+"px"}) 42 }else{ 43 jQuery('body').css({"padding-top":"0px"}) 44 } 45 }) 46})
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.