Yeah, I see the hidden slider too when clicking and dragging. 
Looking at firebug, it looks like a copy of the handle is made while
sliding, and that is what is showing up.

Maybe there is a solution with unbind? May not even need to have the hidden
handle if we could just unbind the action from the slider. I will look at
this later today. If you make any headway, let me know

-----Original Message-----
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of skimber
Sent: Monday, April 23, 2007 11:10 AM
To: jQuery (English)
Subject: [jQuery] Re: Interface Slider - Clicks don't trigger onChange event


Thanks for the suggestion!

On first try I've got some strange stuff happening if i click and
inadvertently drag a little.  The hidden slider appears while being
dragged and then disappears again when let go...  but maybe some
tweaking can solve that...

Maybe we could override the click event somehow?  Sadly the following
doesn't work:

        $('.slider').click(function(){ return false; }).Slider(
                {
                        accept : '.indicator',
                        fractions: 100,
                        onChange : function( cordx, cordy, x , y) {  /* Do
Stuff Here */ },
                        values: [ [200,0] ]
                }
        );

Nor does it work if i move the .click() to after the .Slider() .  Also
tried adding .unbind('click') but no joy there either. If there's some
way of making it work then that would be the cleanest solution
probably.  Any ideas? :)






On Apr 23, 5:21 pm, "Geoffrey Knutzen" <[EMAIL PROTECTED]>
wrote:
> If you can get by without the ability to click on the slider to get the
> handle to move, you might try a real ugly hack.
>
> You can put two handles on the slider, and then hide the first handle.
Only
> the first handle is affected by clicking on the slider.
>
> It is ugly, but might solve your problem.
>
> BTW, I wish there were a way to disable the feature of clicking on the
> slider instead of the handle. It gets very confusing if you have multiple
> handles on one slider. You click on the slider and you are not sure which
> handle will move if the handles have been mixed together.
>
>
>
> -----Original Message-----
> From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
>
> Behalf Of skimber
> Sent: Monday, April 23, 2007 5:45 AM
> To: jQuery (English)
> Subject: [jQuery] Re: Interface Slider - Clicks don't trigger onChange
event
>
> Hi all,
>
> If anybody can suggest a way of working around this bug, or fixing it,
> I would be hugely grateful!
>
> I've not had any response to my bug report and this bug is now the
> only thing preventing me from finishing a project.
>
> Any help would be very much appreciated!
>
> Thanks
>
> Simon
>
> On Apr 13, 4:29 pm, "skimber" <[EMAIL PROTECTED]> wrote:
> > If anyone's interested I have now posted this as a bug report here:
>
> >http://dev.jquery.com/ticket/1122- Hide quoted text -
>
> - Show quoted text -

Reply via email to