Forums

vertical drop down menu (4 posts)

  1. davidhin
    Member
    Posted 4 years ago #

    Hi,

    Im looking for a vertical drop down menu or a theme which incorporates a vertical drop down menu.

    so in my side bar for example:

    categories
    test 1
    test 2
    test3

    when you click on test 1, it will drop down another menu

    categories
    test 1
    >testing a
    >testing b
    >testing c
    test 2
    test 3

    the same as this site
    http://www.moneyexpert.com/Compare-Current-Accounts.aspx

  2. guzh
    Member
    Posted 4 years ago #

  3. Ryan Hellyer
    Member
    Posted 4 years ago #

    It depends what you want in the menu.

    If it is WP pages, then use the depth=x parameter to limit the level of pages displayed intially, then set the theme to list another level sub-pages when on a lower level.

    http://codex.wordpress.org/Template_Tags/wp_list_pages#List_Sub-Pages_.28Wordpress_2.0.1_or_newer.29

    I don't particularly like that style of menu though as there is quite a long delay between when you click and the next menu item being available. I would be inclined to use Javascript (with HTML fallback) to display the menu items a little faster, I'm not sure how to do that though (my Javascript knowledge is rather feeble).

    It doesn't sound like quite what you are after, but I generally recommend creating a flyout menu with my dropdown menu plugin instead of the approach you are using. Unfortunately I haven't built in a flyout functionality to the CSS generator for my plugin yet, but I do customisations for a reasonable price if that's of interest to you.

  4. davidhin
    Member
    Posted 4 years ago #

    Thanks Ryan, I already have a drop down menu that I use, the reason I need a vertical drop down is the client has more page parents that would fit on a horizontal menu so I need to go vertical.

    Il have a look through the codex, see if i can work something out.

Topic Closed

This topic has been closed to new replies.

About this Topic