Loading ...
Sorry, an error occurred while loading the content.

Re: [ydn-javascript] Re: Is this even possible? (Y! Menu)

Expand Messages
  • Joe Desbonnet
    Try the dynamic menu at BrainJar.com. I first came across it in the default template in OpenCms. I ve subsequently used it in a few OpenCms templates. Works
    Message 1 of 12 , Jun 28, 2006
    • 0 Attachment
      Try the dynamic menu at BrainJar.com. I first came across it in the
      default template in OpenCms. I've subsequently used it in a few
      OpenCms templates. Works well in both IE and Firefox.

      Joe.


      On 6/29/06, Todd Kloots <kloots@...> wrote:
      > All of the configuration properties for Menu and
      > MenuItem are listed on the main page for Menu:
      >
      > http://developer.yahoo.com/yui/menu/
      >
      > Specifically, in these two sections:
      >
      > http://developer.yahoo.com/yui/menu/#configreference
      > http://developer.yahoo.com/yui/menu/#mitemconfigref
      >
      > - Todd
      >
      > --- elebsbc <eleb@...> wrote:
      >
      > > Fantastic, that did the trick. I have updated my
      > > test pages with the
      > > relavant changes.
      > >
      > > Thanks a bunch for your help with this.
      > >
      > > Also... Is there anywhere that I can find the
      > > property list for the
      > > menus/menuitems etc...? I tried here,
      > >
      > http://developer.yahoo.com/yui/docs/menu/index-all.html
      > >
      > <http://developer.yahoo.com/yui/docs/menu/index-all.html>
      > > and also
      > > looked all over here
      > > http://developer.yahoo.com/yui/docs/menu/
      > > <http://developer.yahoo.com/yui/docs/menu/> but I
      > > wasn't able to find
      > > the full list I guess, because I wasn't able to find
      > > the
      > > "constraintoviewport" property anywhere. Is this
      > > information available
      > > somewhere else that I didn't look?
      > >
      > > Again, thanks a lot for all of your help with this.
      > >
      > >
      > > --- In ydn-javascript@yahoogroups.com, Todd Kloots
      > > <kloots@...> wrote:
      > > >
      > > > You can accomplish this by setting the
      > > > "constraintoviewport" configuration property to
      > > > "true:"
      > > >
      > > > var oMenu = new YAHOO.widget.Menu("mymenu", {
      > > > constraintoviewport: true } );
      > > >
      > > > --- elebsbc eleb@... wrote:
      > > >
      > > > > O yeah, one more question I had... Could you
      > > point
      > > > > me in the right
      > > > > direction as to how I could make the submenus
      > > show
      > > > > on the left of it's
      > > > > parent if showing it on the right would make the
      > > > > menu show beyond the
      > > > > size of the viewport? If you look at my example
      > > > > menu, and resize your
      > > > > browser down to about 800x600, then hover over
      > > > > "Programs" then
      > > > > "Professional Education" and then finally
      > > > > "Fundamentals of Stock Plan
      > > > > Administration", you will see that the menu
      > > flows
      > > > > beyond the size of
      > > > > the viewport. So, in that case I would like to
      > > make
      > > > > those submenus
      > > > > fold out on the left side instead of the right.
      > > > >
      > > > > Could you help point me in the right direction
      > > to
      > > > > accomplish this?
      > > > >
      > > > > Thanks.
      > > > >
      > > > > --- In ydn-javascript@yahoogroups.com, "elebsbc"
      > > > > eleb@ wrote:
      > > > > >
      > > > > > Thanks for the link. By looking at that code
      > > plus
      > > > > some of your other
      > > > > > examples, I was able to get the type of menu
      > > that
      > > > > i was looking for.
      > > > > > I have just one question/problem though...
      > > When
      > > > > all of the menu items
      > > > > > on the menubar have submenus I get the down
      > > arrow
      > > > > on all of the
      > > > > > menuitems on the menubar. If i take the
      > > submenu
      > > > > off of the last
      > > > > > menuitem on the menubar, then I get the carret
      > > >
      > > > > instead... But if I
      > > > > > take off any other submenu from any other
      > > menubar
      > > > > item, then i still
      > > > > > get the down arrows. Why does this do this?
      > > What
      > > > > I would like, is
      > > > > > for the menubar to have the down arrow, and
      > > for
      > > > > the submenus to have
      > > > > > the carret. Is this a bug in the my code or
      > > in
      > > > > the menu code or
      > > > > > something?
      > > > > >
      > > > > > Here are some links to sample pages (I think
      > > this
      > > > > code sample would
      > > > > > make a good one to add to your sandbox
      > > examples):
      > > > > >
      > > > > > http://tehone.com/yui/examples/menu/Test1.html
      > > > > >
      > > <http://tehone.com/yui/examples/menu/Test1.html>
      > > > > (full menus)
      > > > > > http://tehone.com/yui/examples/menu/Test2.html
      > > > > >
      > > <http://tehone.com/yui/examples/menu/Test2.html>
      > > > > (missing one submenu)
      > > > > > http://tehone.com/yui/examples/menu/Test3.html
      > > > > >
      > > <http://tehone.com/yui/examples/menu/Test3.html>
      > > > > (missing submenu on
      > > > > > last menubar item)
      > > > > >
      > > > > > Any comments? Or a fix/change for the
      > > mentioned
      > > > > problems?
      > > > > >
      > > > > > Thanks.
      > > > > > --- In ydn-javascript@yahoogroups.com, Todd
      > > Kloots
      > > > > <kloots@> wrote:
      > > > > > >
      > > > > > > Yes, it is possible:
      > > > > > >
      > > > > > >
      > > > >
      > > >
      > >
      > http://yuiblog.com/sandbox/yui/v010/examples/menu/example2.html
      > > > > > >
      > > > > > >
      > > > > > > --- elebsbc eleb@ wrote:
      > > > > > >
      > > > > > > > I am trying to replace an aged HierMenus
      > > > > navigation
      > > > > > > > with something
      > > > > > > > more modern and something that actually
      > > works
      > > > > in no
      > > > > > > > IE browsers. I
      > > > > > > > wanted to use the menu from the UI Lib.
      > > So
      > > > > far I
      > > > > > > > haven't been able to
      > > > > > > > get it to work. I have tried a few
      > > different
      > > > > ways
      > > > > > > > and so far I have
      > > > > > > > had no luck getting it to work right.
      > > > > > > >
      > > > > > > > Basically, what I need is this... 1
      > > MenuBar
      > > > > with the
      > > > > > > > ability to hve 3
      > > > > > > > submenus under each MenuItem.
      > > > > > > >
      > > > > > > > Here is a screen shot of what I am trying
      > > to
      > > > > > > > replicate:
      > > > > > > > http://tehone.com/hiermenus.jpg
      > > > > > > > <http://tehone.com/hiermenus.jpg>
      > > > > > > >
      > > > > > > > And here is the closest I have gotten so
      > > far
      > > > > using
      > > > > > > > the Y! Menu:
      > > > > > > > http://tehone.com/YahooUIMenu.jpg
      > > > > > > > <http://tehone.com/YahooUIMenu.jpg>
      > > > > > > > As you can see from the picture, the first
      > > > > submenu
      > > > > > > > under the menubar
      > > > > > > > shows up just fine, it's the submenus of
      > > the
      > > > > submenu
      > > > > > > > that are not
      > > > > > > > working right.
      > > > > > > >
      > > > > > > > Can anyone offer some guideance? Or just
      > > let
      > > > > me
      > > > > > > > know if this is
      > > > > > > > impossible with the current Y! Menu?
      > > > > > > >
      > > > > > > > Thanks.
      > > > > > > >
      > > > > > >
      > > > > >
      > > > >
      > > > >
      > > > >
      > > > >
      > > > >
      > > > >
      > > > >
      > > > > ------------------------ Yahoo! Groups Sponsor
      > >
      > === message truncated ===
      >
      >
      >
      >
      >
      > Yahoo! Groups Links
      >
      >
      >
      >
      >
      >
      >
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.