Click to See Complete Forum and Search --> : Display Table


marcelokabula
05-05-2003, 09:32 AM
I have a page what has a tree structure where exists files in folders. The tables with the file's names are hidden with "style='display:none;'". After to click a folder, the file's names are viewed with "...tableobject.style.display='';". To close a folder do "...tableobject.style.display='none';".
The problem is what when to click a file name, to view the file's body, and after, to click on BACK, the tree structure is closed again. How to resolve this?

AdamGundry
05-05-2003, 10:52 AM
You could perhaps save which folders are 'open' via a cookie and then check that cookie on page reload?

Adam