
Home
Menu and Navigation
Multiple Level
Menus
jQuery TreeView Menu (v1.4)
Asynchronous Treeview example
|
Categories
Partners
DaniWeb is an exciting community for web developers, Internet marketers, and technology enthusiasts.
Other Sections
Sweet Ads
Compatibility
|
|
Asynchronous Treeview exampleTreeView Menu supports an asynchronous mode, whereby you start out with an empty tree, then specify a server side script that dynamically returns the HTML for the branches in JSON format for the script to use to populate the tree with asynchronously and on demand. Here is an example: Async treeview demo: Note that use of this feature requires the external JS file
View source.php In the words of Jörn Zaefferer, the author himself, on this feature: "Notice how the only part of the list that exists at first is just an Look in So, after the initial loading of the tree, Alright, so looking at the third major node ("After Lunch"), it's currently
closed. Click the plus sign, and since there's already data, it show the rest of
the tree. Click the 3.6 node, and treeview goes /back/ to Table Of ContentsThis script consists of an index page plus 1 supplementary page:
|