PageSourceSearch

https://magicplanet.in/frontend/js/custom.js

js magicplanet.in collected 2026-10-07 12:17:02 UTC 2,856 bytes, 5 lines download raw bytes

1$.ajaxSetup({headers:{'X-CSRF-TOKEN':$('meta[name="csrf-token"]').attr('content')}});AOS.init();function openNav(){document.getElementById("mySidenav").style.width="320px"}
2function closeNav(){document.getElementById("mySidenav").style.width="0"}
3$(document).on('click',function(e){if($(e.target).closest("#mySidenav, .slide-menu").length===0){document.getElementById("mySidenav").style.width="0"}});$(window).scroll(function(){if($(this).scrollTop()>50){$('#topBar').addClass('sticky')}else{$('#topBar').removeClass('sticky')}});$(window).scroll(function(){if($(this).scrollTop()>=50){$('#return-to-top').fadeIn(200)}else{$('#return-to-top').fadeOut(200)}});$('#return-to-top').click(function(){$('body, html').animate({scrollTop:0},500)});$('.button').click(function(){$('.button.active').removeClass('active');$(this).addClass('active');$('.content.active').removeClass('active');var tabNumber=$(this).attr('data-tab');var tabToOpen=".content[data-tab='"+tabNumber+"']";$(tabToOpen).addClass('active')});$('.homeslider').owlCarousel({loop:!0,items:1,margin:0,padding:0,dots:!1,mouseDrag:!0,autoplay:!0,autoplayTimeout:3000,animateOut:'fadeOut',nav:!0,navText:['<img src="frontend/img/Path8.png" class="rotate">','<img src="frontend/img/Path8.png" >'],responsive:{0:{items:1},600:{items:1},1000:{items:1}}});$('.facilty').owlCarousel({items:5,margin:40,dots:!0,nav:!1,mouseDrag:!1,autoplay:!0,animateOut:'slideOutUp',responsive:{0:{items:2,margin:10,dots:!1,nav:!0,navText:['<img src="frontend/img/Path20.png" class="rotate">','<img src="frontend/img/Path20.png" >'],},600:{items:2,margin:10,dots:!1,nav:!0,navText:['<img src="frontend/img/Path20.png" class="rotate">','<img src="frontend/img/Path20.png" >'],},1000:{items:5}}});$('.eventsiteam').owlCarousel({loop:!0,items:1,margin:0,padding:40,dots:!1,nav:!0,navText:['<img src="frontend/img/Path8.png" class="rotate">','<img src="frontend/img/Path8.png" >'],responsive:{0:{items:1},600:{items:1},1000:{items:1}}});$('.testimonials2').owlCarousel({loop:!0,items:1,margin:0,padding:0,slideTransition:'linear',autoplayTimeout:3000,autoplaySpeed:3000,autoplayHoverPause:!0,smartSpeed:1000,dots:!1,nav:!0,navText:['<img src="frontend/img/Path20.png"  class="rotate">','<img src="frontend/img/Path20.png" >'],responsive:{0:{items:1},600:{items:1},1000:{items:1}}});$('.phoneno').keypress(function(evt){var charCode=(evt.which)?evt.which:evt.keyCode;if(charCode>31&&(charCode<48||charCode>57)){return!1}});var dtToday=new Date();var month=dtToday.getMonth()+1;var day=dtToday.getDate()+1;var year=dtToday.getFullYear();if(month<10)
4month='0'+month.toString();if(day<10)
5day='0'+day.toString();var tomorrow=year+'-'+month+'-'+day;$('#visiting_date').attr('min',tomorrow);$(".open-btn1").click(function(){$(this).toggleClass('btnactive');$("#search-wrap").toggleClass('panelactive');$('#search-text').focus()})

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.