Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> How to create a folder view in a web application, ... but not navigation tree
everdare
post Aug 11 2008, 03:51 PM
Post #1


Rank #5: Obsessed
*****

Group: Members
Posts: 317
Joined: 7-February 05
From: Finland
Member No.: 2,173



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
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
loadx
post Aug 12 2008, 11:02 AM
Post #2


Rank #5: Obsessed
*****

Group: Members
Posts: 452
Joined: 12-January 07
From: Melbourne, Aus
Member No.: 6,757



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.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
everdare
post Aug 12 2008, 01:59 PM
Post #3


Rank #5: Obsessed
*****

Group: Members
Posts: 317
Joined: 7-February 05
From: Finland
Member No.: 2,173



Thanks for the reply smile.gif We'll look into that...
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

- Lo-Fi Version Time is now: 29th July 2010 - 11:39 AM