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

Slider lock

Expand Messages
  • siddh_3376
    hello, i m using YAHOO.widget.Slider and it seems the lock method doesn t work ! Example : sliders[slName].slider =
    Message 1 of 4 , Mar 6, 2006
    • 0 Attachment
      hello,
      i'm using YAHOO.widget.Slider and it seems the lock method doesn't work !

      Example :

      sliders[slName].slider =
      YAHOO.widget.Slider.getHorizSlider("slider"+slName,
      "s"+slName+"Molette", sliders[slName].min, sliders[slName].max,
      sliders[slName].step);
      sliders[slName].slider.lock();

      the slider works good but isn't locked :(
    • François Dussert
      hello, how can i lock a slider ? i ve try the lock method but it does nt work ... siddh
      Message 2 of 4 , Mar 7, 2006
      • 0 Attachment
        hello, how can i lock a slider ?
        i've try the lock method but it does'nt work ...
        siddh
      • Adam Moore
        ... You re right, there is a problem with lock() if you try to do it right after creating the control with animation turned on. This has been addressed, and
        Message 3 of 4 , Mar 7, 2006
        • 0 Attachment
          On Mon, Mar 06, 2006 at 05:03:46PM -0000, siddh_3376 wrote:
          > hello,
          > i'm using YAHOO.widget.Slider and it seems the lock method doesn't work !

          You're right, there is a problem with lock() if you try to do it right
          after creating the control with animation turned on. This has been
          addressed, and will be in the next release. One way to hack around the
          issue in the meantime is to use setTimeout to lock the control after a
          hundred milliseconds or so.

          -Adam
        • François Dussert
          thanks a lot that s good :) _____ De : ydn-javascript@yahoogroups.com [mailto:ydn-javascript@yahoogroups.com] De la part de Adam Moore Envoyé : mardi 7 mars
          Message 4 of 4 , Mar 7, 2006
          • 0 Attachment
            thanks a lot that's good :)


            De : ydn-javascript@yahoogroups.com [mailto:ydn-javascript@yahoogroups.com] De la part de Adam Moore
            Envoyé : mardi 7 mars 2006 09:31
            À : ydn-javascript@yahoogroups.com
            Objet : Re: [ydn-javascript] Slider lock

            On Mon, Mar 06, 2006 at 05:03:46PM -0000, siddh_3376 wrote:
            > hello,
            > i'm using YAHOO.widget.Slider and it seems the
            lock method doesn't work !

            You're right, there is a problem with lock() if you try to do it right
            after creating the control with animation turned on.  This has been
            addressed, and will be in the next release.  One way to hack around the
            issue in the meantime is to use setTimeout to lock the control after a
            hundred milliseconds or so. 

            -Adam
          Your message has been successfully submitted and would be delivered to recipients shortly.