themes/iphone/expand.js
author Dan
Tue, 05 Aug 2008 13:17:37 -0400
changeset 26 300d374d89b0
parent 5 9b96265b5918
permissions -rw-r--r--
Made error pages send length of response to get keep-alive working properly; added (nonworking, sorry) keep-alive timeout support.

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