Template:Team:Bonn:SlideshowJS
From 2013.igem.org
(Difference between revisions)
(One intermediate revision not shown) | |||
Line 138: | Line 138: | ||
// enable pause on hover | // enable pause on hover | ||
- | if (settings.hoverpause) | + | if (settings.hoverpause) |
+ | if (settings.automatic) { | ||
conf_hoverpause(); | conf_hoverpause(); | ||
} | } | ||
Line 679: | Line 680: | ||
// if the slider is responsive && the calculated width is less than the max width | // if the slider is responsive && the calculated width is less than the max width | ||
if(settings.responsive) | if(settings.responsive) | ||
- | if( responsive.width < settings.width | + | if( responsive.width < settings.width ){ |
state.slidewidth = responsive.width; | state.slidewidth = responsive.width; | ||
} | } |
Latest revision as of 18:29, 1 October 2013