Vertical Menus

A place for discussion about skinning and design. Before posting questions here you should review the documentation about creating skins.

9/17/2014 11:54:34 AM
Gravatar
Total Posts 11

Vertical Menus

Hi,

I've read the documentation on Menu structure, but am still a little confused. 

Is it possible to have a vertical menu on ALL pages, and one that will show ALL pages/levels, not just the child pages of the current page.

I'm sorry if it's a stupid question.  I just can't seem to find the answer. :)

Thanks much!

6/18/2020 10:59:32 AM
Gravatar
Total Posts 211
Community Expert

mojoPortal Hosting & Design @ i7MEDIA!

Re: Vertical Menus

Hi Veronica,

Yes this is possible. Any menu type created in the theme.skin with portal:FlexMenu as its tag can be used to display all pages/levels, and you can style it to look however you'd like. The primary settings that cause the menu to show all pages/levels are StartingNodeOffset="-1" and MaxDataRenderDepth="-1" - these options allow you to control the starting node for the menu and the depth it will go to underneath that node, but when given a value of "-1" they both will show all pages/levels.

Most horizontal menus use some CSS trickery or some JavaScript to float the top level items in line and hide the child elements until the parent is hovered on. Without any CSS/JavaScript, your menu should be a normal UL that displays vertically, so you can start from there and build any styles you like.