themes/iphone/expand.js
author Dan
Fri, 15 Aug 2008 23:22:30 -0400
changeset 32 86140ed9087d
parent 5 9b96265b5918
permissions -rw-r--r--
Experimental: upon change to playlist, send SIGUSR1 to parent process and branch out to all children to force a playlist refresh

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