Server IP : 172.67.216.182 / Your IP : 162.158.88.52 Web Server : Apache System : Linux krdc-ubuntu-s-2vcpu-4gb-amd-blr1-01.localdomain 5.15.0-142-generic #152-Ubuntu SMP Mon May 19 10:54:31 UTC 2025 x86_64 User : www ( 1000) PHP Version : 7.4.33 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /www/wwwroot/boathouseatalleppey.in/js/ |
Upload File : |
(function($){ "use strict"; /* Mobile Detect */ var isMobile = { Android: function() { return navigator.userAgent.match(/Android/i); }, BlackBerry: function() { return navigator.userAgent.match(/BlackBerry/i); }, iOS: function() { return navigator.userAgent.match(/iPhone|iPad|iPod/i); }, Opera: function() { return navigator.userAgent.match(/Opera Mini/i); }, Windows: function() { return navigator.userAgent.match(/IEMobile/i); }, any: function() { return (isMobile.Android() || isMobile.BlackBerry() || isMobile.iOS() || isMobile.Opera() || isMobile.Windows()); } }; /* Parallax */ var Parallax = function(){ jQuery(".parallax").each(function() { var parallaxId = $(this).attr('id'); $('#'+parallaxId).parallax("50%", 0.4); }); } /* Breadcrumb Full Screen */ var BreadcrumbFullScreen = function(){ var winHeight = $(window).height(); $("#under-construction-page").css({height:winHeight}); $("#home").css({height:winHeight}); var consTop = (winHeight - 390)/2; $('.under-cons-top').css({paddingTop:consTop}); } /* Tabs */ var Tabs = function(){ $('.panel-style a').click(function(){ $('.panel-luxen').find('.panel-style').removeClass('active'); $('.panel-luxen').removeClass('active-panel'); $('.panel-luxen').find('.plus-box').html('<i class="fa fa-angle-down"></i>'); $(this).parent().parent().addClass('active'); $(this).parent().parent().parent().addClass('active-panel'); $(this).parent().find('.plus-box').html('<i class="fa fa-angle-up"></i>'); }); $('.tabbed-area a').click(function (e) { e.preventDefault(); $(this).tab('show'); $('.tabbed-area').find('.active-tab').removeClass('active-tab'); $(this).parent('.about-destination-box').addClass('active-tab'); }); } var luxenContactForm = function(){ $(function(){ $('#ajax-contact-form').submit(function(e){ e.preventDefault(); jQuery.ajax({ type: 'POST', url: 'mail.php', data: $('#ajax-contact-form').serialize(), error:function(){ $('.contact-form').html("Error!"); }, //Hata veri success: function(veri) { $('.contact-form').html(veri);} //Başarılı }); }); }); } var AjaxReservation = function(){ $('#res-submit').click(function(e){ e.preventDefault(); jQuery.ajax({ type: 'POST', url: 'reservation.php?reservationstep=one', data: $('#ajax-reservation-form').serialize(), error:function(){ $('.reserve-form-area').html("Error!"); }, success: function(content) { $('.reserve-form-area').html(content);}, complete: function(){ $('#res-send').click(function(e){ e.preventDefault(); jQuery.ajax({ type: 'POST', url: 'reservation.php?reservationstep=two', data: $('#ajax-reservation-send').serialize(), error:function(){ $('.reserve-form-area').html("Error!"); }, success: function(content) { $('.reserve-form-area').html(content);} }); }); } }); }); } $(document).ready(function() { BreadcrumbFullScreen(); Tabs(); Parallax(); luxenContactForm(); AjaxReservation(); /* Mobile Menu */ $('.navigate').slicknav(); /* Mobile Menu */ /* PrettyPhoto */ $("a[rel^='prettyPhoto']").prettyPhoto({ animation_speed: 'fast', /* fast/slow/normal */ slideshow: 5000, /* false OR interval time in ms */ theme: 'light_square', social_tools:false }); /* SelectOrDie */ if(jQuery('.pretty-select').length){ $(".pretty-select").selectOrDie(); } /* Fitvids */ if(jQuery('.fitvids').length){ jQuery(".fitvids").fitVids(); } /* Flexslider */ $('.flexslider-thumb').flexslider({ animation: "slide", animationLoop: false, prevText: "", nextText: "", controlNav: "thumbnails" }); }); $(window).load(function(){ $('.flexslider').flexslider({ animation: "slide", animationLoop: false, prevText: "", nextText: "", start: function(slider) { $('.flexslider').removeClass('slider-loading'); } }); /* Isotope */ /* Isotope */ }); })(jQuery);