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 | + | var nam=-1; |
$(document).ready(function(){ | $(document).ready(function(){ | ||
$('.flip').click(function () { | $('.flip').click(function () { | ||
$('.flip').css('cursor','pointer'); | $('.flip').css('cursor','pointer'); | ||
- | $('#'+ | + | $('#'+nam+'panel').slideToggle('slow'); |
name = $(this).attr('id'); | name = $(this).attr('id'); | ||
- | $('#'+ | + | $('#'+nam+'panel').slideToggle('slow'); |
}); | }); | ||
}); | }); |
Revision as of 08:13, 4 October 2011
Project |
Parts |
Team |
Wetlab |
HumanPractice |