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

16015Re: [ydn-javascript] Re: Constructing submenu problem

Expand Messages
  • dav.glass@yahoo.com
    Aug 1, 2007
    • 0 Attachment

       
      Dav Glass
      dav.glass@...
      blog.davglass.com
       
       
      + Windows: n. - The most successful computer virus, ever. +
      + A computer without a Microsoft operating system is like a dog
      without bricks tied to its head +
      + A Microsoft Certified Systems Engineer is to computing what a
      McDonalds Certified Food Specialist is to fine cuisine +

      Won --

      Looking at the API docs here:
      http://developer.yahoo.com/yui/docs/YAHOO.widget.Menu.html#clicktohide

      clicktohide is defaulted to true, which would behave as you see it. So the submenu will auto hide if the user clicks outside the menu.

      You should be able to get around this by making you config look like this:

      "leftmenu", {
      position:"static",
      hidedelay:750,
      lazyload:true,
      clicktohide: false
      }

      Hope that helps :)
      Dav

      ----- Original Message ----
      From: Won Sun Parque <idmail@...>
      To: ydn-javascript@yahoogroups.com
      Sent: Wednesday, July 25, 2007 3:31:14 PM
      Subject: [ydn-javascript] Re: Constructing submenu problem

      >_< I just realized a problem with the menu......

      If I click on the page outside of the menu, the menu dispears... @_@

      Did I do something wronge with the javascript?

      The page is at: http://www.wonsun. com/menu_ test.html.

      Thanks.
      Won Sun

      --- In ydn-javascript@ yahoogroups. com, dav.glass@.. . wrote:
      >
      > Won --
      >
      > Don't forget to show the menu :)
      > Under the render() call, place this line:
      > oMenu.show() ;
      >
      >
      > Dav
      >
      >
      > Dav Glass
      > dav.glass@.. .
      > blog.davglass. com
      >
      > + Windows: n. - The most successful computer virus, ever. +
      > + A computer without a Microsoft operating system is like a dog
      > without bricks tied to its head +
      > + A Microsoft Certified Systems Engineer is to computing what a
      > McDonalds Certified Food Specialist is to fine cuisine +
      >


    • Show all 8 messages in this topic