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

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

Expand Messages
  • Abde Sassi
    Sep 3, 2006
    • 0 Attachment
      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