Linking JS Tree Menu items to promulgate a list menu in iframe

Hi,

I have this project to create one page site that lists all the folders in my company's archival drive and by clicking on the folders, it will promulgate a list menu of all the files in that folder in an iframe.

I recently got this tree menu that creates its listing off a local folder.
I also had this list menu that will show all contents of a folder in a list menu.
Everything was fine till I had link the folders to the list menu in iframe, have totally no idea how to do so.

Please help with my situation, thanks!

I have attached all the codes as well.
treemenu.js
listmenu.js
index.html
Jack_JxAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

scrathcyboyCommented:
" create one page site that lists all the folders in my company's archival drive and by clicking on the folders, it will promulgate a list menu of all the files in that folder in an iframe."

You can't do that.  A web page cannot actively and by itself read the contents of a hard drive that is remote to where the page is located.  e.g. if the web page is on a web server (such as an MS IIS server), then the folders on the rest of the hard drive are off limits to the web server.  

Only those folders UNDER the web server file structure are viewable, browsable and listable by the web page.  Getting the contents into an iframe is the LEAST of the worries.  You need to first figure out where the files/folders lists are relative to the web server and the web page.  That is the make/break of this.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Languages and Standards

From novice to tech pro — start learning today.