themes/iphone/expand.js
author Dan
Mon, 01 Sep 2008 16:53:17 -0400
changeset 45 7978f037eab3
parent 5 9b96265b5918
permissions -rw-r--r--
Switched back to grey theme as default (oops!). Theme selection widget will come in a later commit.

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