Biomod/2011/IITM/AcidArtists

From OpenWetWare

(Difference between revisions)
Jump to: navigation, search
Line 206: Line 206:
var vertical = 0;   
var vertical = 0;   
         var horizontal = 0;   
         var horizontal = 0;   
-
         var $el=$(this);   
+
         var $el=$('.stack>img');   
         $el.next().children().each(function(){   
         $el.next().children().each(function(){   
             $(this).animate({top: '-' + vertical + 'px', left: horizontal + 'px'}, openspeed);   
             $(this).animate({top: '-' + vertical + 'px', left: horizontal + 'px'}, openspeed);   

Revision as of 17:19, 2 November 2011


Personal tools