Closed (fixed)
Project:
jCarousel
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
3 Aug 2009 at 22:01 UTC
Updated:
12 Dec 2010 at 17:47 UTC
Jump to comment: Most recent file
Comments
Comment #1
itarato commentedHi,
I played a bit with the module and found another side effect. Although the buttons with the patch above are fine, autoscrolling has an issue when the carousel is loaded. For example:
1 - set the item number to 20
2 - set offset to 20 (begin at the end of the line)
3 - set scroll to -1 (step from end to beginning by 1)
This case the line won't start, because animate() notices jcarousel reached the end of the line. So I modify one extra condition in the animate() function and uploaded the fresh patch.
I think it is rather quick&dirty than elegant (sorry about that), again:(.
Regards,
Peter
Comment #2
quicksketchThe 2.x version has updated code for the jcarousel.jquery.js library. If this problem still exists, you should collaborate with the JS library author and then we can update the Drupal module to use the next version of the library.