1jQuery(document).ready(function( $ ) { 2 3 //Search Toggle 4 $(".search-toggle").click(function () { 5 6 $(this).toggleClass("current-menu-item"); 7 $(".header .search-form").fadeToggle(); 8 9 return false; 10 }); 11 12 13 14 //Footer Toggle 15 $("#footer-inside").hide(); 16 $("#footer-toggle").click(function () { 17 18 $("#footer-inside").fadeToggle(); 19 20 $(".icon-plus").toggleClass("icon-minus"); 21 22 $(this).toggleClass("footer-toggle-active"); 23 24 $("html, body").animate({ 25 scrollTop: $("#footer-inside").offset().top 26 }, 500); 27 28 return false; 29 }); 30 31 32 33 //FitVids 34 $(".fitvid").fitVids(); 35 36 37 38 //Comments 39 $("#comment-nav-below").hide(); 40 41 $(".commentlist,#respond").hide(); 42 43 $("#comments-title").click(function () { 44 45 $("#comment-nav-below").fadeToggle(); 46 47 $(".commentlist,#respond").fadeToggle(); 48 49 $(this).toggleClass('comments-open'); 50 51 $('html, body').animate({ 52 scrollTop: $("#comments-title").offset().top 53 }, 500); 54 55 return false; 56 }); 57 58 59 60 //Responsive Menu 61 $('.nav').mobileMenu(); 62 63 $('select.select-menu').each(function(){ 64 var title = $(this).attr('title'); 65 if( $('option:selected', this).val() != '' ) title = $('option:selected',this).text(); 66 $(this) 67 .css({'z-index':10,'opacity':0,'-khtml-appearance':'none'}) 68 .after('<span class="select">' + title + '</span>') 69 .change(function(){ 70 val = $('option:selected',this).text(); 71 $(this).next().text(val); 72 }) 73 }); 74 75});
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.