View Full Version : Var speed in jQuery??

01-24-2011, 08:06 PM

I'm working on a rotator and I'm needing to slow it down. I think I would use var speed right? How would I use it in this script?

<script type="text/javascript" src="http://cloud.github.com/downloads/malsup/cycle/jquery.cycle.all.latest.js"></script>
<script type="text/javascript">
$(document).ready(function() {
fx: 'fade' });

01-24-2011, 09:19 PM
Here is a link to the list of all the options: http://jquery.malsup.com/cycle/options.html

If you open the jquery.cycle.all.latest.js (http://cloud.github.com/downloads/malsup/cycle/jquery.cycle.all.latest.js) file and scroll down, you'll find the list with all the options. The one that controls the milliseconds between the slide transitions is this: timeout: 4000
the one that controls the speed of the transition is this: speed: 1000