Click here to Skip to main content
11,411,494 members (65,719 online)
Click here to Skip to main content

Tree Menu Navigation

, 30 Sep 2003 CPOL
Rate this:
Please Sign up or sign in to vote.
This is a cool navigation menu. Easy to setup, clean and cross-browser compatible.

Sample Image - image.jpg


This is a simple tree menu. Very clear XP style. Works with frames or without frames. Easy to setup, compatible with major actual web browsers (Microsoft Internet Explorer 4+, Netscape 4+, etc.).

The menu is infinitely expansive, great for forum and websites with a very large amount of links and sub-pages, threads etc. I enclosed a subroutine to collapse or expand all threads. My friends and other programmers asked me about a framed sample of this application. So I enclosed this sample in the zip file too. Viewing the source code you can also learn how to use the command target on link to other web pages in your website or other sites of the web.

I enclosed the image icons, but you can easily change them to suit your website layout.


You can also download this zip file here.


Feel free to send your comments to the author, Marcelo Franco at:

That's all folks.


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Industria Virtual
Web Developer Industria Virtual
Brazil Brazil
Taylor made web applications for you and your business.
Follow on   Twitter

Comments and Discussions

QuestionHow do we colse the previous main folder when open the one below? PinmemberSameerMughal3-Mar-09 6:51 
QuestionCookie Feature Pinmemberdrupal2-Nov-07 8:44 

Thanks for your Javascript Tree.
I'm going to use it to hold several thousands of nodes.
Has there been any plan to include a cookie feature that will remember the state of the tree when refreshing the page?


QuestionScroll bar? Pinmemberbturman15-May-07 10:21 
AnswerRe: Scroll bar? PinmemberMarcelo Franco on Notebook15-May-07 10:40 
GeneralRe: Scroll bar? Pinmemberbturman15-May-07 10:58 
GeneralRe: Scroll bar? PinmemberMarcelo Franco on Notebook15-May-07 11:36 
AnswerRe: Scroll bar? Pinmemberbturman16-May-07 8:42 
GeneralYRB Pinmemberpardeew8-Nov-06 1:41 
GeneralVery Special Thanks Pinmemberlmcgs18-May-06 19:09 
GeneralReally very nice Pinmemberonlyram30-Mar-06 4:40 
Generala simplified version, no css or pics or table Pinmemberredguard13-Mar-06 21:43 
GeneralConverting with xsl Pinmemberadidas187-Apr-05 8:50 
GeneralRe: Converting with xsl PinmemberKSamayan20-Jun-06 6:50 
GeneralRe: Converting with xsl Pinmemberroonex19-Jul-06 2:55 
GeneralI really like it, but have a few questions PinsussAnonymous9-Oct-03 15:41 
GeneralRe: I really like it, but have a few questions PinsussMeMyself&I13-Oct-03 10:38 
GeneralRe: I really like it, but have a few questions PinmemberMarcelo Franco13-Oct-03 10:49 
GeneralClear::Simple::Nice Pinmemberzanoon8-Oct-03 6:09 
GeneralRe: Clear::Simple::Nice PinmemberMarcelo Franco1-Nov-03 13:26 
GeneralRe: Clear::Simple::Nice Pinmemberpcaldas30-Mar-04 13:21 
GeneralRe: Clear::Simple::Nice Pinmemberprogrammersnet18-Oct-04 9:57 
GeneralRe: Clear::Simple::Nice Pinmembersjfglzsdkfsldjflg2-Nov-05 10:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Terms of Use | Mobile
Web03 | 2.8.150414.5 | Last Updated 1 Oct 2003
Article Copyright 2003 by Industria Virtual
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid