Template:Michigan Header2

From 2011.igem.org

(Difference between revisions)
Line 26: Line 26:
<!-- JAVASCRIPT FUNCTIONS -->
<!-- JAVASCRIPT FUNCTIONS -->
<script type="text/javascript">
<script type="text/javascript">
 +
        var Acc1ContentHeight = 80;
 +
        var Acc2ContentHeight = 100;
 +
        var Acc3ContentHeight = 100;
var ContentHeight=100;
var ContentHeight=100;
var TimeToSlide = 250;
var TimeToSlide = 250;
Line 41: Line 44:
  {
  {
    if(opening != null)
    if(opening != null)
-
      opening.style.height = ContentHeight + 'px';
+
      opening.style.height = openingId + "Height" + 'px';
     
     
    if(closing != null)
    if(closing != null)

Revision as of 14:18, 26 June 2011