1jQuery( document ).ready( function( $ ) { 2 3 if ( $( '.peThemeContactForm' ).length > 0 ) { 4 5 $( '.peThemeContactForm' ).peThemeContactForm(); 6 7 } 8 9 var contact = false; 10 $('nav a[href="#footer"]').on("click",function(e) { 11 e.preventDefault(); 12 e.stopImmediatePropagation(); 13 if (!contact) { 14 $("#contact-open").trigger("click"); 15 contact = true; 16 } 17 }); 18 19 $( '.post-media' ).each( function() { 20 21 if( ! $.trim( $( this ).html() ) ) 22 $( this ).siblings( '.post-title' ).addClass( 'nopostmedia' ); 23 24 }); 25 26 $( '.pagination li.disabled a' ).attr( 'href', 'javascript:void(0);' ).css( 'cursor', 'default' ); 27 28 jQuery('.slider').bxSlider({ 29 mode: 'horizontal', 30 touchEnabled: true, 31 swipeThreshold: 50, 32 oneToOneTouch: true, 33 pagerSelector: '.slider-pager', 34 nextSelector: ".project-gallery-next", 35 prevSelector: ".project-gallery-prev", 36 nextText: jQuery( '.project-gallery-next a' ).text(), 37 prevText: jQuery( '.project-gallery-prev a' ).text(), 38 controls: true, 39 tickerHover: true 40 }); 41 42 jQuery(".nav a").click(function () { 43 44 var $href = $( this ).attr( 'href' ); 45 46 if ( $href == window.location.href && $href == _visia.home_url && window.location.href == _visia.home_url ) { 47 48 return jQuery("body,html").stop().animate({ 49 scrollTop: 0 50 }, 800, "easeOutCubic"), !1; 51 52 } 53 54 55 }); 56 57}); 58 59// Slider homepage 60if ( jQuery( '.hidden_overlay' ).length ) { 61 62 var hslides = []; 63 64 jQuery( '.hiddenslide').each( function() { 65 66 var $this = jQuery( this ); 67 hslides.push( { src: $this.attr('data-src'), fade:2500 } ); 68 69 }); 70 71 jQuery.vegas('slideshow', { 72 backgrounds: hslides 73 })('overlay', { 74 src:jQuery( '.hidden_overlay' ).data( 'src' ) 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.