Team:SYSU-Software/template2/album.js

From 2012.igem.org

Revision as of 19:50, 21 September 2012 by Nie1234567 (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

$(document).ready(function(){ //To switch directions up/down and left/right just place a "-" in front of the top/left attribute

//Caption Sliding (Partially Hidden to Visible) $('.boxgrid.caption').hover(function(){ $(".cover", this).stop().animate({top:'300px'},{queue:false,duration:300}); }, function() { $(".cover", this).stop().animate({top:'425px'},{queue:false,duration:300}); }); });