IPB

Google Frontpage Forums Unattended CD/DVD Guide
 
Reply to this topicStart new topic
> treeview
amocanu
post Jan 23 2008, 07:51 AM
Post #1


Freak
**

Group: Members
Posts: 136
Joined: 1-September 06
From: here
Member No.: 109163
OS: XP Pro x86
Country Flag


I need to display some categories in tree form using php and javascript.
Where can i find some help?


My table looks like this

CREATE TABLE `categories` (
`category_id` bigint(20) NOT NULL auto_increment,
`parent_id` bigint(20) NOT NULL,
`category_name` varchar(100) NOT NULL,
`category_description` text NOT NULL,
`category_order` bigint(20) NOT NULL,
`active` enum('0','1') NOT NULL,
PRIMARY KEY (`category_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=15 ;
Go to the top of the page
 
+Quote Post
PlanBForOpenOffi...
post Jan 30 2008, 09:48 AM
Post #2





Group: Members
Posts: 2
Joined: 30-January 08
Member No.: 174287
OS: XP Pro x86
Country Flag


Hi there,
if you want to see a static output, render the tree nodes into nested lists <ul>

If you want nodes that are collapsible, like the folder tree in an explorer window, look for the Dojo Toolkit that includes a tree view object, where you can control all those things.

Good luck

K<o>
Go to the top of the page
 
+Quote Post

Google Frontpage Forums Unattended CD/DVD Guide

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: 4th December 2008 - 11:47 AM
All trademarks mentioned on this page are the property of their respective owners
MSFN is not affiliated with Microsoft
Copyright © 2001-2008 msfn.org
Privacy Policy