Template:Team:TU Munich/ExCol

From 2012.igem.org

(Difference between revisions)
Line 7: Line 7:
  $('h2').next('div').hide()
  $('h2').next('div').hide()
  $('h2').next('div').prev().click(function() {
  $('h2').next('div').prev().click(function() {
-
   if( $(this).children('.excol').html() == [Expand]) {
+
   if( $(this).children('.excol').html() == ' [Expand]') {
   $(this).children('.excol').html(' [Collapse]')
   $(this).children('.excol').html(' [Collapse]')
   }else {
   }else {

Revision as of 20:41, 23 September 2012