gallery - JQuery Caroufredsel not working, displays all images -
i installed caroufredsel , not working. expecting happen is, 1 images appears, click next or previous next or previous image appear. code below has images display in list. understand doing wrong code seems correct?
here jquery:
<script type="text/javascript" language="javascript" src="js/jquery.caroufredsel-6.2.1-packed.js"></script> <script type="text/javascript" language="javascript" src="js/jquery.mousewheel.min.js"></script> <script type="text/javascript" language="javascript" src="js/jquery.touchswipe.min.js"></script> <script type="text/javascript" language="javascript" src="js/jquery.transit.min.js"></script> <script type="text/javascript" language="javascript" src="js/jquery.ba-throttle-debounce.min.js"></script> <script type="text/javascript"> $('.caroufredsel-gallery').caroufredsel({ width: 601, height: 'auto', prev: '#prev3', next: '#next3', auto: false }); </script>
and here html:
<div> <ul class="caroufredsel-gallery"> <li><img src="images/gallery/1.jpg" width="601" /></li> <li><img src="images/gallery/2.jpg" width="601" /></li> <li><img src="images/gallery/3.jpg" width="601" /></li> <li><img src="images/gallery/4.jpg" width="601" /></li> <li><img src="images/gallery/5.jpg" width="601" /></li> <li><img src="images/gallery/6.jpg" width="601" /></li> <li><img src="images/gallery/7.jpg" width="601" /></li> <li><img src="images/gallery/8.jpg" width="601" /></li> </ul> <div class="clearfix"></div> <a id="prev3" class="prev" href="#"><</a> <a id="next3" class="next" href="#">></a> </div><!--caroufredsel-gallery-->
any appreciated.
thanks, j
here couple of things try:
- put snippet in caroufredsel call
(items :1, scroll : 1)
- put in css
(.caroufredsel-gallery li { float: left; })
hopefully, helps. also, check console in whatever browser you're using make sure plugin being called. or jquery isn't being found. pressing f12 should console. hope helps.
Comments
Post a Comment