themes/iphone/expand.js
author Dan
Tue, 23 Sep 2008 23:31:51 -0400
changeset 51 7009a9cbd46f
parent 5 9b96265b5918
permissions -rw-r--r--
Re-merging fixed header blocks on theme files (fix was implemented on both nighthawk and scribus)

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