Quick Nav:  Online Store   |   Login | Register

Expanding menu when clicked

Rate this topic:

Please Register to post a reply. Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.
AuthorMessages
Mnemo
<50 Posts
Posts:27


06/21/2007 3:39 PM  
Hi John

Still can't get this menu to work how I would want it, this is what I have in the skin:


              
       

and it shows something like this (child items appearing underneath the entire parent menu):
Parent items
Improve memory
Mind Mapping
Self-Development

Child items (when Improve memory is clicked)
Mnemonics
Association etc

and I want it to look like this when improve memory is clicked:
Parent Items
Improve memory
    Child Items
    Mnemonics
    Association
Mind Mapping
Self-Development


Tried a bunch of variations but still can't see what I'm doing wrong and I'm pretty sure this should be dead straight forward.

Any ideas?

Mark
Mnemo
<50 Posts
Posts:27


06/21/2007 3:42 PM  
My skin code didn't show I'll use brackets instead of this <> and see if that makes a difference:

(Snapsis:NavMenu id="ParentTabs" Level="0-0" Type="Hover" ExcludeTabs="Admin,Host" runat="server" /)
             
        (Snapsis:NavMenu id="ChildTabsLevel1" Level="1-1" Type="Hover" OnlyExpandActive="True" ShowType="WithActiveParent" ExcludeTabs="Admin,Host" runat="server" /)
John Mitchell
Posts:3276


06/21/2007 5:54 PM  
Hi Mark,

To get a list of Menu Items that are embedded in your main menu you should do it all in one instance.

Snapsis:NavMenu id="NavMenu" Level="0-4" Type="Hover" OnlyExpandActive="True" ShowType="WithActiveParent" ExcludeTabs="Admin,Host" runat="server

You may also want to change the Type="Tabs" which will output a single UL with all the rest of the items being in that same list. Then you can set a margin for the specific levels in CSS.

The BlueLeftNav sample is very close to what you want, all you should need to do is add OnlyExpandActive="True" to that sample.
Please Register to post a reply. Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.
Forums >Snapsis Product Support >CSS NavMenu > Expanding menu when clicked



ActiveForums 3.7
Powered by: Snapsis Software