themes/iphone/expand.js
author Dan
Wed, 02 Jul 2008 11:57:13 -0400
changeset 24 d275dc8f4203
parent 5 9b96265b5918
permissions -rw-r--r--
Added HttpSuccess exception which can be thrown when a scriptlet is done executing normally

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