Template:Michigan Header2

From 2011.igem.org

(Difference between revisions)
 
(10 intermediate revisions not shown)
Line 11: Line 11:
<meta property="fb:admins" content="1585748486" />
<meta property="fb:admins" content="1585748486" />
-
<!-- STYLESHEET LINK, TEMPORARY WILL UPLOAD TO WIKI LOCAL -->
+
<!-- Lightbox 2 Javascript Links -->
-
<link rel="stylesheet" type="text/css" media="screen" href="http://www-personal.umich.edu/~cbate/styleUL.css">
+
<script type="text/javascript" src="http://www-personal.umich.edu/~cbate/js/prototype.js"></script>
 +
<script type="text/javascript" src="http://www-personal.umich.edu/~cbate/js/scriptaculous.js?load=effects,builder"></script>
 +
<script type="text/javascript" src="http://www-personal.umich.edu/~cbate/js/lightbox.js"></script>
 +
<!-- STYLESHEET LINK, TEMPORARY WILL UPLOAD TO WIKI LOCAL -->
 +
<link rel="stylesheet" type="text/css" media="screen" href="http://www-personal.umich.edu/~cbate/styleUL.css" />
</head>
</head>
Line 50: Line 54:
    return;
    return;
  }
  }
 +
 +
                  if(closing != null)
 +
    {
 +
      closing.style.display = 'none';
 +
    }
 
 
  timeLeft -= elapsedTicks;
  timeLeft -= elapsedTicks;
Line 68: Line 77:
}
}
-
function runAccordion(index)
+
function runAccordion(index, openHeight, closeHeight )
{
{
var nID = "Acc" + index + "Content";
var nID = "Acc" + index + "Content";
Line 76: Line 85:
}
}
-
setTimeout( "animate(" + new Date().getTime() + "," + TimeToSlide + ",'" + openAccordion + "','" + nID + "," + openHeight + "," + closeHeight + "')", 33);
+
setTimeout( "animate(" + new Date().getTime() + "," + TimeToSlide + ",'" + openAccordion + "','" + nID + "'," + openHeight + "," + closeHeight + ")", 33);
openAccordion = nID;
openAccordion = nID;
}
}

Latest revision as of 15:18, 1 August 2011