Jcarousel lite not showing on safari and chrome download page

I have this plugin that is used on my WAMP homepage. It works great in every browser except Safari and Google Chrome. In these browsers, the carousel does not appear when I first load the page, and when I press reload. When I go to the home page using the link on the navigation page, it appears.

Any ideas what could be causing this?

Thanks Jeremy

+3
source share
4 answers

If this problem also found that by giving the images that I was showing, width = "nn px" and height = "nn px" solved my problem;)

+6

, - :

$(window).load(function() {

    $(".gallery").jCarouselLite({
        btnNext: ".next",
        btnPrev: ".prev",
    });
});
+5

. , . - google chrome safari / / .

+1

, user703735 . , , , jcarousel, . , IE8 , - .

<li style="width: XXpx; height: XXpx;"> ... image here ... </li>

XX - .

+1

Source: https://habr.com/ru/post/1713316/


All Articles