1

jpgの流れのようにajaxでjqueryアニメーションした後に投稿内容を取得したい..! 画像に書いたプラン

これは私が今持っているjqueryコードです:

 $(".read-more").click(function() {
   var wheight = $(window).height() 

   $("#wrapper").animate({top:wheight},700,'easeInOutQuart', function(){
       $("#wrapper_project").slideDown('1000','easeOutCirc');
       $("#menu").fadeOut('500');

});

});

これは HTML テンプレートです:

<section class="block">

             <?php
                $mypost = array( 
                'post_type' => 'project',
                'posts_per_page' => 1000,
                );
                $loop = new WP_Query( $mypost );
                ?>

             <?php while ( $loop->have_posts() ) : $loop->the_post();?>

             <article id="post-<?php the_ID(); ?>" <?php post_class('post clearfix'); ?>>
                <div class="left thumbnail_box">    
                    <a rel="<?php the_permalink() ?>" href="<?php echo get_permalink(); ?>"><?php the_post_thumbnail( 'project-thumbnail' ); ?></a>
                </div>
                 <div class="desc">
                    <h3 class="post_title"><a rel="<?php the_permalink() ?>" href="<?php echo get_permalink(); ?>"><?php the_title(); ?></a></h3>
                    <p class="entry-content"><?php the_content(); ?> <a rel="<?php the_permalink() ?>" href="#" class="read-more">...Read More</a> </p>
                 </div>
             </article>


             <?php endwhile; ?>
             <!-- list_view-->

             <?php wp_reset_query(); ?>


         </section><!-- section -->
4

0 に答える 0