1jQuery(document).ready(function ($) { 2//search input slide mobile 3 $(".search-hide-btn").click(function () { 4 $(this).toggleClass('active'); 5 $('.wrapper-search').toggleClass('visible'); 6 $('.search input').focus(); 7 }); 8 9 $('#c526').modal('show'); 10 11//Scroll to top button 12 var scrollTopBarTrue = false; 13 //Check to see if the window is top if not then display button 14 $(window).scroll(function () { 15 if ($(this).scrollTop() > 100) { 16 $('.scrollToTop').fadeIn(); 17 if (scrollTopBarTrue == false) { 18 scrollTopBarTrue = true; 19 } 20 } else { 21 $('.scrollToTop').fadeOut(); 22 if (scrollTopBarTrue == true) { 23 scrollTopBarTrue = false; 24 } 25 } 26 }); 27 //Click event to scroll to top 28 $('.scrollToTop').click(function () { 29 $('html, body').animate({scrollTop: 0}, 800); 30 return false; 31 }); 32 33 $(window).scroll(function () { 34 $('.header-fixed').toggleClass('scroll-fixed', $(document).scrollTop() >= 120) 35 }); 36}); 37 38$(function() {$.backstretch([ 39 40 41 "/fileadmin/user_upload/slider/slider2.jpg", 42 "/fileadmin/user_upload/slider/slider1.jpg", 43 "/fileadmin/user_upload/slider/slider3.jpg", 44 "/fileadmin/user_upload/slider/slider4.jpg", 45 "/fileadmin/user_upload/slider/slider5.jpg" 46 ], { 47 fade: 1000, 48 duration: 4000 49 }); 50 51}); 52 53 $(".controller").click(function (e) { 54 $(".controller").toggleClass("pause"); 55 if ($(".controller").hasClass("pause")) { 56 $.backstretch("pause"); 57 }else { 58 $.backstretch("resume"); 59 } 60 }); 61 62 63 64 65 66$(document).ready( function() { 67 $(".usquare_module_wrapper").uSquare({ 68 opening_speed: 300, 69 closing_speed: 500, 70 easing: 'swing' 71 }); 72 73 if( $( '.muc' ).length > 0 ) { 74 $( '.muc' ).each( function() { 75 _wrapper = $( this ); 76 _wrapper.children( '.map_trigger' ).children( 'input[type="button"]' ).click( function() { 77 _trigger = $( this ).parent(); 78 _trigger.hide(); 79 $( '.layer-muc' ).show(); 80 }); 81 }); 82 } 83 84 $('.cm-btn').click(function () { 85 $('.embed-container').css('padding-bottom','56.25%'); 86 }); 87 88}); 89
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.