When a jquery slideshow loops too fast
Hello all again! :) I'm still trying to learn jQuery, it's pretty fun. and scary too..
This time I integrated a s3slider with wordpress. It displays a post image and title. For some reason, sometimes it loops very fast through the featured posts even when it's set to slow.
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='.$slide_cat = get_option('slide_cat').'&posts_per_page=' . get_option('slide_limit', 10));
- ?>
- <?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: ?>
- <div class="nexui_slider_message">
- The category ID you entered for the slideshow doesn't exist.
- </div>
- <?php endif; ?>
- <?php wp_reset_query(); ?>
- <div class="clear s3sliderImage"></div>
- </ul>
- </div>
Not sure if I made a mistake in there. I can't figure out what's causing this.