2

I am using the scrollable plugin, excellent stuff and works the way I want.

The only thing I want to change is the following:

I have a list of linked images that scroll. When I click on an image, the scroller still scrolls and looks a bit odd. How do I stop it when a user clicks on a link?

$("#scroller").scrollable().circular().autoscroll({autoplay: true, steps: 1});

Thanks in advance for your help.

EDIT

Tried this code as suggested by Patrick, doesn't seem to work.

$("#scroller").scrollable().circular().autoscroll({autoplay: true, steps: 1});

$('#scroller .box').click(function()
{
      $("#scroller").stop();
});

1 Answer 1

3

Solved it;

$("#scroller").scrollable({clickable: false}).circular().autoscroll({autoplay: true, steps: 1});
2
  • 2
    Excellent, now accept this answer for the next person who comes looking :) Feb 9, 2010 at 2:32
  • I can't yet Nick, I have to wait 2 days.
    – Keith
    Feb 9, 2010 at 2:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.