Template:Team:USTC-China/temp/bar5

From 2011.igem.org

(Difference between revisions)
Line 6: Line 6:
<script type="text/javascript" src="/jquery/jquery.js"></script>
<script type="text/javascript" src="/jquery/jquery.js"></script>
<script type="text/javascript">  
<script type="text/javascript">  
-
var name=-1;
+
var nam=-1;
$(document).ready(function(){
$(document).ready(function(){
$('.flip').click(function () {
$('.flip').click(function () {
$('.flip').css('cursor','pointer');
$('.flip').css('cursor','pointer');
-
   $('#'+name+'panel').slideToggle('slow');
+
   $('#'+nam+'panel').slideToggle('slow');
     name = $(this).attr('id');
     name = $(this).attr('id');
-
     $('#'+name+'panel').slideToggle('slow');
+
     $('#'+nam+'panel').slideToggle('slow');
     });
     });
});
});

Revision as of 08:13, 4 October 2011

Project

Parts

Team

Wetlab

HumanPractice

Overview     Module     Results     Modeling     Application

Members     Advisors      Sponsors     Chinameetup      HongKong

Protocol      Notebook     Gallary

Overview     Safety Proposal     Group