How to keep the menu closed
12 years 1 month ago #6114
by poyyerphx
How to keep the menu closed was created by poyyerphx
Hi JoomlaCK staff!
First of all, THAN YOU for this awesome module!!!
My question is... how to keep the CK Menu closed after clicking one of the sub-menu items. For example, in the homepage the menu displays closed (Great, as it should be), but when you click in one of the sub-menu items and go to that page, the CK menu appears already open. I thought it had something to do with the active state style of the sub-menu items, so I tried to modify my CSS, but still no luck: the CK menu keeps open unless I manually close it.
Hope you could give me some advice regarding this.
Thanks again for the module.
First of all, THAN YOU for this awesome module!!!
My question is... how to keep the CK Menu closed after clicking one of the sub-menu items. For example, in the homepage the menu displays closed (Great, as it should be), but when you click in one of the sub-menu items and go to that page, the CK menu appears already open. I thought it had something to do with the active state style of the sub-menu items, so I tried to modify my CSS, but still no luck: the CK menu keeps open unless I manually close it.
Hope you could give me some advice regarding this.
Thanks again for the module.
Please Log in or Create an account to join the conversation.
12 years 1 month ago #6116
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic How to keep the menu closed
Hi
yes this is the standard behavior. If you want to change this you must hack the JS file and disable the line :
Ced
yes this is the standard behavior. If you want to change this you must hack the JS file and disable the line :
Code:
show: activetoggler,
Joomlack Webmaster and Developer
The following user(s) said Thank You: poyyerphx
Please Log in or Create an account to join the conversation.
12 years 1 month ago #6117
by poyyerphx
Replied by poyyerphx on topic How to keep the menu closed
WOW that was FAST!
Thanks a lot Ced!
Best Regards!
Thanks a lot Ced!
Best Regards!
Please Log in or Create an account to join the conversation.
12 years 1 month ago #6139
by poyyerphx
Replied by poyyerphx on topic How to keep the menu closed
Hi Ced!
Sorry to bother you again with this. I tried disabling the "show: activetoggler," line by commenting it, but the result I got was that the CK Menu is always displayed open (which is the opposite effect I was looking for).
Am I doing something wrong? or is there a specific way to achieve this. (I attached a screenshot)
Thanks again for the great support
Best Regards.
Sorry to bother you again with this. I tried disabling the "show: activetoggler," line by commenting it, but the result I got was that the CK Menu is always displayed open (which is the opposite effect I was looking for).
Am I doing something wrong? or is there a specific way to achieve this. (I attached a screenshot)
Thanks again for the great support
Best Regards.
Please Log in or Create an account to join the conversation.
12 years 1 month ago #6149
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic How to keep the menu closed
ok, give it the value -1 :
Code:
show: -1,
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
12 years 1 month ago #6167
by nicob
Replied by nicob on topic How to keep the menu closed
Hi Ced,
Thanks for the awesome module!
I don't have the same problem as the topic opener, but I think the source is the same.
My problem: I would like that the main menu opens in the accordeon style, when I load the page. Therefore I tried what happens if I comment the "show: activetoggler" line, and (surprisingly for me) the menu opens in accordeon style, when I load the page. But the problem is that the first menu point is activated and the according submenu is also open.
Is there a way that the menu opens like a accordeon, but that no menu point is activated? That would be great.
Thanks a lot for the support.
Cheers,
nicob
Thanks for the awesome module!
I don't have the same problem as the topic opener, but I think the source is the same.
My problem: I would like that the main menu opens in the accordeon style, when I load the page. Therefore I tried what happens if I comment the "show: activetoggler" line, and (surprisingly for me) the menu opens in accordeon style, when I load the page. But the problem is that the first menu point is activated and the according submenu is also open.
Is there a way that the menu opens like a accordeon, but that no menu point is activated? That would be great.
Thanks a lot for the support.
Cheers,
nicob
Please Log in or Create an account to join the conversation.
Time to create page: 0.220 seconds