Click here to Skip to main content
15,032,967 members
Articles / Programming Languages / Javascript
Posted 30 Sep 2003


92 bookmarked

Tree Menu Navigation

Rate me:
Please Sign up or sign in to vote.
4.83/5 (82 votes)
30 Sep 2003CPOL
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.

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.

Comments and Discussions

QuestionHow do we colse the previous main folder when open the one below? Pin
SameerMughal3-Mar-09 5:51
MemberSameerMughal3-Mar-09 5:51 
QuestionCookie Feature Pin
drupal2-Nov-07 7:44
Memberdrupal2-Nov-07 7:44 
QuestionScroll bar? Pin
bturman15-May-07 9:21
Memberbturman15-May-07 9:21 
AnswerRe: Scroll bar? Pin
Marcelo Franco on Notebook15-May-07 9:40
MemberMarcelo Franco on Notebook15-May-07 9:40 
GeneralRe: Scroll bar? Pin
bturman15-May-07 9:58
Memberbturman15-May-07 9:58 
GeneralRe: Scroll bar? Pin
Marcelo Franco on Notebook15-May-07 10:36
MemberMarcelo Franco on Notebook15-May-07 10:36 
AnswerRe: Scroll bar? Pin
bturman16-May-07 7:42
Memberbturman16-May-07 7:42 
GeneralYRB Pin
pardeew8-Nov-06 0:41
Memberpardeew8-Nov-06 0:41 
GeneralVery Special Thanks Pin
lmcgs18-May-06 18:09
Memberlmcgs18-May-06 18:09 
GeneralReally very nice Pin
onlyram30-Mar-06 3:40
Memberonlyram30-Mar-06 3:40 
Generala simplified version, no css or pics or table Pin
redguard13-Mar-06 20:43
Memberredguard13-Mar-06 20:43 
GeneralConverting with xsl Pin
adidas187-Apr-05 7:50
Memberadidas187-Apr-05 7:50 
GeneralRe: Converting with xsl Pin
KSamayan20-Jun-06 5:50
MemberKSamayan20-Jun-06 5:50 
GeneralRe: Converting with xsl Pin
roonex19-Jul-06 1:55
Memberroonex19-Jul-06 1:55 
GeneralI really like it, but have a few questions Pin
Anonymous9-Oct-03 14:41
MemberAnonymous9-Oct-03 14:41 
GeneralRe: I really like it, but have a few questions Pin
memyself&I13-Oct-03 9:38
Membermemyself&I13-Oct-03 9:38 
GeneralRe: I really like it, but have a few questions Pin
Industria Virtual13-Oct-03 9:49
professionalIndustria Virtual13-Oct-03 9:49 
GeneralClear::Simple::Nice Pin
Zanoon8-Oct-03 5:09
MemberZanoon8-Oct-03 5:09 
GeneralRe: Clear::Simple::Nice Pin
Industria Virtual1-Nov-03 12:26
professionalIndustria Virtual1-Nov-03 12:26 
GeneralRe: Clear::Simple::Nice Pin
pcaldas30-Mar-04 12:21
Memberpcaldas30-Mar-04 12:21 
GeneralRe: Clear::Simple::Nice Pin
programmersnet18-Oct-04 8:57
Memberprogrammersnet18-Oct-04 8:57 
GeneralRe: Clear::Simple::Nice Pin
sjfglzsdkfsldjflg2-Nov-05 9:18
Membersjfglzsdkfsldjflg2-Nov-05 9:18 

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

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