| Server IP : 103.234.187.230 / Your IP : 216.73.216.216 Web Server : Apache System : Linux lserver42043-ind.megavelocity.net 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64 User : apache ( 48) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/html/b2c.hellogtx.com/public/upload/veeklick/js/ |
Upload File : |
jQuery(document).ready(function($) {
$('.loop').owlCarousel({
items: 3,
loop: true,
margin: 10,
slideSpeed : 4000,
responsiveClass: true,
responsive: {
0: {
items: 1,
nav: true
},
600: {
items: 2,
nav: false
},
1000: {
items: 3,
nav: true,
loop: false,
margin: 20
}
}
});
$('.nonloop').owlCarousel({
center: true,
items: 3,
loop: false,
margin: 10,
responsive: {
600: {
items: 3
}
}
});
});
$(document).ready(function() {
var owl = $('.owl-carousel');
owl.owlCarousel({
items: 1,
loop: true,
margin: 10,
autoplay: true,
autoplayTimeout: 3000,
autoplayHoverPause: true
});
$('.play').on('click', function() {
owl.trigger('play.owl.autoplay', [1000])
})
$('.stop').on('click', function() {
owl.trigger('stop.owl.autoplay')
})
})
$(document).ready(function() {
$('.loop').owlCarousel({
loop: true,
margin: 10,
responsiveClass: true,
responsive: {
0: {
items: 1,
nav: true
},
600: {
items: 2,
nav: false
},
1000: {
items: 3,
nav: true,
loop: false,
margin: 20
}
}
})
})
var btt = document.getElementById('back-to-top'),
body = document.body,
docElem = document.documentElement,
offset = 100,
scrollPos;
window.addEventListener('scroll', function(event) {
scrollPos = body.scrollTop || docElem.scrollTop;
btt.className = (scrollPos > offset) ? 'visible' : '';
});
$(".filter-icon").click(function() {
$(".filter-sec").show();
});
$(".cancel-btn").click(function() {
$(".filter-sec").hide();
})
$(window).scroll(function() {
var sticky = $('.sticky'),
scroll = $(window).scrollTop();
if (scroll >= 500) sticky.addClass('fixed');
else sticky.removeClass('fixed');
});
$(function() {
$(".tab-btns li, .view-detail-modal li, .home-tab-btns li, .filter-group-items").on("click", function(e) { // See here, i have our selector set to "li", so this jQuery object will grab all li tags on the page
$(this).addClass("active").siblings().removeClass("active");
});
})
$(function() {
$(".sortitem1, .sortitem3").on("click", function(e) {
$(this).addClass("active").siblings().removeClass("active");
});
})
$(document).ready(function() {
new WOW().init();
});
$(document).ready(function(){
$("#hotel_travller_search, #travller_search").on("click", function(){
$(".room_boxcls").toggle()
});
});
$(document).ready(function(){
$('.down_count-cls1').click(function(e){
var button_classes, value = +$('.counter1').val();
button_classes = $(e.currentTarget).prop('class');
if(button_classes.indexOf('up_count') !== -1){
value = (value) + 1;
} else {
value = (value) - 1;
}
value = value < 0 ? 0 : value;
$('.counter1').val(value);
});
$('.counter1, .counter2, .counter3').click(function(){
$(this).focus().select();
});
});
$(document).ready(function(){
$('.down_count-cls2').click(function(e){
var button_classes, value = +$('.counter2').val();
button_classes = $(e.currentTarget).prop('class');
if(button_classes.indexOf('up_count') !== -1){
value = (value) + 1;
} else {
value = (value) - 1;
}
value = value < 0 ? 0 : value;
$('.counter2').val(value);
});
$('.counter2').click(function(){
$(this).focus().select();
});
});
$(document).ready(function(){
$('.down_count-cls3').click(function(e){
var button_classes, value = +$('.counter3').val();
button_classes = $(e.currentTarget).prop('class');
if(button_classes.indexOf('up_count') !== -1){
value = (value) + 1;
} else {
value = (value) - 1;
}
value = value < 0 ? 0 : value;
$('.counter3').val(value);
});
$('.counter3').click(function(){
$(this).focus().select();
});
});
$( function() {
$( "#datepicker, #datepicker_return, #to, #from, #StartDate, #Start_DOB, #Start-Date, #Start_Date," +
" #enquiry-dob, #Departure-Date, #Departure_dob, #enquire_date-list, #leave-date, #dt-enquire_date, #e-travel_date," +
"#car-Start_Date, #car-end-Date, #local-Start_Date, #local-end-Date, #tranfer-Start_Date, #tranfer-end-Date," +
"#departure_text, #return-text, #changehotel1" ).datepicker();
} );
$(window).scroll(function() {
var sticky = $('.sticky-form'),
scroll = $(window).scrollTop();
if (scroll >= 500) sticky.addClass('fixed');
else sticky.removeClass('fixed');
});
$(function() {
$('#car-select').change(function(){
$('.car-main').hide();
$('#' + $(this).val()).show();
});
});
$(function() {
$('.advanceDetail1').hover(function(){
$('.advanceDetailsBox1').toggle();
});
});
$(function() {
$('.advanceDetail2').hover(function(){
$('.advanceDetailsBox2').toggle();
});
});
$(function() {
$('.advanceDetail3').hover(function(){
$('.advanceDetailsBox3').toggle();
});
});
$(function() {
$('.advanceDetail4').hover(function(){
$('.advanceDetailsBox4').toggle();
});
});
$(function() {
$('.fareDetails1').hover(function(){
$('.fareDetailsbox1').toggle();
});
});
$(function() {
$('.fareDetails2').hover(function(){
$('.fareDetailsbox2').toggle();
});
});
$(function() {
$('.fareDetails3').hover(function(){
$('.fareDetailsbox3').toggle();
});
});
$(function() {
$('.fareDetails4').hover(function(){
$('.fareDetailsbox4').toggle();
});
});
$(document).on("click", '[data-toggle="lightbox"]', function(event) {
event.preventDefault();
$(this).ekkoLightbox();
});