Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

New option to allow different initial slideshow duration.

  • Loading branch information...
commit 8e0d3e4377acf9b0d6de6717f32d25ad8adf2f56 1 parent d84f0e4
@mitio authored
Showing with 4 additions and 3 deletions.
  1. +4 −3 fadeshow.js
View
7 fadeshow.js
@@ -4,8 +4,9 @@
*/
jQuery(function($) {
// settings
- var animationDuration = 1000,
- singleSlideDuration = 4000;
+ var animationDuration = 1000,
+ singleSlideDuration = 6000,
+ initialSlideDuration = 9000;
var $lists = $('ul.fadeshow'),
timer;
@@ -36,5 +37,5 @@ jQuery(function($) {
};
$lists.click(next);
- timer = setTimeout(next, singleSlideDuration);
+ timer = setTimeout(next, initialSlideDuration);
});
Please sign in to comment.
Something went wrong with that request. Please try again.