Skip to content
New issue

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

circular doesn't work properly in chrome #370

Closed
taln opened this issue May 7, 2012 · 6 comments
Closed

circular doesn't work properly in chrome #370

taln opened this issue May 7, 2012 · 6 comments

Comments

@taln
Copy link

taln commented May 7, 2012

Im using version 0.2.8 and I dont know what to do...

Only in chrome the carousel doesn't work well.

Is there a fix for this kind of problem ?

@jsor
Copy link
Owner

jsor commented May 7, 2012

Yep, thats a known problem. Circular wrapping is flawed in 0.2. I reworked it for the new (not yet released) version 0.3 in the master branch.

@samuelsimoes
Copy link

Same problem. :/

@patdunlavey
Copy link

Same problem - not just Chrome. So where can one find a copy of 0.3 (the latest here is 0.28)?

@ghost
Copy link

ghost commented May 7, 2012

this is my temporary solution. I hope it will helps you

jQuery('#selector').jcarousel({
    auto: 0,
    scroll:3,
    wrap: 'circular',
    itemLoadCallback: {
        onBeforeAnimation: function(carousel, state){
            var w = 0;
            var margin_between_items = 10;
            jQuery('#selector li').each(function(i, el){
                w += parseInt(jQuery(el).width() + margin_between_items);
            });
            jQuery('#selector').css('width', w);
        }           
    },
});

@taln
Copy link
Author

taln commented May 9, 2012

devilua, I tried to used this but unfortunately it didnt work.
What else can I do?

jsor, how can I use 0.3? I tried to download and replace the current version but it didn't work as well.

Please help me I need a solution asap.

Thanks

@jsor
Copy link
Owner

jsor commented May 10, 2012

0.3 is not backward compatible with 0.2. The only documentation that already exists is the readme: https://github.com/jsor/jcarousel#readme

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants