Solved

Java Script Tree Menu

Posted on 2001-07-19
10
282 Views
Last Modified: 2008-01-16
Dear Experts,

I need a Tree Menu javascript, without frame
and I want to be able to create, edit or delete the node dynamicaly (on the fly) and gather all the tree information.
Please help me, I need it ASAP, Thanks a lot

JavaBoy
0
Comment
Question by:JavaBoy060299
  • 4
  • 2
  • 2
  • +1
10 Comments
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 6301545
0
 

Author Comment

by:JavaBoy060299
ID: 6301741
Hi Michel,

Thanks for links, but both of them doesn't meet my requirement, does It ?
0
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 6301881
Why not?

Any process that can create/modify code like this
menu = new MTMenu();
menu.MTMAddItem(new MTMenuItem("News", "menu/news.html", "text"));
menu.MTMAddItem(new MTMenuItem("Features etc.", "menu/features.html", "text"));
menu.MTMAddItem(new MTMenuItem("Supp. browsers", "menu/supported_browsers.html", "text"));
menu.MTMAddItem(new MTMenuItem("Why use it?", "menu/why_mine.html", "text"));
menu.MTMAddItem(new MTMenuItem("Sites in use", "menu/in_use.html", "text"));
menu.MTMAddItem(new MTMenuItem("Download", "menu/download.html", "text"));
menu.MTMAddItem(new MTMenuItem("Install Guide", "menu/install-guide.html", "text"));
menu.MTMAddItem(new MTMenuItem("Support"));
menu.MTMAddItem(new MTMenuItem("Contributions", "menu/contribs.html", "text"));
menu.MTMAddItem(new MTMenuItem("Notes from the author", "menu/author-notes.html", "text"));
menu.MTMAddItem(new MTMenuItem("Things learned", "menu/things.html", "text"));
menu.MTMAddItem(new MTMenuItem("How it works", "menu/how-it-works.html", "text"));

menu.MTMAddItem(new MTMenuItem("Morten's pages"));
menu.MTMAddItem(new MTMenuItem("M. Hall's pages"));
menu.MTMAddItem(new MTMenuItem("Home", "main.html", "text"));  


can change the menu...

Please elaborate on your needs if my comment did not satisfy your needs
0
 
LVL 15

Expert Comment

by:a.marsh
ID: 6303091
When you say change it on the fly, are you using a server-side scripting language then? If so, which one?

:o)

Ant
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

Expert Comment

by:mkprasad
ID: 6304610
Try this link
http://www.geocities.com/Paris/LeftBank/2178/
Author:Marcelino Alves Martins(martins@hks.com)December'97.
0
 

Accepted Solution

by:
mkprasad earned 100 total points
ID: 6304647
Try this link
http://www.geocities.com/Paris/LeftBank/2178/
Author:Marcelino Alves Martins(martins@hks.com)December'97.
0
 

Author Comment

by:JavaBoy060299
ID: 6535832
not exactly satisfied, but better than the other tree recommended by mplungjan. anyway thx.
0
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 6535901
Any chance of hearing what made the last example better???

Seems quite similar...

Michel
0
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 6535903
PS: Glad not to have received a "C" grade - a bit uncalled for - a comment detailing what the script did not solve for you would perhaps have been more appropriate...
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The task A number given should be formatted for easy reading by separating digits into triads. Format must be made inline via JavaScript, i.e., frameworks / functions are not welcome. So let’s take a number like this “12345678.91¿ and format i…
JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now