real_illusions Posted April 7, 2009 Share Posted April 7, 2009 Hi all,I'm trying to get the following script to work - http://www.gmarwaha.com/jquery/jcarousellite/In particular the auto scroll version.The basic script works fine, but the instructions are rubbish for the auto scroll. I've tried all sorts of things from both the source code and generated source code, copied the css and js files etc..but still nothing.Why do people make things so difficult to follow? (need a fustrated icon too)...Can anyone here get this to work following the instructions on the page? Link to comment Share on other sites More sharing options...
jesh Posted April 7, 2009 Share Posted April 7, 2009 This page (http://www.gmarwaha.com/jquery/jcarousellite/#doc) says to set the "auto" property to some millisecond value: As of version 0.4.0, the carousel can auto-scroll as well. This is enabled by specifying a millisecond value to this option. The value you specify is the amount of time between 2 consecutive slides. The default is null, and that disables auto-scrolling. Specify this value and watch your carousel magically scroll.So, something along these lines perhaps?$(function() { $(".anyClass").jCarouselLite({ btnNext: ".next", btnPrev: ".prev", auto: 1000 });}); EDIT: Looks like they have a demo showing how the code is supposed to look:http://www.gmarwaha.com/jquery/jcarousellite/#demo Link to comment Share on other sites More sharing options...
real_illusions Posted April 7, 2009 Author Share Posted April 7, 2009 Ah..finally, its that bit of code i was getting wrong $(function() { $(".anyClass").jCarouselLite({ btnNext: ".next", btnPrev: ".prev", auto: 1000 });}); That works.Thanks.Hopefully I can figure the rest out from here. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.