Template:Team:HKU-HKBU/script.js

From 2009.igem.org

(Difference between revisions)
Line 92: Line 92:
function loadLogos()
function loadLogos()
{
{
 +
  var URLs = new Array()
 +
  URLs[0] = "http://www.hku.hk/";
 +
  URLs[1] = "http://www.hku.hk/facmed/";
 +
  URLs[2] = "http://www.hku.hk/biochem/";
 +
  URLs[3] = "http://www.hku.hk/science/";
 +
  URLs[4] = "http://www.hkbu.edu.hk/";
 +
  URLs[5] = "http://www.sci.hkbu.edu.hk/";
 +
  URLs[6] = "http://physics.hkbu.edu.hk/";
 +
  URLs[7] = "http://www.bio-rad.com/";
 +
  URLs[8] = "http://www.delta.com/";
 +
  URLs[9] = "http://www.genetimes.com.cn/";
 +
  URLs[10] = "http://www.invitrogen.com/";
 +
   var pictureURLs = new Array();
   var pictureURLs = new Array();
   pictureURLs[0] = "https://static.igem.org/mediawiki/2009/8/8a/HKU-HKBU_HKU_240_60.png";
   pictureURLs[0] = "https://static.igem.org/mediawiki/2009/8/8a/HKU-HKBU_HKU_240_60.png";
Line 117: Line 130:
   alts[9] = "Genetimes Technology, Inc.";
   alts[9] = "Genetimes Technology, Inc.";
   alts[10] = "Invitrogen.com a Provider of Essential Life Science Technologies";
   alts[10] = "Invitrogen.com a Provider of Essential Life Science Technologies";
-
 
-
  var URLs = new Array()
 
-
  URLs[0] = "http://www.hku.hk/";
 
-
  URLs[1] = "http://www.hku.hk/facmed/";
 
-
  URLs[2] = "http://www.hku.hk/biochem/";
 
-
  URLs[3] = "http://www.hku.hk/science/";
 
-
  URLs[4] = "http://www.hkbu.edu.hk/";
 
-
  URLs[5] = "http://www.sci.hkbu.edu.hk/";
 
-
  URLs[6] = "http://physics.hkbu.edu.hk/";
 
-
  URLs[7] = "http://www.bio-rad.com/";
 
-
  URLs[8] = "http://www.delta.com/";
 
-
  URLs[9] = "http://www.genetimes.com.cn/";
 
-
  URLs[10] = "http://www.invitrogen.com/";
 
   var i = 0;
   var i = 0;
-
   for (i in pictureNames)
+
   for (i in URLs)
     document.write("\
     document.write("\
       <div class=\"sponsorlogo\"><a href=\"" + URLs[i] + "\">\
       <div class=\"sponsorlogo\"><a href=\"" + URLs[i] + "\">\

Revision as of 12:58, 8 October 2009