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

not compatible with iPad? #260

Open
arccastro opened this issue Sep 22, 2021 · 0 comments
Open

not compatible with iPad? #260

arccastro opened this issue Sep 22, 2021 · 0 comments

Comments

@arccastro
Copy link

Hi, jssor slider doesn't work on my ipad 4th generation but works on a samsung tablet, i have this code:

function ScaleSlider() {
    var parentWidth = jssor_1_slider.$Elmt.parentNode.clientWidth;
    if (parentWidth)
        jssor_1_slider.$ScaleWidth(Math.min(parentWidth, 1240));
    else
        window.setTimeout(ScaleSlider, 30);
}

ScaleSlider();

$(window).bind("load", ScaleSlider);
$(window).bind("resize", ScaleSlider);
$(window).bind("orientationchange", ScaleSlider);

*doesn't work i mean it does not visualize the images/the slides.

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

No branches or pull requests

1 participant