themes/iphone/expand.js
author Dan
Mon, 01 Sep 2008 13:06:50 -0400
changeset 40 bd3372a2afc1
parent 5 9b96265b5918
permissions -rw-r--r--
Added artwork spriting support. Artwork is now displayed using a gigantic CSS sprite instead of hundreds of little images. GD required.

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