Template:Team:Hannover/new main.tmpl

From 2014.igem.org

(Difference between revisions)
 
Line 22: Line 22:
       'vi' : 'absolute' ,  
       'vi' : 'absolute' ,  
       'top' : opos.top,
       'top' : opos.top,
-
       'left' : opos.left
+
       'left' : opos.left,
 +
      'visibility' : 'visible'
     });
     });
   }
   }
Line 35: Line 36:
}
}
-
function onready() {
+
function preload_menu() {
-
    annotate_all();
+
    preload([
-
// Preload images..
+
-
preload([
+
     'https://static.igem.org/mediawiki/2014/4/4a/20140909_MENU-NEW-HOME.gif',
     'https://static.igem.org/mediawiki/2014/4/4a/20140909_MENU-NEW-HOME.gif',
     'https://static.igem.org/mediawiki/2014/7/7f/20140909_MENU-NEW-PROJECT.gif',
     'https://static.igem.org/mediawiki/2014/7/7f/20140909_MENU-NEW-PROJECT.gif',
Line 44: Line 43:
     'https://static.igem.org/mediawiki/2014/1/15/20140909_MENU-NEW-HUMAN-PRACTICE.gif',
     'https://static.igem.org/mediawiki/2014/1/15/20140909_MENU-NEW-HUMAN-PRACTICE.gif',
     'https://static.igem.org/mediawiki/2014/0/06/20140909_MENU-NEW-TEAM.gif'
     'https://static.igem.org/mediawiki/2014/0/06/20140909_MENU-NEW-TEAM.gif'
-
]);
+
    ]);
 +
}
 +
 
 +
function onready() {
 +
    annotate_all();
 +
    preload_menu();
}
}

Latest revision as of 16:35, 11 September 2014