1jQuery('.nav-menu-toggle').click(function () { 2 if (jQuery('.header-menu').hasClass('hide')) { 3 jQuery(this).html('<span><span class="line1"></span><span class="line2"></span><span class="line3"></span></span><small>Close</small>'); 4 } else { 5 jQuery(this).html('<span><span class="line1"></span><span class="line2"></span><span class="line3"></span></span><small>Menu</small>'); 6 } 7 jQuery('.header-menu').toggleClass('hide'); 8 jQuery('body').toggleClass('nav-open'); 9}); 10 11jQuery('.sec-remote-wild .btn-read-more').click(function () { 12 jQuery('.remote-wild-full-content').removeClass('hide'); 13 jQuery(this).hide(); 14}); 15 16jQuery(window).scroll(function () { 17 var scroll = jQuery(window).scrollTop(); 18 if (scroll >= 100) { 19 jQuery("#masthead").addClass("bar-short"); 20 } else { 21 jQuery("#masthead").removeClass("bar-short"); 22 } 23}); 24 25 26jQuery(document).ready(function () { 27 jQuery("#site-navigation ul.wp-megamenu > li.menu-item-has-children").append("<span>"); 28 jQuery("#site-navigation ul.wp-megamenu > li.wpmm-strees-default").append("<span>"); 29 jQuery(document).ready(function () { 30 jQuery('#site-navigation ul.wp-megamenu > li span').on('click', function (e) { 31 var jQueryel = jQuery(this); 32 var jQueryparent = jQuery(this).offsetParent(".sub-nav"); 33 jQuery(this).parent("li").toggleClass('expand-nav'); 34 if (!jQueryparent.parent().hasClass('nav')) { 35 jQueryel.next().css({ "top": jQueryel[0].offsetTop, "left": jQueryparent.outerWidth() - 4 }); 36 } 37 jQuery('#site-navigation ul.wp-megamenu > li.expand-nav').not(jQuery(this).parents("li")).removeClass("expand-nav"); 38 }); 39 }); 40}); 41 42/*** Sliders ***/ 43jQuery(document).ready(function () { 44 jQuery('.home-banner-slides').slick({ 45 autoplay: true, 46 autoplaySpeed: 4000, 47 arrows: true, 48 slidesToShow: 3, 49 slidesToScroll: 1, 50 dots: false, 51 arrows: true, 52 centerMode: true, 53 centerPadding: '0px', 54 responsive: [ 55 { 56 breakpoint: 992, 57 settings: { 58 slidesToShow: 2, 59 centerMode: false, 60 arrows: false, 61 dots: true 62 } 63 }, 64 { 65 breakpoint: 768, 66 settings: { 67 slidesToShow: 1, 68 centerMode: false, 69 arrows: false, 70 dots: true 71 } 72 } 73 // You can unslick at a given breakpoint now by adding: 74 // settings: "unslick" 75 // instead of a settings object 76 ] 77 }); 78}); 79 80 81jQuery(document).ready(function () { 82 jQuery('.wedding-banner-slides').slick({ 83 autoplay: true, 84 autoplaySpeed: 4000, 85 arrows: true, 86 slidesToShow: 1, 87 slidesToScroll: 1, 88 dots: true, 89 arrows: false, 90 customPaging: function (slider, i) { 91 return ''; 92 }, 93 }); 94}); 95 96/*jQuery(document).ready(function() { 97 jQuery('.home-remote-wild').slick({ 98 autoplay: true, 99 autoplaySpeed: 4000, 100 arrows: true, 101 slidesToShow: 1, 102 slidesToScroll:1, 103 dots: true, 104 arrows: false, 105 centerMode: true, 106 centerPadding: '27px' 107 }); 108});*/ 109 110var rev = jQuery('.home-remote-wild'); 111rev.on('init', function (event, slick, currentSlide) { 112 var 113 cur = jQuery(slick.$slides[slick.currentSlide]), 114 next = cur.next(), 115 next2 = cur.next().next(), 116 prev = cur.prev(), 117 prev2 = cur.prev().prev(); 118 prev.addClass('slick-sprev'); 119 next.addClass('slick-snext'); 120 prev2.addClass('slick-sprev2'); 121 next2.addClass('slick-snext2'); 122 cur.removeClass('slick-snext').removeClass('slick-sprev').removeClass('slick-snext2').removeClass('slick-sprev2'); 123 slick.$prev = prev; 124 slick.$next = next; 125}).on('beforeChange', function (event, slick, currentSlide, nextSlide) { 126 console.log('beforeChange'); 127 var 128 cur = jQuery(slick.$slides[nextSlide]); 129 console.log(slick.$prev, slick.$next); 130 slick.$prev.removeClass('slick-sprev'); 131 slick.$next.removeClass('slick-snext'); 132 slick.$prev.prev().removeClass('slick-sprev2'); 133 slick.$next.next().removeClass('slick-snext2'); 134 next = cur.next(), 135 prev = cur.prev(); 136 //prev2.prev().prev(); 137 //next2.next().next(); 138 prev.addClass('slick-sprev'); 139 next.addClass('slick-snext'); 140 prev.prev().addClass('slick-sprev2'); 141 next.next().addClass('slick-snext2'); 142 slick.$prev = prev; 143 slick.$next = next; 144 //cur.removeClass('slick-next').removeClass('slick-sprev').removeClass('slick-next2').removeClass('slick-sprev2'); 145}); 146 147rev.slick({ 148 speed: 1000,
149 arrows: false, 150 dots: true, 151 focusOnSelect: true, 152 //prevArrow: '<button> prev</button>', 153 //nextArrow: '<button> next</button>', 154 infinite: true, 155 centerMode: true, 156 slidesPerRow: 1, 157 slidesToShow: 1, 158 slidesToScroll: 1, 159 centerPadding: '0', 160 swipe: true, 161 customPaging: function (slider, i) { 162 return ''; 163 }, 164 /*infinite: false,*/ 165}); 166 167jQuery(document).ready(function () { 168 if (jQuery(window).width() < 768) { 169 jQuery('.owl-carousel').owlCarousel({ 170 loop: true, 171 margin: 10, 172 items: 1, 173 nav: true, 174 dots: false, 175 center: true, 176 autoplay: true, 177 slideTransition: 'linear', 178 autoplayTimeout: 0, 179 autoplaySpeed: 12000, 180 autoplayHoverPause: false 181 }); 182 } 183 else { 184 jQuery('.owl-carousel').owlCarousel({ 185 loop: true, 186 margin: 10, 187 items: 1, 188 nav: true, 189 center: true, 190 }); 191 } 192}); 193 194jQuery(document).ready(function () { 195 jQuery('.collection-slider').slick({ 196 autoplay: false, 197 autoplaySpeed: 4000, 198 arrows: true, 199 slidesToShow: 1, 200 slidesToScroll: 1, 201 dots: false, 202 responsive: [ 203 { 204 breakpoint: 768, 205 settings: { 206 arrows: false, 207 dots: true 208 } 209 } 210 // You can unslick at a given breakpoint now by adding: 211 // settings: "unslick" 212 // instead of a settings object 213 ] 214 }); 215}); 216 217jQuery(document).ready(function () { 218 jQuery('.memories-blocks').slick({ 219 autoplay: false, 220 autoplaySpeed: 4000, 221 arrows: false, 222 slidesToShow: 3, 223 slidesToScroll: 1, 224 dots: false, 225 responsive: [ 226 { 227 breakpoint: 768, 228 settings: { 229 dots: true, 230 centerMode: true, 231 centerPadding: '0px', 232 slidesToShow: 1 233 } 234 } 235 // You can unslick at a given breakpoint now by adding: 236 // settings: "unslick" 237 // instead of a settings object 238 ] 239 }); 240}); 241 242jQuery(document).ready(function () { 243 jQuery('.collection-gallery-slider').slick({ 244 autoplay: false, 245 autoplaySpeed: 4000, 246 arrows: true, 247 slidesToShow: 1, 248 slidesToScroll: 1, 249 arrows: true, 250 dots: false, 251 asNavFor: '.collection-gallery-slide-thumb' 252 }); 253}); 254 255jQuery(document).ready(function () { 256 jQuery('.collection-gallery-slide-thumb').slick({ 257 autoplay: false, 258 autoplaySpeed: 4000, 259 arrows: true, 260 slidesToShow: 3, 261 slidesToScroll: 1, 262 arrows: false, 263 focusOnSelect: true, 264 asNavFor: '.collection-gallery-slider' 265 }); 266}); 267 268/*jQuery(document).ready(function() { 269 jQuery('.product-slider').slick({ 270 autoplay: true, 271 autoplaySpeed: 4000, 272 slidesToShow: 1, 273 slidesToScroll:1, 274 arrows: false, 275 dots: true, 276}); 277}); 278 279jQuery( window ).on( 'resize', function() { 280 jQuery('.product-slider').slick({ 281 autoplay: true, 282 autoplaySpeed: 4000, 283 slidesToShow: 1, 284 slidesToScroll:1, 285 arrows: false, 286 dots: true, 287 }); 288});*/ 289 290jQuery(document).ready(function () { 291 jQuery('.horseback-testimonials').slick({ 292 autoplay: false, 293 autoplaySpeed: 4000, 294 arrows: true, 295 slidesToShow: 1, 296 slidesToScroll: 1, 297 dots: false, 298 }); 299}); 300jQuery(document).ready(function () { 301 jQuery('.horseback-gallery-slider').slick({ 302 autoplay: false, 303 autoplaySpeed: 4000, 304 arrows: true, 305 slidesToShow: 1, 306 slidesToScroll: 1, 307 dots: false, 308 }); 309}); 310jQuery(document).ready(function () { 311 jQuery('.multi-photo-gallery-slider').slick({ 312 autoplay: false, 313 autoplaySpeed: 4000, 314 arrows: true, 315 slidesToShow: 2, 316 slidesToScroll: 1, 317 dots: false, 318 responsive: [ 319 { 320 breakpoint: 992, 321 settings: { 322 slidesToShow: 2, 323 centerMode: false, 324 arrows: true, 325 dots: false 326 } 327 }, 328 { 329 breakpoint: 600, 330 settings: { 331 slidesToShow: 1, 332 centerMode: false, 333 arrows: false, 334 dots: true 335 } 336 } 337 // You can unslick at a given breakpoint now by adding: 338 // settings: "unslick" 339 // instead of a settings object 340 ] 341 }); 342}); 343 344/*** Sliders ***/ 345 346jQuery("#rateavailability").validate({ 347 errorElement: "lable", 348 submitHandler: function (form) { 349 var urlString = 'https://book.dovesrestcabins.com/search'; 350 var url = urlString; 351 var ratecabindate = jQuery("#ratecabindate").val(); 352 var ratecaboutdate = jQuery("#ratecaboutdate").val(); 353 var rateguest = jQuery("#rateguest").val(); 354 var ratebedroom = jQuery("#ratebedroom").val(); 355 var checkavailable = '&checkAvailability=true';
356 if (ratecabindate) { 357 ratecabindate = ratecabindate; 358 ratecabindate = '?start=' + ratecabindate; 359 } 360 if (ratecaboutdate) { 361 ratecaboutdate = ratecaboutdate; 362 ratecaboutdate = '&end=' + ratecaboutdate; 363 } 364 if (rateguest) { 365 rateguest = '&numberOfGuests=' + rateguest; 366 } 367 if (ratebedroom) { 368 ratebedroom = '&bedrooms=' + ratebedroom; 369 } 370 var loc = url + ratecabindate + ratecaboutdate + rateguest; 371 window.open(loc, '_blank'); 372 //var checkin = 'search.html?checkin=09%2f13%2f2019&checkout=09%2f20%2f2019&guests=2&bedrooms=1&checkAvailability=true'; 373 } 374}); 375 376jQuery(document).ready(function(){ 377 jQuery("#ratecabindate").datepicker({ 378 dateFormat: 'yy-mm-dd', 379 minDate: 0, 380 changeMonth: true, 381 changeYear: true, 382 yearRange: "+0:+50", 383 beforeShow: function(input, inst) { 384 var $input = jQuery(input); 385 var offset = $input.offset(); 386 console.log(offset); 387 var height = $input.outerHeight(); 388 console.log(height); 389 window.setTimeout(function () { 390 inst.dpDiv.css({ 391 bottom: 85, 392 left: offset.left - jQuery(window).scrollLeft(), 393 position: 'fixed' // Ensuring it's fixed like the form 394 }); 395 }, 0); 396 } 397 }); 398 399 jQuery("#ratecaboutdate").datepicker({ 400 dateFormat: 'yy-mm-dd', 401 minDate: 0, 402 changeMonth: true, 403 changeYear: true, 404 yearRange: "+0:+50", 405 beforeShowDay: function(date){ 406 return [(date > (jQuery("#ratecabindate").datepicker("getDate") || new Date()))]; 407 }, 408 beforeShow: function(input, inst) { 409 var $input = jQuery(input); 410 var offset = $input.offset(); 411 console.log(offset); 412 var height = $input.outerHeight(); 413 console.log(height); 414 window.setTimeout(function () { 415 inst.dpDiv.css({ 416 bottom: 85, 417 left: offset.left - jQuery(window).scrollLeft(), 418 position: 'fixed' // Ensuring it's fixed like the form 419 }); 420 }, 0); 421 } 422 }); 423}); 424 425jQuery(document).ready(function () { 426 //Horizontal Tab 427 jQuery('#parentHorizontalTab').easyResponsiveTabs({ 428 type: 'default', 429 width: 'auto', 430 fit: true, 431 tabidentify: 'hor_1', 432 activate: function (event) { 433 var $tab = jQuery(this); 434 var $info = jQuery('#nested-tabInfo'); 435 var $name = jQuery('span', $info); 436 $name.text($tab.text()); 437 $info.show(); 438 } 439 }); 440 441 jQuery('#booking-calender-tabs').easyResponsiveTabs({ 442 type: 'default', 443 width: 'auto', 444 fit: true, 445 tabidentify: 'hor_1', 446 activate: function (event) { 447 var $tab = jQuery(this); 448 var $info = jQuery('#nested-tabInfo'); 449 var $name = jQuery('span', $info); 450 $name.text($tab.text()); 451 $info.show(); 452 453 jQuery('#booking-calender-tabs .resp-tab-content-active').find('iframe').attr('src', function (i, val) { return val; }); 454 } 455 }); 456}); 457 458jQuery(document).ready(function () { 459 jQuery(".gift-sec1 .arf_radiobutton").each(function (index) { 460 jQuery(this).find(' .arf_radio_label_image').text('$' + jQuery(this).find('.arf_radio_input_wrapper input').val()); 461 }); 462 463}); 464 465jQuery(".single-btnset .scroll-to-section").click(function () { 466 var secID = jQuery(this).attr('data-scroll'); 467 jQuery('html, body').animate({ 468 scrollTop: jQuery(secID).offset().top - 110 469 }, 1200); 470});
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.