User: markomlm
Date: 2008-04-21 15:58:11+0000
Added:
   de/www/testdir/box.js

Log:
 script for swapper

File Changes:

Directory: /de/www/testdir/
===========================

File [added]: box.js
Url: 
http://de.openoffice.org/source/browse/de/www/testdir/box.js?rev=1.1&content-type=text/vnd.viewcvs-markup
Added lines: 17
---------------
var myPrefix='box_';
function swapper(item)
{
  for( i=1; i<7; i++)
        {
          document.getElementById( myPrefix + i ).style.display = 'none';
        }
  var state = document.getElementById( item ).style.display;
  if ( state == 'block' )
  {
          document.getElementById( item ).style.display = 'none';
        }
  else
        {
          document.getElementById( item ).style.display = 'block';
        }
}




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Antwort per Email an