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

Re: how to dynamically change the menu of a Button ?

Expand Messages
  • ragazzo_3000
    Just wanted to say thanks again for the great example you sent me. It is exactly what I needed and it works great. Your yui blog is awesome, by the way! ...
    Message 1 of 6 , Feb 27, 2008
    View Source
    • 0 Attachment
      Just wanted to say thanks again for the great example you sent me. It
      is exactly what I needed and it works great. Your yui blog is
      awesome, by the way!

      --- In ydn-javascript@yahoogroups.com, Dav Glass <dav.glass@...>
      wrote:
      >
      > ragazzo_3000 --
      >
      > This example does that:
      > http://blog.davglass.com/files/yui/button6/
      >
      > Hope that helps :)
      > 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 +
      >
      > ----- Original Message ----
      > From: ragazzo_3000 <ragazzo_3000@...>
      > To: ydn-javascript@yahoogroups.com
      > Sent: Tuesday, February 26, 2008 1:44:21 PM
      > Subject: [ydn-javascript] how to dynamically change the menu of a
      Button ?
      >
      > I am creating a button of type menu, with a select as it's menu.
      > Then at some point I need to replace the menu with a new one,
      created
      > from an array of MenuItems, using the method: myButton.set('menu',
      > newMenu);... However this doesn't do anything. I cannot find any
      > examples of this either. Any help will be appreciated.
      >
      >
      >
      >
      > Yahoo! Groups Links
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.