| 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 : |
$(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,
nav: 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();
});
$(".carsearch-mb-btn").click(function() {
$("#car-search-mb").show();
});
$("#car-search-cancel").click(function() {
$("#car-search-mb").hide();
});
$(".carsort-mb-btn").click(function() {
$(".car-sortingby").show();
});
$(".car-sort-cancel").click(function() {
$(".car-sortingby").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, .busfare, .bus-details-tab, .bus_tab_details-box-checked").on("click", function(e) {
$(this).addClass("active").siblings().removeClass("active");
});
})
$(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, #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, #visadate, #travelerDatePickerdetail, #from, #to" ).datepicker({
numberOfMonths: 2,
showButtonPanel: true,
buttonImageOnly: true,
//showButtonPanel: true,
//buttonImage: "public/images/calendar.png",
//buttonImageOnly: true,
dateFormat: 'dd-M-yy'
//showOn: "button",
//buttonText: "Select date",showOn: "both",
//onClose: function () {
// var event = arguments.callee.caller.caller.arguments[0];
// // If "Clear" gets clicked, then really clear it
// if ($(event.delegateTarget).hasClass('ui-datepicker-close')) {
// $(this).val('');
// }
//}
});
} );
function submitVisaSearchForm(){
var visaSearchFormVal = $('#visaSearchForm').val();
var put_select_destination = $('#put_select_destination').val();
if(put_select_destination == ''){
$('.select2-selection--single').addClass('select2-selection select2-selection--single visa-search-error');
$(".shakeThisDiv").effect("shake");
return false;
}
window.location.href = 'visa/'+getSeoName1(put_select_destination).toLowerCase()+'-visa.html';
}
function getvisaSearchValue(that){
var des = $(that).val();
$('#put_select_destination').val(des);
}
$(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();
});
$(document).ready(function() {
$(".bus-b-p-list").click(function () {
$(".bus-b-p-list").removeClass("active");
if($(this).find('a').hasClass('active')){
$(this).find('a').removeClass('active');
$($(this).find('a').attr('href')).removeClass('active');
return false;
}else{
$(this).addClass("active");
}
});
});
$(document).ready(function() {
$(".bus_tab_details-box-checked").click(function() {
$(this).find('input').prop('checked', true)
});
});
$(document).ready(function(){
$(".fare-toggle-btn").click(function(){
$(".fare-container").css("display","block");
$("h3").text("Hide Fare Details");
});
});
$(document).ready(function(){
$(".bus_tab_details-box-checked").click(function(){
$("#viewdetails-box").show();
});
});
$(function() {
$(".list2-radio li").on("click", function(e) {
$(".list2-radio li a").addClass("active").removeClass("active");
});
})
$(function() {
$("li.seat.available").on("click", function(e) {
$(this).addClass(".seat-filled");
});
})
$('.fa-angle-up').on('click', function() {
$(this).toggleClass('fa-angle-down fa-angle-up');
});
//
//
//document.addEventListener('keydown', function (e) {
// if (e.ctrlKey && e.keyCode === 85) { e.preventDefault(); return false; } else if (e.keyCode === 123) { e.preventDefault(); return false; }
//});
//
//function disableRightClick() {
// return false;
//}
//
//document.addEventListener('contextmenu', function (e) {
// e.preventDefault();
//});
///*Disable Right click ends*/
$('#gstinput').on('click', function() {
$("#gst-box").toggle()
});
$('.carsearch-mb-btn').on('click', function() {
$("#car-search-mb").show()
});
$('.carfilter-mb-btn').on('click', function() {
$("#filtercar").toggle()
});
//International flight search starts
$('#roundtrip-icon1').on('click', function() {
$("#roundtrip1").toggle()
});
$('#up-down-icon').on('click', function() {
$("#flightcollapse-1").toggle()
});
$('#roundtrip-icon2').on('click', function() {
$("#roundtrip2").toggle()
});
$('.multicity_form_boxshow .fa-chevron-circle-down').on('click', function() {
$(this).toggleClass('fa-chevron-circle-up fa-chevron-circle-down');
});
$('.in-flight-srch').on('click', function() {
$("#m-showsearch-fligth").show()
});
$('.internation-flight-search-Banner .cancel-btn').on('click', function() {
$(".internation-flight-search-Banner .srch_form").toggle()
});
//International flight search starts
// Loader starts
window.onload = function()
{
$('.loader').fadeOut();
}
$(function() {
$(".view_deatils_wrapper .nav-tabs li, .visa-listing li").on("click", function(e) {
$(this).addClass("active").siblings().removeClass("active");
});
})
//Domestic tour packages load more
$('.bpdp-change').on('click', function() {
$(".view-seats-details").show();
$("#viewdetails-box").hide();
});
$("input").attr("autocomplete", "off");
$(document).ready(function() {
$(".visa-listing li").click(function () {
$(".visacommon").removeClass("plus_height");
if($(this).find('.visacommon').hasClass('plus_height')){
$(this).find('.visacommon').removeClass('plus_height');
}else{
$(".visacommon").addClass("plus_height");
}
});
});
$(function() {
$(".navbar-collapse ul li").on("click", function(e) {
$(".navbar-collapse ul li a").addClass("active");
});
})
$(document).ready(function() {
$(".mobile_footer_bottomcontinuefixed a").click(function () {
$(".mobile_footer_bottomcontinuefixed a").removeClass("active");
if($(this).find('a').hasClass('active')){
$(this).find('a').removeClass('active');
}else{
$(this).addClass("active");
}
});
});
$('.flight-filter').on('click', function() {
$(".internation-flight-search-Banner .srch_form, .sortlisting-flight").hide();
});
$('.flight-modify').on('click', function() {
$("#flight-filter, .sortlisting-flight").hide();
});
$('.flight-sort').on('click', function() {
$(".internation-flight-search-Banner .srch_form, #flight-filter").hide();
});