themes/iphone/expand.js
author Dan
Sun, 23 Nov 2008 23:55:37 -0500
changeset 61 88b105a901be
parent 5 9b96265b5918
permissions -rw-r--r--
Escape key closes volume box

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