themes/iphone/expand.js
author Dan
Mon, 31 Mar 2008 07:40:30 -0400
changeset 14 7a1573676cc4
parent 5 9b96265b5918
permissions -rw-r--r--
Added jump-to-current function in iphone theme; fixed md5('') call if unique IDs empty in playlist XML file

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