SimplePortal
Customization => Custom Coding => Topic started by: Petter on November 20, 2013, 02:22:41 AM
-
Does anyone know if its possible to put a code for a collasable menu in a php-block? And where can I get the code?
See attached images (menu "Varor" at http://www.ordochbok.se/ and menu "Handbok" at http://handbok.alternativ.nu/ )
The code doesn´t have to fetch the categories and boardnames, I can put hardcoded names and links to them in the code manually if it´s easier.
-
I'm going to be a grave digger and dig up this topic :D
There is already a block so to simpleportal? I searched but not found.
I saw that has a block of this well PortaMX complete. Helps a lot on the Forum
(http://fotos.eletronicabr.com.br/images/2016/03/28/portaMX.png)
-
It's enough to put a little javascript linked to an onclick event, not very hard :)
-
Old, this is already part of SP i think.
-
I do believe that if do the menu block, you can set it to be able to be collapsed.
-
The original request is actually a bit different, it's not the whole block to be collapsable or not, but more the inner elements. ;)
-
Really do not see a reason for it to be that way, IMHO.
The collapse button, does that, without leaving a bit of the 2nd part of the block, and looks cleaner.