Search code examples
jquerygoogle-chromesafarijcarousel

Empty additional <li> in horizontal jCarousel in Chrome and Safari


Chrome and Safari (Webkit engine) add 2 additional <li> into <ul> list with class 'jcarousle-item-placeholder'. How can I remove it? jCarousel in FF, IE and Opera is OK.

Thanks for help.


Solution

  • In my case, I was adding the below code twice

    <script type="text/javascript">
    
           jQuery(document).ready(function () {
               jQuery('#mycarousel').jcarousel();
           });
    
    </script>
    

    I removed the one block and it worked for me.