Team:University College London/js/radio
From 2012.igem.org
(Difference between revisions)
Line 5: | Line 5: | ||
var currentEpisode = episodes.first(); | var currentEpisode = episodes.first(); | ||
- | currentEpisode.find('.bg').animate({bottom:0px;opacity:0.8},500,function(){ | + | currentEpisode.find('.bg').animate({bottom:'0px';opacity:0.8},500,function(){ |
currentEpisode.find('.desc').show(300); }); | currentEpisode.find('.desc').show(300); }); | ||
}); | }); |
Revision as of 08:37, 15 August 2012
$(document).ready(function(){
var episodes = $('#slidecontainer').children(); episodes.first().show();
var currentEpisode = episodes.first();
currentEpisode.find('.bg').animate({bottom:'0px';opacity:0.8},500,function(){ currentEpisode.find('.desc').show(300); });
});