Las Vegas Hotels, Shows, Things to Do, Restaurants & Maps

Posted: December 23, 2022 at 10:01 am

');var header = $('[data-sv-header]');var mobileMenuOverlay = $('[data-menuOverlay]');var mobileMenuButton = $('.mobileNav .menuIcon');var mobileSearch = $('.search_widget_headerbox');mobileMenuButton.on('click', function(e) {$('body').toggleClass('menu-open');mobileMenuButton.toggleClass('open');mobileMenuOverlay.toggleClass('hidden');header.toggleClass('opened');if (header.hasClass('opened')) {if (mobileSearch.hasClass('opened')) {mobileSearch.removeClass('opened');}mobileSearch.hide();} else {mobileSearch.show();}e.preventDefault();});mobileMenuOverlay.on('click', function(e) {mobileMenuButton.trigger('click');e.preventDefault();});$(window).on('resize', function() {if (window.innerWidth > 1024 && header.hasClass('opened')) {mobileMenuButton.trigger('click');}});// Alter Your Reality nav functionalityif (window.location.href.indexOf('alter-reality-test') !== -1 ||window.location.href.indexOf('alteryourreality') !== -1) {var homeLink = '< Back to Homepage';$('.desktopNav').addClass('ayr');$('.desktopNav.ayr').prepend(homeLink);$('.desktopNav.ayr .logoWrapper .logo').attr('href','/alteryourreality/');$('.mobileNav').prepend(homeLink);$('.mobileLogoWrapper').addClass('ayr');$('.mobileLogoWrapper .logo').attr('href','/alteryourreality/');$('.mobileLogoWrapper .logo img').attr('src','/includes/public/assets/images/logo.ayr.png');}$('.logoWrapper').addClass('loaded');$('.mobileLogoWrapper').addClass('loaded');});

View original post here:

Las Vegas Hotels, Shows, Things to Do, Restaurants & Maps

Related Posts