WordPress.org

Ready to get started?Download WordPress

Forums

Menubar
triggering a menu to open (4 posts)

  1. carlytx
    Member
    Posted 1 year ago #

    I have a follow up question to my previous post here (copy menu).

    Is there a way to trigger a menu item to open via code?

    We are thinking that instead of placing another menubar menu at the bottom of the screen we can just add some links to the top level menu items.

    For menu items that go directly to a single page (about, blog, contact, etc.) the bottom link would just open the requested page.

    For menu items that drop down several selections we would like to just trigger the top menubar to show the selected item (ex: Countries) (as if a user clicked on that item) displaying drop down selections (example:US, France, Italy, Spain, etc.).

    I hope this explanation is clear for what we are looking to do.

    thanks.

    http://wordpress.org/extend/plugins/menubar/

  2. Andrea Tarantini
    Member
    Plugin Author

    Posted 1 year ago #

    I'm not sure I understand what you need, but I am working on a Menubar API that allows you to build arbitrary menus directly in PHP code, without using the plugin settings page.

    If you are interested in receiving the beta version, please send me your email, mine is andrea@dontdream.it

  3. carlytx
    Member
    Posted 1 year ago #

    What we were looking for was a way to trigger a menu item (drop down) to trigger without pointing to it.

    We were thinking that if a user clicked on a link at the bottom of a webpage the menu item (on the menubar at the top of the screen) that they are interested in would drop down as though they hovered over it allowing them to select one of the drop down menu items. This would avoid having to place the whole multi-level menu structure at the bottom of the page.

    We would like to test the beta version but have too many things going on right now. Thanks for the offer.

  4. Andrea Tarantini
    Member
    Plugin Author

    Posted 1 year ago #

    The drop down selections in Suckerfish-like menus are displayed via CSS rules when the mouse hovers on the parent item.

    The effect you need can be achieved with a custom JavaScript, but I am not a JavaScript expert so I can't offer further advice - sorry!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic