themes/iphone/expand.js
author Dan
Mon, 24 Mar 2008 02:53:42 -0400
changeset 10 d3059e20b0fa
parent 5 9b96265b5918
permissions -rw-r--r--
SECURITY: Fix ability to crash server in ajax.php; added playback position slider and ability to seek through current song

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