Team:USP-UNESP-Brazil/Templates/Header
From 2012.igem.org
(Difference between revisions)
Line 30: | Line 30: | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
+ | $(document).ready(function(){ | ||
+ | |||
+ | var $images = null; | ||
+ | $images[0] = $("#imgIntroduction"); | ||
+ | $images[1] = $("#imgHackology"); | ||
+ | $images[2] = $("#imgPlugnPlay"); | ||
+ | $images[3] = $("#imgAssocMem"); | ||
+ | |||
+ | var $cnt = null; | ||
+ | $cnt = $images.lenght; | ||
+ | $cnt=+1; | ||
+ | |||
+ | while($cnt > 0){ | ||
+ | $images.eq($cnt).delay(6000).fadeOut("slow"); | ||
+ | $cnt=-1; | ||
+ | if($cnt == 0){ | ||
+ | $cnt = $images.lenght; | ||
+ | } | ||
+ | } | ||
+ | } | ||
+ | |||
+ | /* | ||
$(document).ready(function(){ | $(document).ready(function(){ | ||
var $loop = function(){ | var $loop = function(){ | ||
Line 43: | Line 65: | ||
} | } | ||
}); | }); | ||
+ | */ | ||
</script> | </script> |
Revision as of 02:00, 24 September 2012
Network