1$(document).ready(function() { 2 3 $('.lightbox').lightbox(); 4 5 $(document).on("click", "input.datepicker", function() { 6 $(this).datepicker({startDate: '+2d'}); 7 $(this).datepicker('show'); 8 }); 9 10 11 12 $(".readmorebutton").click(function(){ 13 $(".readmore article").toggleClass("toggle"); 14 }); 15 16 17}); 18 19$(function() { 20 $(window).scroll(function() { 21 var scroll = $(window).scrollTop(); 22 23 if (scroll >= 200) { 24 $("body").addClass("scrolled"); 25 }else if (scroll < 200) { 26 $("body").removeClass("scrolled"); 27 } 28 }); 29}); 30 31 32jQuery(document).ready(function ($) { 33 34 35 var $myDiv = $('#tour_slider_container'); 36 37 if ( $myDiv.length){ 38 39 40 41 var options = { 42 $DragOrientation: 1, //[Optional] Orientation to drag slide, 0 no drag, 1 horizental, 2 vertical, 3 either, default value is 1 (Note that the $DragOrientation should be the same as $PlayOrientation when $DisplayPieces is greater than 1, or parking position is not 0) 43 $SlideDuration: 500, //[Optional] Specifies default duration (swipe) for slide in milliseconds, default value is 500 44 45 $ArrowNavigatorOptions: { //[Optional] Options to specify and enable arrow navigator or not 46 $Class: $JssorArrowNavigator$, //[Requried] Class to create arrow navigator instance 47 $ChanceToShow: 2, //[Required] 0 Never, 1 Mouse Over, 2 Always 48 $AutoCenter: 2, //[Optional] Auto center arrows in parent container, 0 No, 1 Horizontal, 2 Vertical, 3 Both, default value is 0 49 $Steps: 1 //[Optional] Steps to go for each navigation request, default value is 1 50 } 51 }; 52 53 54 var jssor_slider1 = new $JssorSlider$('tour_slider_container', options); 55 56 function ScaleSlider() { 57 var parentWidth = $('#tour_slider_container').parent().width(); 58 if (parentWidth) { 59 jssor_slider1.$ScaleWidth(parentWidth); 60 } 61 else 62 window.setTimeout(ScaleSlider, 30); 63 } 64 65 ScaleSlider(); 66 67 $(window).bind("load", ScaleSlider); 68 $(window).bind("resize", ScaleSlider); 69 $(window).bind("orientationchange", ScaleSlider); 70 71 72 } 73 74 75 76}); 77 78 79 80 81$(function() { 82 var v = jQuery('.validate').each( function(){ 83 $(this).validate({ 84 submitHandler: function (form) { 85 jQuery(form).ajaxSubmit({ 86 success: function(data) { 87 $('.form-results').html(data); 88 } 89 }); 90 } 91 }); 92 }); 93});
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.