/    Sign up×
Community /Pin to ProfileBookmark

folder structure code

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

to post a comment
JavaScript

3 Comments(s)

Copy linkTweet thisAlerts:
@requestcodeMay 01.2003 — 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
Copy linkTweet thisAlerts:
@vik_paauthorMay 01.2003 — 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
Copy linkTweet thisAlerts:
@requestcodeMay 01.2003 — 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.
×

Success!

Help @vik_pa spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...