File manager - Edit - /home/asiatechinc/public_html/asiatechinc-websites/hotelbhumi.com/js/script.js
Back
$(document).ready(function(){var pageloader=$("#pageloader");pageloader.liveloader({bgcolor:'#ED2437',bordercolor:'#222222',imgurl:'images/retina/general/bride-icon.png'});var pageloader=$("#fade-slider");if(pageloader.length){pageloader.slippry({captions:false,pager:false,controls:true,responsive:true});}function flip(){$('.bless-flipcard').toggleClass('flipped');}$(".btn-flip").on("click",flip);var instafeed=$("#instafeed");if(instafeed.length){var userFeed=new Instafeed({get:'user',userId:'3060559525',accessToken:'3060559525.d8d1d50.3a44a874c59d4a01b9babbf1871b525b',template:'<li><a href="{{link}}"><img src="{{image}}" alt="" class="img-responsive" /></a></li>',limit:6});userFeed.run();}var lightcase_icon=$("a[data-rel^=lightcase]");if(lightcase_icon.length){$(lightcase_icon).lightcase();}var countdown=$("#myCounter");if(countdown.length){$(countdown).mbComingsoon({expiryDate:new Date(2016,11,31,9,30),speed:100});[].slice.call(document.querySelectorAll('select.cs-select')).forEach(function(el){new SelectFx(el);});}$('body').scrollspy({target:"#Wedding_menu",offset:80});$("#Wedding_menu a").on('click',function(event){$("#myNavbar").removeClass('in');if(this.hash!==""){event.preventDefault();var hash=this.hash;$('html, body').animate({scrollTop:$(hash).offset().top-79},1500,'easeOutExpo',function(){history.pushState(null,null,hash);});}});$('input,textarea').on("focus",function(){var placeholderText=$(this).attr('placeholder');$(this).data('placeholder',$(this).attr('placeholder')).attr('placeholder','');$(this).closest('.form-group').append("<label class='lbl-text'>"+placeholderText+"</label>")}).blur(function(){$(this).attr('placeholder',$(this).data('placeholder'));$(this).closest('.form-group').find('label').remove();});var hexaw=$('.hexagon-in2').outerWidth()/2;var hexagap=hexaw+15;$('.hexa-gap').css('margin-left',hexagap);$(window).resize(function(){var hexaw=$('.hexagon-in2').outerWidth()/2;var hexagap=hexaw+15;$('.hexa-gap').css('margin-left',hexagap);});var offset_val=$('#Banner').height();function navSlide(){var scroll_top=$(window).scrollTop();if(scroll_top>=offset_val){$('.gototop').css('opacity','0.5');}else{$('.gototop').css('opacity','0');}}$(window).scroll(navSlide);$("a[href='#top']").on("click",function(){$("html, body").animate({scrollTop:0},1500,'easeOutExpo');return false;});var myTheme=window.myTheme||{},$win=$(window);myTheme.Isotope=function(){var isotopeContainer=$('.isotopeContainer');if(!isotopeContainer.length||!jQuery().isotope)return;$win.load(function(){isotopeContainer.isotope({itemSelector:'.isotopeSelector'});$('.isotopeFilters').on('click','a',function(e){$('.isotopeFilters').find('.active').removeClass('active');$(this).parent().addClass('active');var filterValue=$(this).attr('data-filter');isotopeContainer.isotope({filter:filterValue});e.preventDefault();});});};myTheme.Isotope();var owl=document.querySelectorAll(".owl-carousel");if(owl.length>0){$(owl).owlCarousel({loop:true,margin:10,navRewind:false,navText:["Next","Prev"],responsiveClass:true,responsive:{0:{items:1,nav:true,loop:false},600:{items:2,nav:true,loop:false},1000:{items:3,nav:true,loop:false}}});}});function togglePlay(){var myAudio=document.getElementById("myAudio");var isPlaying=$("#isPlaying").val();if(isPlaying==="true"){$("#isPlaying").val("false");myAudio.pause();}else{$("#isPlaying").val("true");myAudio.play();}}$("#togglePlay").on("click",function(){togglePlay();$(this).toggleClass('active');});$(window).load(function(){if($(window).width()>=1024){$("#togglePlay").trigger("click");}});
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.02 |
proxy
|
phpinfo
|
Settings