themes/iphone/expand.js
author Dan
Wed, 24 Sep 2008 13:47:42 -0400
changeset 54 6d8b9497e44b
parent 5 9b96265b5918
permissions -rw-r--r--
Added check for PHP 5.1.0 and improved error handling for missing pcntl

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';
  }
}