Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

jquery Carousel problem

i have this script found here http://jsfiddle.net/g4txt/ i am using this carousel http://www.thomaslanciaux.pro/jquery/jquery_carousel.htm

the problem is that it won't show all images.

the script is running, in the way that is scrolling through images but it wont show them all

try adding and deleting li's and you will notice the problem

any idea?

thanks

like image 716
Patrioticcow Avatar asked Feb 03 '26 20:02

Patrioticcow


1 Answers

A couple things:

First: your img tags need to be closed.

Second: $(function(){ ... } is the same as $(document).ready(function(){ ... } and is therefore redundant.

Third: if you float your li's left, you'll be all set.

Cheers

like image 146
Kevin Ennis Avatar answered Feb 06 '26 11:02

Kevin Ennis



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!