themes/iphone/expand.js
author Dan
Wed, 26 Mar 2008 10:24:20 -0400
changeset 12 b3fcc21e557f
parent 5 9b96265b5918
permissions -rw-r--r--
Backend improvement to webserver that causes interrupts to work properly; made pcntl_signal only be called if it's supported

function expand_track(tid)
{
  var div = document.getElementById('track_inner_' + tid);
  if ( div.style.display == 'block' )
  {
    div.style.display = 'none';
  }
  else
  {
    div.style.display = 'block';
  }
}