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

Your preferred username that is used when logging in.

Fixes for Scroller 1.2.3 Created Aug 1, 2010

This thread is solved

Views: 4486     Replies: 10     Last reply Dec 27, 2011  
You must login first before you can use this feature

PawPrint.net

Posts: 13

Registered:
Apr 8, 2010

Fixes for Scroller 1.2.3

Posted: Aug 1, 2010

In the hope that this will help others - I have spent a bit of time to take the 1.2.3 scroller and add in the changes to get circular scrolling without gaps, fix the initialIndex and implement the itemCount parameter (like size from 1.2), and get the next/previous buttons disabling/enabling correctly.

(I tried to paste the code directly but the forum is choking on it - so here is a download)
http://www.pawprint.net/scrollable.zip

I have one known issue currently: if there are multiple scrollers on the same page, only the first one actually seeks to to the right initialIndex (the rest get it set correctly but wait for focus before they seek) - if anyone can spot the place to that part of it - please share :)

a lot of this was discussed here:
http://flowplayer.org/tools/forum/35/41619
and here
http://flowplayer.org/tools/forum/35/42446

Tero
Author of jQuery Tools and this website + JavaScript developer of Flowplayer.

Posts: 1867

Registered:
Nov 16, 2007

Thank you

Posted: Aug 2, 2010

Reply to: Fixes for Scroller 1.2.3, from pawprint_net
will have a look.

damadama

Posts: 1

Registered:
Aug 12, 2010

Thank you

Posted: Aug 12, 2010

Reply to: Fixes for Scroller 1.2.3, from pawprint_net
Awesome work! Altough the initial index thing still needs a bit of tunning. Or am I doing anything wrong?

Tero
Author of jQuery Tools and this website + JavaScript developer of Flowplayer.

Posts: 1867

Registered:
Nov 16, 2007

» Fixes for Scroller 1.2.3

Posted: Aug 18, 2010

Reply to: Fixes for Scroller 1.2.3, from pawprint_net
I had two scrollables on my local machine and initial index worked on both instances. Here is the test page being used:

http://github.com/jquerytools/jquerytools/commit/0a39e5fc95a3f22f262eac57391120675919d7d2

mkimitch

Posts: 2

Registered:
Feb 16, 2011

» Fixes for Scroller 1.2.3

Posted: Feb 16, 2011

Reply to: Fixes for Scroller 1.2.3, from pawprint_net
It works great for me, but the autoscroll function seems to be missing?

joe4mg

Posts: 2

Registered:
Mar 28, 2011

» Fixes for Scroller 1.2.3

Posted: Mar 28, 2011

Reply to: Fixes for Scroller 1.2.3, from pawprint_net
you've just stopped me from jumping off a cliff! muchos gracias

serpico

Posts: 3

Registered:
Sep 13, 2011

» Fixes for Scroller 1.2.3

Posted: Sep 14, 2011

Reply to: Fixes for Scroller 1.2.3, from pawprint_net
Thank you so much. Excellent fix and saved my life.

Squeebly_Joe

Posts: 1

Registered:
Oct 3, 2011

» Fixes for Scroller 1.2.3

Posted: Oct 3, 2011

Reply to: Fixes for Scroller 1.2.3, from pawprint_net
Thanks! This was a big help.