Hi,
If i expand the menu (its the jquery
Mega menu) and you click on a language, a lightbox appear (UI modal dialog box).
When i click a language (in the menu). I want to hide the menu and show the modal dialog box.
The expand menu is hiding the UI modal box and in this case you can't click the button 'Download logo' because i think the menu is partly hiding the Dialog box... How do i solve this problem?
I tried it with this code but no result yet.
- $('.downloadbtn').click(function() {
- //strip off prefix of buttin id to get number for dialog
-
- $("ul#topnav li .sub").css({'opacity':'0'});
- $("ul#topnav li .sub li").hide();
- var landbtnIdPrefix = 'landbtn';
- var landbtnNum = $(this).attr('id').substring((landbtnIdPrefix.length));
-
- $('#box' + landbtnNum).dialog('open');
- });
But it's not really hiding the big menu ??? Because when i want to click a link inside the dialog box, the big menuis still covering the dialog box.
Thanks!