1jQuery(function ($) { 2 /* You can safely use $ in this code block to reference jQuery */ 3 4 $(document).ready(function() { 5 6 7 $(function(){ 8 $('menu-main_nav-container').find('a').hasClass('active'); 9 $('.active').parent().find('ul').show(); 10 }); // end of function to show sub-menu 11 12 13 14 $(function(){ 15 $('sub-menu').find('a').hasClass('active'); 16 $('.active').parents().find('.current-menu-parent ul:first').show(); 17 $('.active').parents().find('.current-menu-ancestor ul:first').show(); 18 $('.current-page-ancestor').find('a:first').css({'background-color' : '#569f96', 'color' : 'yellow'}); 19 $('.current-menu-parent').find('a:first').css({'background-color' : '#569f96', 'color' : 'yellow'}); 20 }); // end of function for page active 21 22 23 24 // Fucntion to highlighthome page nav button 25 if($('body').hasClass('home')) { 26 $('.menu-main_nav-container').find('a:first').css({'background-color' : '#569f96', 'color' : 'yellow'}); 27 } 28 29 30 31 32 33 34 35 36 37 // HomePage Slider function 38 39 $(function(){ 40 $('#slides').slides({ 41 preload: true, 42 preloadImage: 'images/loading.gif', 43 play: 6000, 44 pause: 5000, 45 hoverPause: true, 46 animationStart: function(current){ 47 $('.caption').animate({ 48 bottom:0 49 },100); 50 //if (window.console && console.log) { 51 // example return of current slide number 52 //.console.log('animationStart on slide: ', current); 53 //}; 54 }, 55 animationComplete: function(current){ 56 $('.caption').animate({ 57 bottom:0 58 },200); 59 //if (window.console && console.log) { 60 // example return of current slide number 61 // console.log('animationComplete on slide: ', current); 62 //}; 63 }, 64 slidesLoaded: function() { 65 $('.caption').animate({ 66 bottom:0 67 },200); 68 } 69 }); 70 }); // end of slider function 71 72 73 74 }); //end ready 75 76 77});
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.