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

speed [slow, normal, fast] no differents #30

Closed WingEraser closed 12 years ago

WingEraser commented 12 years ago

I don't see any different in the speed options. It's not working in the demo.html. Used browsers: IE9, FF8, and latest Chrome.

richardscarrott commented 12 years ago

If you test in older browsers (those that don't support CSS translate3d) then it should take affect fine. When, however, translate3d is supported the carousel uses CSS transitions instead so the speed isn't governed by JS but it is in fact handled in CSS: https://github.com/richardscarrott/jquery-ui-carousel/blob/master/css/jquery.rs.carousel-touch.css

If that doesn't solve your problem them let me know.

WingEraser commented 12 years ago

The problem only got solved on Chrome. IE9 doesn't support CSS Transition. So -ms-transition is not working. Firefox 8 does support, but it doesn't work. I changed the time in the jquery.rs.carousel-touch.css to be sure. Firebug shows me the css value. So it does read it correctly, but the speed is still the same.

Only Chrome is working. (I don't use Opera and Safari, so I can't tell about these browsers).