Kunena Menu
Dynamically set height of DIV containing Maximenu
13 years 2 months ago #12961
by RMA
Dynamically set height of DIV containing Maximenu was created by RMA
Hello All,
I have the MaxiMenu_CK located in a div called topMenu. I am looking for a way where the height of the topMenu is automatically increased with the height of the submenu (or div.floatck) when they are expanded.
The effect I am looking for is that the body of the page is automatically shifted downwards when the submenus open. When the submenus are closed the pages body should also shift upwards. An example of the effect can be seen on the site of the Louvre: www.louvre.fr
I am using the on click option for the menu behaviour.
Any ideas are greatly appreciated!!
p.s.: I am fairly new to building websites and not that familiar with Javascript. So please be gentle...
I have the MaxiMenu_CK located in a div called topMenu. I am looking for a way where the height of the topMenu is automatically increased with the height of the submenu (or div.floatck) when they are expanded.
The effect I am looking for is that the body of the page is automatically shifted downwards when the submenus open. When the submenus are closed the pages body should also shift upwards. An example of the effect can be seen on the site of the Louvre: www.louvre.fr
I am using the on click option for the menu behaviour.
Any ideas are greatly appreciated!!
p.s.: I am fairly new to building websites and not that familiar with Javascript. So please be gentle...
Please Log in or Create an account to join the conversation.
13 years 2 months ago #12963
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Dynamically set height of DIV containing Maximenu
Hi
someone already asked me this
for now this is not possible but I will be working on this soon after my holidays
CEd
someone already asked me this
for now this is not possible but I will be working on this soon after my holidays
CEd
Joomlack Webmaster and Developer
The following user(s) said Thank You: RMA
Please Log in or Create an account to join the conversation.
13 years 2 months ago #13072
by RMA
Replied by RMA on topic Dynamically set height of DIV containing Maximenu
Maybe anyone else have an idea on how to fix this?
Somewhere in the moomaximenuck.js maybe? I guess I just need a small push in the right direction.
Thanks!
Somewhere in the moomaximenuck.js maybe? I guess I just need a small push in the right direction.
Thanks!
Please Log in or Create an account to join the conversation.
13 years 2 months ago #13341
by RMA
Replied by RMA on topic Dynamically set height of DIV containing Maximenu
I am still stuck with this issue. Anyone able to help?
Thanks in advance for any replies...
Thanks in advance for any replies...
Please Log in or Create an account to join the conversation.
13 years 2 months ago #13342
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Dynamically set height of DIV containing Maximenu
as said I will do it when I can
But this is not easy and need a total recoding of the html structure and the script
But this is not easy and need a total recoding of the html structure and the script
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
13 years 1 month ago #13793
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Dynamically set height of DIV containing Maximenu
Hi
you can check the latest version of maximenu has this new feature :
www.joomlack.fr/en/joomla-extensions/maximenu-ck#pushdown
you can check the latest version of maximenu has this new feature :
www.joomlack.fr/en/joomla-extensions/maximenu-ck#pushdown
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
Time to create page: 0.202 seconds




