//current slides out from the right
var anim= animations[Math.floor(Math.random()*total_anim)];
//show next one (not yet visible)
var $next= (idx_current == total-1) ? $area.children(':first') : $current.next();
//either the next one, or the first one if the current is the last
//the next image that's going to be displayed.
var idx_current = $current.index();
var $current = $area.find('img:visible');
var total= $area.children().length;
//how many images in this area?
$area.data('over',true).bind('mouseenter',function(){
var total_images = $hs_images.length;
$hs_images = $hs_container.find('img');
var $hs_areas= $hs_container.find('.hs_area');
var $hs_container= $('#hs_container');
//the speed of each transition
//just change this to one of your choice
var total_anim= animations.length;
var animations= ['right','left','top','bottom','rightFade','leftFade','topFade','bottomFade'];
Р РAРe Р»СС С Рe РС РAРС РµСС Сє Р»РeС РР
Комментариев нет:
Отправить комментарий