Team:USP-UNESP-Brazil/Templates/Header

From 2012.igem.org

(Difference between revisions)
Line 33: Line 33:
var $images = null;
var $images = null;
-
$images[0] = $("#imgIntroduction");
+
images[0] = $("#imgIntroduction");
-
$images[1] = $("#imgHackology");
+
images[1] = $("#imgHackology");
-
$images[2] = $("#imgPlugnPlay");
+
images[2] = $("#imgPlugnPlay");
-
$images[3] = $("#imgAssocMem");
+
images[3] = $("#imgAssocMem");
var $cnt = null;
var $cnt = null;
Line 42: Line 42:
$cnt=+1;
$cnt=+1;
-
while($cnt > 0){
+
while(cnt > 0){
     $images.eq($cnt).delay(6000).fadeOut("slow");
     $images.eq($cnt).delay(6000).fadeOut("slow");
     $cnt=-1;
     $cnt=-1;
-
     if($cnt == 0){
+
     if(cnt == 0){
         $cnt = $images.lenght;
         $cnt = $images.lenght;
     }
     }

Revision as of 02:02, 24 September 2012