Я экспериментировал с новыми методами CSS3 анимации webkit. Я сделал складную панель, которая должна работать, но при этом странно прыгать и быть статичной.
CSS
.reveiws .content {
font-size:12px;
line-height:18px;
height:72px;
overflow:hidden;
float:left;
vertical-align:top;
max-width:560px;
-webkit-transition: height 800ms;
-moz-transition: height 800ms;
}
.reveiws .contentfull {
height:100%;
-webkit-transition: height 800ms;
-moz-transition: height 800ms;
}
HTML
<div id="pan<?php the_ID();?>" class="content"><?php the_content();?></div>
<div class="author" style="text-align:left; padding-right:10px;">
<a href="#" onclick="$('#pan<?php the_ID();?>').addClass('contentfull'); $(this).hide(); $(this).next().show(); return false">Read More »</a>
<a href="#" onclick="$('#pan<?php the_ID();?>').removeClass('contentfull'); $('#pan<?php the_ID();?>').addClass('content'); $(this).hide(); $(this).prev().show(); return false" style="display:none;">« Close panel</a>
Вот НЕКРАЗНАЯ http://jsfiddle.net/L6Jwa/1/