Click to See Complete Forum and Search --> : folder structure code


vik_pa
05-01-2003, 06:29 AM
I am looking for code that is used for folder structure i.e. when the + sign next to the folder is selected all the files within the folder are displayed.
I will be using links as opposed to folders - I am implementing a side menu

requestcode
05-01-2003, 07:18 AM
If your looking for a script to display files javascript cannot do that, but if you want a menu system that simulates that then check out this link to a script that I think will meet your needs:
http://www.dynamicdrive.com/dynamicindex1/navigate1.htm

vik_pa
05-01-2003, 08:58 AM
thanks the code is very useful. However I have a few queries about it
1. what is persistance script
2. When I insert the code in my editor, in design view I have invalid markups relating to the inner <ul> tags: contains duplicate attribute
3. will this code work in netscape

requestcode
05-01-2003, 09:29 AM
It is using cookies to keep track of which folder(s) are opened I suspect. Not sure why you are getting errors in your editor, but it does work. If you read the description at the link I gave you it tells you which browsers it works in and what happens in the other browsers.