Help with YUI menu bar config?

Discussion in 'JavaScript' started by Elisha, Sep 7, 2008.

  1. #1
    I'm trying to emulate the ABC menu on the Office Max website and when I wasn't able to get things working by downloading all of their code, I decided to try it with YUI. I've gotten the menubar to work fine and I can load it with what I want but I have one problem. I want the submenus to be full width just like on the Office Max site. I can set the width to whatever width the bar is at but I can't figure out how to align each submenu to the left of the menubar. Is there a config option for this?

    Also, is there a way to set the submenu width to match the menubar width? I can hard code it to 550px or whatever and that works, but setting it to 100% does the width of the page rather than the container element.

    Lastly, should I be using something else to emulate the menu from Office Max? I know they are using Prototype for theirs but I like how the YUI menubar is animated. Thoughts?

    Thanks!!!
     
    Elisha, Sep 7, 2008 IP