Start a new discussion

To start a new discussion please visit the discussions section of the GitHub home page of the project.

Discussions on GitHub

You can also search our old self-hosted forums for any useful information below but please note that posting new content here is not possible any more.

SmartMenus with JQuery BlockUI plugin

Home Forums Older releases 0.9.x SmartMenus with JQuery BlockUI plugin

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1314
    muscatian
    Participant

    Dear Folks,

    I am using Smartmenus and getting problem with Blockui plugins when I block my page during Ajax call using Blockui plugin SmarMenus not blocked and user can access menus while other items on page is blocked (I check this behave in Google chrome) in IE 9.0 it is working fine.

    kindly guide me how could it be solved?

    #1560
    admin
    Keymaster

    Hi,

    You will need to tweak the z-index for either your menu tree or BlockUI. By default the menu tree uses 9999 – i.e.:

    	#main-menu {
    		position:relative;
    		z-index:9999;
    		width:auto;
    	}

    and, as far as I can see, BlockUI uses 1000.

    So you could either use something like:

    	#main-menu {
    		position:relative;
    		z-index:500;
    		width:auto;
    	}

    or this option for BlockUI:

    $.blockUI({ baseZ: 15000 });

    Cheers!

    #1595
    muscatian
    Participant

    #main-menu {
    position:relative;
    z-index:500;
    width:auto;
    }

    This work perfectly.

    Thanks for your valuable suppert

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘0.9.x’ is closed to new topics and replies.