Multi-level Tree

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
alexmaster_2004
Forum Commoner
Posts: 35
Joined: Wed Sep 14, 2005 8:44 am

Multi-level Tree

Post by alexmaster_2004 »

Hi
i want to know how i can build a multi-level tree.
i want to use this tree to show my products categories that users can choose from them.
to make things very clear:
i want to know how i can make something like the left hand column in this site http://www.download.com
using php and mysql.
i have tried to made it but all what i get is a static one(no expand or collapse) that show all categories at once.
if any one can help me finish it i will be very happy.
Thanks in advance.
User avatar
s.dot
Tranquility In Moderation
Posts: 5001
Joined: Sun Feb 06, 2005 7:18 pm
Location: Indiana

Post by s.dot »

Their navigation is static as well. Only, when you click on their links, a new page loads showing more options. This could be done with simple HTML. However, if you want expandable/collapsable menus, you'd have to use javascript.
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
alexmaster_2004
Forum Commoner
Posts: 35
Joined: Wed Sep 14, 2005 8:44 am

Post by alexmaster_2004 »

Hi
can you show me a sample of what the html code should be?
i tried to do it but i can't get it as i want.
Thanks
Post Reply