richardscarrott / jquery-ui-carousel

jQuery RS Carousel is a responsive and touch-enabled carousel written on top of jQuery and the jQuery UI Widget Factory providing a full and familiar API in less than 2.6kB minified and gzipped.
http://richardscarrott.github.io/jquery-ui-carousel/
192 stars 56 forks source link

Vertical alignment #63

Closed Mindgames closed 11 years ago

Mindgames commented 11 years ago

What ever i try i can't seem to get the horizontal alignment to work. With of

richardscarrott commented 11 years ago

You need to give the li.rs-carousel-item elements a width. To do this you can either set the image width attribute on the html or in CSS or alternatively wait until the images have downloaded before running the carousel.

You can call the refresh method in the console to help debug issues like this:

$(':rs-carousel').carousel('refresh');