Team:USTC-China/Team/gallarytry

From 2011.igem.org

(Difference between revisions)
Line 92: Line 92:
   $('.col_list li').click(function () {
   $('.col_list li').click(function () {
-
  static name=1;
+
 
-
  $('#'+name+'pic').slideToggle('slow');
+
-
+
     var name = $(this).attr('id');
     var name = $(this).attr('id');
   // n=parseInt(name);
   // n=parseInt(name);
-
     //$('#'+(name-1)+'pic').slideToggle('slow');
+
     $('#'+(name-1)+'pic').slideToggle('slow');
     $('#'+name+'pic').slideToggle('slow');
     $('#'+name+'pic').slideToggle('slow');
      
      

Revision as of 11:17, 26 August 2011

Yinghong Lan

Yinghong Lan