You will recieve your password to this address. Address is not made public.

Your preferred username that is used when logging in.

Scrollable: On Click, stop scrolling? Created Feb 9, 2010

This thread is solved

Views: 2282     Replies: 2     Last reply Jul 19, 2010  
You must login first before you can use this feature

babyboy808

Posts: 1

Registered:
Feb 9, 2010

Scrollable: On Click, stop scrolling?

Posted: Feb 9, 2010

Hi Guys,

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?

Thanks in advance for your help.

Sanguine

Posts: 1

Registered:
Apr 12, 2010

» Scrollable: On Click, stop scrolling?

Posted: Apr 12, 2010

Reply to: Scrollable: On Click, stop scrolling?, from babyboy808
I'd like to know this as well.

I tried something like this:


'$('.scrollable').each(function() {
    $('#' + $(this).attr('id')).scrollable();
});

$(".scrollable .items .item").live("click",function() {
    $(this).parent().parent().scrollable({onBeforeSeek : function() { return false; }});
});

It didn't work out though.

lorine

Posts: 2

Registered:
Jun 15, 2010

» Scrollable: On Click, stop scrolling?

Posted: Jul 19, 2010

Reply to: Scrollable: On Click, stop scrolling?, from babyboy808
There is another thread talking about similar problem:
http://flowplayer.org/tools/forum/35/38888

The solution is to added "clickable" to "false"

$("div.scrollable").scrollable({clickable: false});