Citywide Free Trolley (2024)

');}this._toggleMenu();},/** * Initialize Overlay Menu. * * @since 1.6.0 * @return void */__initializeFullScreen: function() {if ( this.isBuilderActive ) {this._toggleMenu();return;}if ( 'always' === this.mediaBreakpoint || this.mediaBreakpoint >= this.currentBrowserWidth ) {$(this.nodeClass).find('.uabb-creative-menu.full-screen').appendTo('body').wrap('

');}this._toggleMenu();},/** * Trigger the toggle event for off-canvas. * and full-screen overlay menus. * * @since 1.6.0 * @return void */_toggleMenu: function() {var self = this;// Toggle Click$(self.nodeClass).find('.uabb-creative-menu-mobile-toggle' ).off().on( 'focus', function( e ) {$(this).on('keypress', function(e) {if(e.which === 13) {$(this).trigger('click');}});} );$(self.nodeClass).find('.uabb-creative-menu-mobile-toggle' ).off('click').on( 'click', function() {if( $(self.nodeClass).find('.uabb-creative-menu').hasClass('menu-open') ) {$(self.nodeClass).find('.uabb-creative-menu').addClass('menu-close');$(self.nodeClass).find('.uabb-creative-menu').removeClass('menu-open');} else {$(self.nodeClass).find('.uabb-creative-menu').addClass('menu-open');}} );// Close button click$(self.nodeClass).find('.uabb-creative-menu .uabb-menu-close-btn, .uabb-clear' ).on( 'click', function() {$(self.nodeClass).find('.uabb-creative-menu').addClass('menu-close');$(self.nodeClass).find('.uabb-creative-menu').removeClass('menu-open');} );if ( this.isBuilderActive ) {setTimeout(function() {if ( $('.fl-builder-settings[data-node="'+self.settingsId+'"]').length > 0 ) {$('.uabb-creative-menu').removeClass('menu-open');$(self.nodeClass).find('.uabb-creative-menu-mobile-toggle').trigger('click');}}, 600);FLBuilder.addHook('settings-form-init', function() {if ( ! $('.fl-builder-settings[data-node="'+self.settingsId+'"]').length > 0 ) {return;}if ( ! $(self.nodeClass).find('.uabb-creative-menu').hasClass('uabb-menu-overlay') ) {$('.fl-builder-panel').css('z-index', '999999');}if ( ! $(self.nodeClass).find('.uabb-creative-menu').hasClass('menu-open') ) {$('.uabb-creative-menu').removeClass('menu-open');$('.uabb-creative-menu-mobile-toggle').removeClass('uabb-active');$(self.nodeClass).find('.uabb-creative-menu-mobile-toggle').trigger('click');}});}},/** * Check to see if Below Row should be enabled. * * @since 1.11.0 * @return boolean */_isMobileBelowRowEnabled: function() {return this.mobileBelowRow && $( this.nodeClass ).closest( '.fl-col' ).length;},/** * Logic for putting the mobile menu below the menu's * column so it spans the full width of the page. * * @since 1.11.0 * @return void */_placeMobileMenuBelowRow: function() {if ( $( this.nodeClass + '-clone' ).length ) {return;}var module = $( this.nodeClass ),clone = null,col = module.closest( '.fl-col' );if ( module.length < 1 ) {return;}clone = ( module.length > 1 ) ? $( module[0] ).clone() : module.clone();module.find( 'ul.menu' ).css('display','none');clone.addClass( ( this.nodeClass + '-clone' ).replace( '.', '' ) );clone.find( '.uabb-creative-menu-mobile-toggle' ).remove();col.after( clone );this._menuOnClick();},/** * Logic for removing the mobile menu from below the menu's * column and putting it back in the main wrapper. * * @since 1.11.0 * @return void */_removeMenuFromBelowRow: function(){if ( ! $( this.nodeClass + '-clone' ).length ) {return;}var module = $( this.nodeClass );module.find( 'ul.menu' ).css('display','none'),clone = $( this.nodeClass + '-clone' );menu = clone.find( 'ul.menu' );module.find( 'ul.menu' ).after( menu );clone.remove();},/** * Init any mega menus that exist. * * @see this._isMenuToggle() * @since 1.6.0 * @return void */_initMegaMenus: function() {var module = $( this.nodeClass ),rowContent = module.closest( '.fl-row-content' ),rowWidth = rowContent.width(),rowOffset = ( rowContent.offset.left != undefined ) ? rowContent.offset().left : '',megas = module.find( '.mega-menu' ),disabled = module.find( '.mega-menu-disabled' ),isToggle = this._isMenuToggle();if ( isToggle ) {megas.removeClass( 'mega-menu' ).addClass( 'mega-menu-disabled' );module.find( 'li.mega-menu-disabled > ul.sub-menu' ).css( 'width', '' );rowContent.css( 'position', '' );} else {disabled.removeClass( 'mega-menu-disabled' ).addClass( 'mega-menu' );module.find( 'li.mega-menu > ul.sub-menu' ).css( 'width', rowWidth + 'px' );rowContent.css( 'position', 'relative' );}},};})(jQuery);jQuery(document).ready(function(){new UABBCreativeMenu({id: 'u7oqxt3rwhky',type: 'vertical',mobile: 'hamburger',mobileBelowRow: false,breakPoints: {medium: 1024,small: 768,custom: 768},mobileBreakpoint: 'medium-mobile',mediaBreakpoint: '1024',mobileMenuType: 'off-canvas',fullScreenAnimation: '',isBuilderActive: false});});/* Start Layout Custom JS */jQuery(document).ready(function($) { // Wait for the document to be ready var targetClass = 'city-footer'; // Replace with your actual custom class // Find the row with the custom class var targetRow = $('.fl-row.' + targetClass); // Check if the row is found if (targetRow.length > 0) { // Add ARIA roles to the row targetRow.attr('role', 'navigation'); // Change 'main' to your desired ARIA role }});jQuery(document).ready(function($) { // Wait for the document to be ready var targetClass = 'mainmenu'; // Replace with your actual custom class // Find the menu module with the custom class var targetMenu = $('.fl-menu.' + targetClass); // Check if the menu is found if (targetMenu.length > 0) { // Add ARIA roles to the menu targetMenu.attr('role', 'menu'); // Change 'navigation' to your desired ARIA role }});/* End Layout Custom JS */

Citywide Free Trolley (2024)

References

Top Articles
Latest Posts
Article information

Author: Frankie Dare

Last Updated:

Views: 5822

Rating: 4.2 / 5 (73 voted)

Reviews: 80% of readers found this page helpful

Author information

Name: Frankie Dare

Birthday: 2000-01-27

Address: Suite 313 45115 Caridad Freeway, Port Barabaraville, MS 66713

Phone: +3769542039359

Job: Sales Manager

Hobby: Baton twirling, Stand-up comedy, Leather crafting, Rugby, tabletop games, Jigsaw puzzles, Air sports

Introduction: My name is Frankie Dare, I am a funny, beautiful, proud, fair, pleasant, cheerful, enthusiastic person who loves writing and wants to share my knowledge and understanding with you.