Shape 5

Joomla Club Extensions => Accordion Menu - Club => : scorpio62 November 25, 2013, 03:55:31 AM



: SOLVED: How to hide the link if the menu item type = menu heading
: scorpio62 November 25, 2013, 03:55:31 AM
I am using the S5 accordion menu and I have some menu items with the menu item type = menu heading.
Unfortunately this menu points are also showing a link and if you click on it you run into an error page.

How can I hide this link?

Please check for example the Contacts menu on ims.lopoca.com.

Thank you


: Re: How to hide the link if the menu item type = menu heading
: jonahh November 25, 2013, 11:54:29 AM
Hello,

You can set these menu items to "external link" and then enter "javascript:;" for the link and this should have the same affect and won't try to load another page when clicked.


: SOLVED: Re: How to hide the link if the menu item type = menu heading
: scorpio62 November 25, 2013, 01:38:13 PM
Hello Jonah,

thank you for your tip. I tried it but I couldn`t figure out where to enter "javascript:;". In the link field I wasn`t able to save.
But I changed it now to "menu item alias" and took the first menu point from the submenu. This works perfect and has also the advantage to go directly in the right content.

Thank you 


: Re: SOLVED: How to hide the link if the menu item type = menu heading
: mikenicoll November 27, 2013, 06:29:21 PM
Hello,

If you want to use the javascript method with the newer versions of joomla you would need to enter this in the link field.

javascript:&#59;

-Mike


: Re: SOLVED: How to hide the link if the menu item type = menu heading
: scorpio62 November 27, 2013, 11:53:56 PM
Yes, this works!

Thank You
Klaus