$(this).find('li.image-placeholder').parent('ul').addClass('no-image-subul');
$(this).find('li.image-placeholder').remove();
}
-
//console.log('ul = ' + menuImg);
//console.log('menu-id = ' + menuNum);
-
});
-
// custom js / jquery / modules
var arrival_module = {
init: function () {
this.$extraDay.setDate(this.$extraDay.getDate() + 1);
departure_module.$depart.datepicker("option", {minDate: new Date(this.$extraDay)});
}
-
});
}
};
});
}
};
-
$("#arriveCal").click(function () {
$("#arrive").datepicker("show");
});
-
$("#departCal").click(function () {
$("#depart").datepicker("show");
});
});
}
};
-
var search_module = {
init: function () {
this.cacheDOM();
search_module.$input.focus();
});
this.$mag_glass.click( function () {
-// e.preventDefault();
search_module.$form.submit();
});
this.$input.blur(function () {
arrival_module.init();
search_module.init();
$(".search_result_context").children("br").remove();
-
-
-
-var extraDay, end, arrival, currentDate, currentDate2, requiredDate, requiredDate1, minDays, departure, stay, d, dd, m, y;
+
+ var extraDay, end, arrival, currentDate, currentDate2,
+ requiredDate, requiredDate1, minDays, departure,
+ stay, d, dd, m, y;
$(document).on('change', '#arriveOff', function () {
currentDate = $("#arriveOff").val();
currentDate = new Date(currentDate);
minDays = $("#arriveOff").attr("min");
$("#arriveOff").val(minDays);
}
-
});
// restrict departure date ///////////////////////////////
$(document).on('change', '#departOff', function () {
$("#departOff").val(minDays);
}
});
-
$('#block-1, #block-2, #block-3').bind('click tap', function(){
if($(window).width() <= 1024){
$(this).toggleClass('front-page-blocks');
$($topMenuLink).css("font-size", "16px");
$($topMenuLink).css("padding", "10px 5px");
});
-
$($topMenu).each(function () {
$(this).removeClass("active") ;
});
-
$("#menu-top-menu-1").children("li:nth-child(2)").children("a:nth-child(1)").addClass("offCanvasLinks");
});
$(this).find('li.image-placeholder').parent('ul').addClass('no-image-subul');
$(this).find('li.image-placeholder').remove();
}
-
//console.log('ul = ' + menuImg);
//console.log('menu-id = ' + menuNum);
-
});
-
// custom js / jquery / modules
var arrival_module = {
init: function () {
this.$extraDay.setDate(this.$extraDay.getDate() + 1);
departure_module.$depart.datepicker("option", {minDate: new Date(this.$extraDay)});
}
-
});
}
};
});
}
};
-
$("#arriveCal").click(function () {
$("#arrive").datepicker("show");
});
-
$("#departCal").click(function () {
$("#depart").datepicker("show");
});
});
}
};
-
var search_module = {
init: function () {
this.cacheDOM();
search_module.$input.focus();
});
this.$mag_glass.click( function () {
-// e.preventDefault();
search_module.$form.submit();
});
this.$input.blur(function () {
arrival_module.init();
search_module.init();
$(".search_result_context").children("br").remove();
-
-
-
-var extraDay, end, arrival, currentDate, currentDate2, requiredDate, requiredDate1, minDays, departure, stay, d, dd, m, y;
+
+ var extraDay, end, arrival, currentDate, currentDate2,
+ requiredDate, requiredDate1, minDays, departure,
+ stay, d, dd, m, y;
$(document).on('change', '#arriveOff', function () {
currentDate = $("#arriveOff").val();
currentDate = new Date(currentDate);
minDays = $("#arriveOff").attr("min");
$("#arriveOff").val(minDays);
}
-
});
// restrict departure date ///////////////////////////////
$(document).on('change', '#departOff', function () {
$("#departOff").val(minDays);
}
});
-
$('#block-1, #block-2, #block-3').bind('click tap', function(){
if($(window).width() <= 1024){
$(this).toggleClass('front-page-blocks');
$($topMenuLink).css("font-size", "16px");
$($topMenuLink).css("padding", "10px 5px");
});
-
$($topMenu).each(function () {
$(this).removeClass("active") ;
});
-
$("#menu-top-menu-1").children("li:nth-child(2)").children("a:nth-child(1)").addClass("offCanvasLinks");
});