1var $ = jQuery.noConflict(); 2 3$(document).ready(function($) { 4 5 /* ---------------------------------------------------------------------- */ 6 /* Header animate after scroll 7 /* ---------------------------------------------------------------------- */ 8 9 (function() { 10 11 var docElem = document.documentElement, 12 didScroll = false, 13 changeHeaderOn = 50; 14 document.querySelector( '.site-header' ); 15 function init() { 16 window.addEventListener( 'scroll', function() { 17 if( !didScroll ) { 18 didScroll = true; 19 setTimeout( scrollPage, 100 ); 20 } 21 }, false ); 22 } 23 24 function scrollPage() { 25 var sy = scrollY(); 26 if ( sy >= changeHeaderOn ) { 27 $( '.site-header' ).addClass('active'); 28 } 29 else { 30 $( '.site-header' ).removeClass('active'); 31 } 32 didScroll = false; 33 } 34 35 function scrollY() { 36 return window.pageYOffset || docElem.scrollTop; 37 } 38 39 init(); 40 41 })(); 42 43}); 44 45//FUNCTION TO GET AND AUTO PLAY YOUTUBE VIDEO FROM DATATAG 46function autoPlayYouTubeModal(){ 47 var trigger = jQuery("body").find('[data-toggle="modal"]'); 48 trigger.click(function() { 49 var theModal = jQuery(this).data( "target" ), 50 videoSRC = jQuery(this).attr( "data-theVideo" ), 51 videoSRCauto = videoSRC+"?autoplay=1&vq=hd720&showinfo=0&rel=0&theme=light" ; 52 jQuery(theModal+' iframe').attr('src', videoSRCauto); 53 jQuery(theModal+' button.close').click(function () { 54 jQuery(theModal+' iframe').attr('src', videoSRC); 55 }); 56 }); 57} 58 59$(document).ready(function(){ 60 autoPlayYouTubeModal(); 61}); 62 63//jQuery for page scrolling feature - requires jQuery Easing plugin 64 65jQuery(function() { 66 jQuery('a.smooth').click(function() { 67 if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') && location.hostname == this.hostname) { 68 var target = jQuery(this.hash); 69 target = target.length ? target : jQuery('[name=' + this.hash.slice(1) +']'); 70 if (target.length) { 71 jQuery('html,body').animate({ 72 scrollTop: target.offset().top 73 }, 1000); 74 return false; 75 } 76 } 77 }); 78}); 79 80 81jQuery(function(){ 82 jQuery('#input_8_43 input:radio').change(function() { 83 jQuery('#gform_next_button_8_44').trigger('click'); 84 }); 85}); 86 87jQuery(function(){ 88 jQuery('#gform_page_8_2 input:radio').change(function() { 89 jQuery('#gform_next_button_8_45').trigger('click'); 90 }); 91}); 92 93 94 95jQuery(document).ready(function(){ 96 jQuery('[data-toggle="tooltip"]').tooltip(); 97}); 98 99jQuery(".js-table-column-hover").delegate("td","mouseover mouseout",function(e){"mouseover"==e.type?jQuery("col").eq(jQuery(this).index()).addClass("column-hover"):jQuery("col").eq(jQuery(this).index()).removeClass("column-hover")})
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.