1$(document).ready(function(){ 2 3 if( $.isFunction('initialize') ){ initialize(); } 4 5 6 $( 'a.submit' ).click(function( e ){ 7 e.preventDefault(); 8 $( this ).closest( 'form' ).submit(); 9 }); 10 11 if (getCookie('hide') == 'true') { 12 $('.info').hide(); 13 } 14 else 15 $('.info').show(); 16 17 $( 'a.close' ).click(function(e){ 18 e.preventDefault(); 19 $(this).closest( '.info' ).fadeOut(); 20 setCookie('hide', true, 1); 21 }); 22 23 24 $( '.expand' ).click(function( e ){ 25 e.preventDefault(); 26 $(this).parent().parent().next().show(); 27 }); 28 29 $( '.closeExpand' ).click(function( e ){ 30 e.preventDefault(); 31 $(this).parent().parent().parent().hide(); 32 }); 33 34 $( '#close_popup_cookie' ).click(function(e){ 35 e.preventDefault(); 36 setCookie('popup_nl', 1, 1000); 37 38 $('.featherlight-content').hide(); 39 $('.featherlight').hide(); 40 }); 41 42 $( '.fl1Left > h2 > a' ).click(function(e){ 43 e.preventDefault(); 44 $('.featherlight-content').hide(); 45 $('.featherlight').hide(); 46 47 $.ajax({
48 type: "POST", 49 url: ajaxurl, 50 data: { 51 action: 'my_set_session', 52 value : 1, 53 }, 54 success: function(response){ 55 window.location = e.currentTarget.href; 56 } 57 }) 58 59 }); 60 61 var x = getCookie('popup_nl'); 62 if (!x) { 63 $('div.fl-page').show(); 64 } 65 66 /* tabs */ 67 /* 68 $( ".tabs a" ).ready( function(){ 69 70 $( ".tabs" ).idTabs(function(id,list,set){ 71 72 $("a",set).removeClass( "selected" ); 73 $("a",set).parent().removeClass( "tabSelected" ); 74 $("a",set).filter("[href='"+id+"']",set).addClass( "selected" ); 75 $("a",set).filter("[href='"+id+"']",set).parent().addClass( "tabSelected" ); 76 77 for(i in list) 78 $(list[i]).hide(); 79 $(id).fadeIn(); 80 return false; 81 82 }); 83 }); 84 */ 85 86}); 87 88function openBox( element ){ 89 $( '.' + element ).fadeIn(); 90} 91 92 93 94 95function setCookie(c_name,value,exdays) 96{ 97 var exdate=new Date(); 98 exdate.setDate(exdate.getDate() + exdays); 99 var c_value=escape(value) + ((exdays==null) ? "" : "; expires="+exdate.toUTCString()); 100 document.cookie=c_name + "=" + c_value; 101} 102 103function getCookie(c_name) 104{ 105 var c_value = document.cookie; 106 var c_start = c_value.indexOf(" " + c_name + "="); 107 if (c_start == -1) 108 { 109 c_start = c_value.indexOf(c_name + "="); 110 } 111 if (c_start == -1) 112 { 113 c_value = null; 114 } 115 else 116 { 117 c_start = c_value.indexOf("=", c_start) + 1; 118 var c_end = c_value.indexOf(";", c_start); 119 if (c_end == -1) 120 { 121 c_end = c_value.length; 122 } 123 c_value = unescape(c_value.substring(c_start,c_end)); 124 } 125 return c_value; 126} 127 128 129$(window).scroll(function(){ 130 if($(window).scrollTop() >= 350 ){ 131 $(".loadingLoadScroll").css('display', 'block') 132 133 } else { 134 $(".loadingLoadScroll").css('display', 'none') 135 136 } 137});
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.