Template:Team:USTC-China/temp/bar5
From 2011.igem.org
(Difference between revisions)
Line 7: | Line 7: | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
var nam=-1; | var nam=-1; | ||
+ | var n=-1; | ||
$(document).ready(function(){ | $(document).ready(function(){ | ||
$('.flip').click(function () { | $('.flip').click(function () { | ||
Line 18: | Line 19: | ||
$('.flips').css('cursor','pointer'); | $('.flips').css('cursor','pointer'); | ||
- | $('#'+ | + | $('#'+n+'panels').slideToggle('slow'); |
- | + | n = $(this).attr('id'); | |
- | $('#'+ | + | $('#'+n+'panels').slideToggle('slow'); |
}); | }); | ||
}); | }); |
Revision as of 08:31, 4 October 2011
Project |
Parts |
Team |
Wetlab |
HumanPractice |