0

我有一个 div 将出现推荐。我想自动从左向右滑动并更改另一个推荐。

我怎样才能使用 jquery 做到这一点?我正在为此使用wordpress。

这是代码

            <div class="testimonial-box fl">

            <?php if ( have_posts() ): ?>
            <ul class="testi-post-s">

                <?php query_posts('cat=222&showposts=2'); while ( have_posts() ) : the_post(); ?>
                <li class="clr">

                    <article>

                        <div class="testi-post-box clearfix">

                            <div class="testi-post-p"><?php the_content(); ?></div>

                        </div>

                    </article>

                </li>
                <?php endwhile; ?>

            </ul>
            <?php else: ?>
            <h3>No posts to display</h3>
            <?php endif; ?>

        </div>

太感谢了

4

0 回答 0