3 Replies - 531 Views - Last Post: 11 February 2014 - 03:39 AM

#1 mpari  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 11-February 14

Expandable/collapsable Folder Structure in HTML/Javascript

Posted 11 February 2014 - 01:49 AM

Hello All,

I have a folder in C drive and this folder has many more folders inside it. Theses folders contains hundreds of static html files linking each other. I need to design an index.hml (Deployed in webserver) page which will have an expandable/collapsable folder tree structure that will point to this folder in C drive so that I can expand it and the subsequent folders. I need to achieve it using html/javascript or any other js tool. Please let me know if anyone has done this before or any reference/links would be a great help. Something like below in the code section. And this should dynamically do this.

Thanks,

\wiki-content root  
    \space01  
        \files  
    \space02      
        \files  



Is This A Good Question/Topic? 0
  • +

Replies To: Expandable/collapsable Folder Structure in HTML/Javascript

#2 Dormilich  Icon User is offline

  • 痛覚残留
  • member icon

Reputation: 3541
  • View blog
  • Posts: 10,236
  • Joined: 08-June 10

Re: Expandable/collapsable Folder Structure in HTML/Javascript

Posted 11 February 2014 - 02:01 AM

unless your browser supports the new File APIs, your JS won’t have access to the local file system.
Was This Post Helpful? 0
  • +
  • -

#3 mpari  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 11-February 14

Re: Expandable/collapsable Folder Structure in HTML/Javascript

Posted 11 February 2014 - 02:10 AM

Yes it supports. Do you have any idea, any links, thoughts how we achieve it?

Thanks.
Was This Post Helpful? 0
  • +
  • -

#4 Dormilich  Icon User is offline

  • 痛覚残留
  • member icon

Reputation: 3541
  • View blog
  • Posts: 10,236
  • Joined: 08-June 10

Re: Expandable/collapsable Folder Structure in HTML/Javascript

Posted 11 February 2014 - 03:39 AM

there’s an article at MDN (with further links): Introduction to File Sytem API
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1