Team:UCLondon/Templates/Team-Style

From 2012e.igem.org

(Difference between revisions)
Line 88: Line 88:
-
$('.team li').click(function() {
+
$('.team li').click(function(event) {
   $('#shaddow').toggle('slow', function() {
   $('#shaddow').toggle('slow', function() {
-
         $('#shaddow').html( $('.team .description').html() );
+
         $('#shaddow').html( $(this).children('.description')   );
   });
   });

Revision as of 05:00, 17 September 2012