Template:Team:TU Munich/LabHeader

From 2012.igem.org

(Difference between revisions)
Line 210: Line 210:
   $('.labbook pre').css({display: 'block'})
   $('.labbook pre').css({display: 'block'})
   $('.labbook .week').css({display: 'block'})
   $('.labbook .week').css({display: 'block'})
 +
});
 +
$('#ColAll').click(function() {
 +
  $('.labbook a').removeClass('detailed')
 +
  $('.experiment h3 span.mw-headline').removeClass('displayed')
 +
  $('.labbook p').css({display: 'none'})
 +
  $('.labbook table').css({display: 'none'})
 +
  $('.labbook ul').css({display: 'none'})
 +
  $('.labbook pre').css({display: 'none'})
 +
  $('.labbook .week').css({display: 'none'})
  });
  });
  $('.experiment h3 span.mw-headline').attr({ onMouseOver: "this.style.cursor='pointer'"})
  $('.experiment h3 span.mw-headline').attr({ onMouseOver: "this.style.cursor='pointer'"})

Revision as of 14:42, 8 September 2012