themes/iphone/expand.js
author Dan
Fri, 25 Apr 2008 12:42:26 -0400
changeset 18 69af47034212
parent 5 9b96265b5918
permissions -rw-r--r--
Added page-titling functionality that changes document.title to match the current track; made position slider reset to zero on stop or playlist end

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