themes/iphone/expand.js
author Dan
Fri, 15 Aug 2008 23:31:37 -0400
changeset 33 3b4aef1efff6
parent 5 9b96265b5918
permissions -rw-r--r--
Removed requirement for detecting home directory; artwork fetcher relies on return from saveCurrentPlaylist 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';
  }
}