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

Re: After activating a submenu (yuimenu), moving away does not hide it

Expand Messages
  • lil_crazy_gekko
    Hi Todd, That was it! Thank you so much for your help. Xin
    Message 1 of 5 , Oct 4, 2006
    • 0 Attachment
      Hi Todd,

      That was it!

      Thank you so much for your help.

      Xin

      --- In ydn-javascript@yahoogroups.com, Todd Kloots <kloots@...> wrote:
      >
      > Xin -
      >
      > Looks like the problem is that you have a variable
      > ("oCommunication") in your script block left over from
      > the example you copied. "oCommunication" is undefined
      > and is causing a JavaScript error, which is haulting
      > script execution, which is causing your menu to stop
      > working.
      >
      > My guess is that you intended this line:
      >
      > oService =
      > oCommunication.getItem(1).cfg.getProperty("submenu"),
      >
      > To be this:
      >
      > oService =
      > oMenuBar.getItem(1).cfg.getProperty("submenu"),
      >
      > Since the "service" menu is a submenu of the root menu
      > bar.
      >
      > - Todd
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.