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

4630Re: [ydn-javascript] Re: Can I modify context menu triggers?

Expand Messages
  • Todd Kloots
    Sep 6, 2006
    • 0 Attachment
      I'll implement that feature in the next release.
      Thanks for the idea.

      --- Abde Sassi <abde_sassi@...> wrote:

      > BTW,
      >
      > Would be nice if the trigger can be set to null,
      > indicting that the context menu is "disabled". Right
      > now, the null value is not allowed.
      >
      > Best Regards,
      >
      > nklylv <nklylv@...> wrote:
      > Excellent!
      >
      > Thanks a lot Todd!
      >
      > --- In ydn-javascript@yahoogroups.com, Todd Kloots
      > <kloots@...> wrote:
      > >
      > > "nklylv" -
      > >
      > > You can use the configuration object's
      > "setProperty"
      > > method to reset the "trigger" configuration
      > property
      > > on the fly. Here's some psuedo code for ya:
      > >
      > > oContextMenu.cfg.setProperty("trigger", [YOUR
      > > TRIGGER(S)]);
      > >
      > > Hope that helps you.
      > >
      > > - Todd
      > >
      > > --- nklylv <nklylv@...> wrote:
      > >
      > > > Hi all,
      > > >
      > > > I am still new to the UI library and I think it
      > is
      > > > really great!
      > > >
      > > > I just encountered a situation where I would
      > like to
      > > > modify a context
      > > > menu trigger on the fly. The "modify" should be
      > > > interpreted as both
      > > > adding new triggers and removing existing ones.
      > > >
      > > > Is that possible, and if so how do I go about
      > it?
      > > >
      > > > Thanks a lot! Your feedback is very much
      > > > appreciated!
      > > >
      > > >
      > > >
      > > >
      > > >
      > > >
      > > >
      > > >
      > > > Yahoo! Groups Links
      > > >
      > > >
      > > > ydn-javascript-unsubscribe@yahoogroups.com
      > > >
      > > >
      > > >
      > > >
      > > >
      > > >
      > > >
      > >
      >
      >
      >
      >
      >
      >
      > ---------------------------------
      > Talk is cheap. Use Yahoo! Messenger to make
      > PC-to-Phone calls. Great rates starting at 1ยข/min.
    • Show all 5 messages in this topic