Kunena Menu
Submenu background color not loading
- m3communication
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 8
- Thank you received: 0
12 years 8 months ago - 12 years 8 months ago #17815
by m3communication
Submenu background color not loading was created by m3communication
Greetings,
i got a kind of urgent problem.
If i set my div container which holds the maximenuCK to "display:none" on pageload it wont load the background color for the submenus.
I need to only show the menu when i click on the "Menü" Button.
dev.m3-communication.de/lunow-upgrade/jupgrade/
If i dont use this function then everything works fine.
Any ideas? Please i need help
Thanks in advance!
i got a kind of urgent problem.
If i set my div container which holds the maximenuCK to "display:none" on pageload it wont load the background color for the submenus.
I need to only show the menu when i click on the "Menü" Button.
dev.m3-communication.de/lunow-upgrade/jupgrade/
If i dont use this function then everything works fine.
Any ideas? Please i need help
Thanks in advance!
Last edit: 12 years 8 months ago by m3communication.
Please Log in or Create an account to join the conversation.
12 years 8 months ago #17817
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Submenu background color not loading
Hi
I don't see it in action on your website
CEd
I don't see it in action on your website
CEd
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
- m3communication
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 8
- Thank you received: 0
12 years 8 months ago #17818
by m3communication
Replied by m3communication on topic Submenu background color not loading
tried couple things...
should be now as described
should be now as described
Please Log in or Create an account to join the conversation.
12 years 8 months ago #17819
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Submenu background color not loading
ok
give me the code that you use to make this (height:0 somewhere ? )
give me the code that you use to make this (height:0 somewhere ? )
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
- m3communication
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 8
- Thank you received: 0
12 years 8 months ago - 12 years 8 months ago #17820
by m3communication
Replied by m3communication on topic Submenu background color not loading
thats the js for toggling the menu div
thats the div containing the menu
and thats the css definition
Code:
$('#menubutton').click(function() {
if($('#mainmenu').css('display') == 'none'){
$('#mainmenu').css('display', 'block');
}else{
$('#mainmenu').css('display', 'none');
}
return false;
});
thats the div containing the menu
Code:
<div id="mainmenu"><jdoc:include type="modules" name="position-1" /></div>
and thats the css definition
Code:
#mainmenu{
display:none;
}
Last edit: 12 years 8 months ago by ced1870.
Please Log in or Create an account to join the conversation.
12 years 8 months ago #17821
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Submenu background color not loading
I think that the problem is because the menu is not "shown", then the submenu have not height properties.
if you edit the parent items in the menu manager, you can force the submenu height using the maximenu params options, try that
if you edit the parent items in the menu manager, you can force the submenu height using the maximenu params options, try that
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
Time to create page: 0.193 seconds




