We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
i use your script for nested carousels.
When you scroll the top level carousel, the scrolling happens also on sub-carousels.
This is because in the case of nested carousels the function get don't work properly.
the wordaround i use is to assign a unique id to every carousel and add this id to the class added to items.
here is my mod : (first time i use gist, hem..)
http://gist.github.com/615280
The text was updated successfully, but these errors were encountered:
Good point, i think a simpler solution would be:
get: function(i) { return $('>.jcarousel-item-' + i, this.list); }
Note the > in the selector, this should only select <li>'s which are direct children of the list.
>
<li>
I'm going to test this and add a patch...
Sorry, something went wrong.
Woot, i like simpler solution. I'll try it myself.
edit: just tried and it seems to work like a charm.
Fix selecting only direct childs of the current list (Closed by caa87a3)
No branches or pull requests
Hi,
i use your script for nested carousels.
When you scroll the top level carousel, the scrolling happens also on sub-carousels.
This is because in the case of nested carousels the function get don't work properly.
the wordaround i use is to assign a unique id to every carousel and add this id to the class added to items.
here is my mod : (first time i use gist, hem..)
http://gist.github.com/615280
The text was updated successfully, but these errors were encountered: