1$(document).ready(function(){ 2 var _thispop = { 3 init : function(){ 4 this.pop_cookie(); 5 this.scroll_effect(); 6 }, 7 pop_cookie : function() { 8 var pop = $('.pop-cookie'); 9 $("html body").addClass("stop-scrolling"); 10 pop.each(function(){ 11 var _this = $(this); 12 var toggle = _this.find('.toggle-pop'); 13 // var datacookie = _this.attr('data-cookie'); //enable when want to use cookie 14 toggle.click(function() { 15 $(this).toggleClass('active'); 16 _this.each(function() { 17 $("html body").removeClass("stop-scrolling"); 18 if ($(this).attr('data-action') == 'fade') $(this).fadeToggle(); 19 else if ($(this).attr('data-action') == 'slide') $(this).stop(true, true).slideToggle(); 20 $(this).toggleClass('active'); 21 }); 22 // $.cookie(datacookie, 't', { 23 // expires: 0 //set time as '0.5' for half-day 24 // }); //enable when want to use cookie 25 }); 26 _this.show(); 27 // if ($.cookie(datacookie)) { 28 // _this.hide(); 29 // } else { 30 // _this.show(); 31 // } //enable when want to use cookie 32 }) 33 34 },scroll_effect: function(){ 35 $(".popup-right").niceScroll({ 36 'cursorcolor':'#000', 37 'cursorwidth':'7px', 38 'cursorborder':'none', 39 'cursorborderradius':'0px'}); 40 $(".popup-center").niceScroll({ 41 'cursorcolor':'#000', 42 'cursorwidth':'5px', 43 'cursorborder':'none', 44 'cursorborderradius':'0px'}); 45 } 46 } 47 _thispop.init(); 48}); 49
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.