Help - Search - Members - Calendar
Full Version: How to create a folder view in a web application
Codegrrl.com Forums > Languages > Other Languages
everdare
I'm working on a web application project (or a colleague is, actually) that needs an interface for adding images/organising an image bank. The interface would look much like the folder view in Windows environment, with preview pictures of the folders and a breadcrumb navigation to see where you're at (the way it's in Vista, at least). For this project it cannot be the regular navigation tree structure, all that's needed are the folders and a possibility to move in and out of them. Also, it cannot just be an "upload a file from your computer" option, either. mellow.gif

How could this be achieved? With PHP, jQuery or other JavaScript, plain HTML/CSS... ? So far all searches have turned out fruitless.

P.S. Sorry about the possible wrong forum, but I didn't think this was really a HTML/CSS or PHP/MySQL question... smile.gif
loadx
http://au2.php.net/readdir
One you have the output turn it into a JSON object (use some other existing library to do that). Once you have the JSON object then simply eval() it in in Javascript and parse it out into DOM nodes using jQuery or whatever.. alternatively you could render the entire folder using php but it's going to be god awful slow.
everdare
Thanks for the reply smile.gif We'll look into that...
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.