themes/iphone/expand.js
author Dan
Fri, 12 Jun 2009 11:38:43 -0400
changeset 73 1f55c324efcf
parent 5 9b96265b5918
permissions -rw-r--r--
Image tools: Use which() instead of reimplementing (should also work on win32 now)

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