开发者

JCarouselLite Fallback in Safari/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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜