1jQuery(document).ready( function($){ 2 3$('#menuicon').click( function() { 4 $('#mobmenu').animate({width: 'toggle'}); 5}); 6$('#menuclose').click( function() { 7 $('#mobmenu').animate({width: 'toggle'}); 8}); 9 10 11$(".lead").click(function(e) { 12 var pid = $(this).attr('name'); 13 e.preventDefault(); 14 $.fancybox.open({ 15 //href : $(this).attr('href'), 16 href : "lead.php?src="+pid, 17 type : 'iframe', 18 padding : 0, 19 width : '360', 20 autoSize : false, 21 height: '410', 22 margin: 30 23 }); 24 }); 25 26$('.closefb').click(function(){ 27 parent.jQuery.fancybox.close() 28}); 29 30 31$('#backtotop').click(function () { 32 $('body,html').animate({ 33 scrollTop: 0 34 }, 800); 35 return false; 36 }); 37 38 $(window).scroll(function() { 39 if ($(window).scrollTop() > 400 ) { 40 $("#backtotop").fadeIn(); 41 } else { 42 $("#backtotop").fadeOut(); 43 }; 44 }); 45 46 $('a[rel=external]').on('click',function(e){open(this.href);e.preventDefault();}).attr('title', 'Opens in a new window'); 47 48 $('li:first-child').addClass('first-item'); $('li:last-child').addClass('last-item'); 49 50 51 //simu select 52 $(".search_form select").uniform(); 53 54 //navigation 55 $('.nav').superfish(); 56 57 58}); 59 60 61 62 63function loadContent(elementSelector, sourceUrl) { 64$(""+elementSelector+"").load(""+sourceUrl+""); 65 66}
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.