开发者

JCarouselLite Fallback in Safari/Chrome?

开发者 https://www.devze.com 2023-02-11 07:53 出处:网络
I was wondering if there is a way to use a fallback option if the browser the website is opened in is Safari or Chrome?

I was wondering if there is a way to use a fallback option if the browser the website is opened in is Safari or Chrome?

At the moment my problem is with JCarouselLite which is not working properly when the home page loads, so I was wondering if someone knew of a way to counter this by disabling javascript in those browsers?

The full desc开发者_运维技巧ription of the problem I'm having is on Problem with JCarouselLite in Chrome.

Hope someone can help,

Kind Regards,

Snakespan


Put your jCarouselLite script in the window.onLoad() function.

For example

$(window).load(function() {
    $("#car_scroller").jCarouselLite({
            btnNext: ".next",
            btnPrev: ".prev",
            visible: 7,
            scroll: 7
        });               
    });
0

精彩评论

暂无评论...
验证码 换一张
取 消