View Full Version : How to realize dynamic expand tree?
08-24-2005, 06:16 AM
I want to create a dynamic expand tree,like follows:
When click Directory1,this page will read contents of Directory1 from database and show them,the result is follows:
How to realize above function? Is there have open source code for it?
08-24-2005, 10:13 AM
Assuming that you want to look at directories and files on a server, thinks like this can either be solved using pure server side scripting, or a combination of client side / remote scripting and server side functions.
To find information about remote scripting, Google for "ajax xmlhttprequest" or "remote scripting". PHP often is the server side language of choice for its availability and large number of resources and script examples, Google for "php scripts" to find your way to a number of these resources.
Being a novice myself on this subject and having read a good book on it recently, believe me when I tell you that this is no simple, cut-n-paste stuff; you'll have to really dive into it to understand these technologies and to make them work for what you want to accomplish.
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.