ThemeForest

s3slider speeds up for no apparent reason

47 posts
  • Has been a member for 2-3 years
  • Bought between 1 and 9 items
virgild says

I integrated a s3slider to display recent post thumbnails and the post title.. The timeOut is set to 3000 but when you stay longer on the page the slider speeds up and shuffles through posts faster. Has anyone else met this issue? I can’t find an answer.

The code I’m using is,
<script type="text/javascript">
$(document).ready(function() { 
   $('#s3slider').s3Slider({ 
      timeOut: 3000 
   });
});
</script>

<div id="s3slider">

   <ul id="s3sliderContent">
<?php query_posts('cat='.$slideshow_cat = get_option('slideshow_cat').'&posts_per_page=' . get_option('slideshow_limit', 5));
?>
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
      <li class="s3sliderImage">  

<?php the_post_thumbnail( 'home' ); ?>
<span><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></span>
</li>

<?php endwhile; else: ?>
</ul><div class="message">
...
</div>
<?php endif; ?>

<div class="clear s3sliderImage"></div>

</div>

Please help me if you know. I can’t figure out what I did wrong.. the code seems fine to me.

2 years ago
685 posts
  • Has been a member for 4-5 years
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Exclusive Author
  • Sold between 5 000 and 10 000 dollars
  • Bought between 10 and 49 items
  • Uruguay
  • Referred between 1 and 9 users
_rg_ says

Maybe something with intervals, i don“t think the problem is on the peace of code you posted here. When that happend, speed increase, is due to intervals that are one over the other, so the values are multiplied some way.

May be some other js conflicts with the s3slider or even the s3slider has something wrong. You better post a link to it so we can see on action.

2 years ago
47 posts
  • Has been a member for 2-3 years
  • Bought between 1 and 9 items
virgild says

Thanks for the reply! Eventually I think I’ll just use a different plugin.

2 years ago
by
by
by
by
by