Closed Thread Icon

Topic awaiting preservation: drop down menues Pages that link to <a href="https://ozoneasylum.com/backlink?for=8516" title="Pages that link to Topic awaiting preservation: drop down menues" rel="nofollow" >Topic awaiting preservation: drop down menues\

 
Author Thread
thomaspries
Nervous Wreck (II) Inmate

From: copenhagen, denmark
Insane since: Feb 2003

posted posted 02-06-2003 10:07

How do I make dropdownmenues in javascript. It needs to be made in layers.

Thomas
Denmark

Emperor
Maniac (V) Mad Scientist with Finglongers

From: Cell 53, East Wing
Insane since: Jul 2001

posted posted 02-06-2003 15:23

thomaspries: Welcome. You might want to explain what you want a little more - why not use HTML?

___________________
Emps

FAQs: Emperor

thomaspries
Nervous Wreck (II) Inmate

From: copenhagen, denmark
Insane since: Feb 2003

posted posted 02-06-2003 15:40

Because they need to be dynamic, so that I can use a content management system in the background.

Dracusis
Maniac (V) Inmate

From: Brisbane, Australia
Insane since: Apr 2001

posted posted 02-06-2003 17:26

You start with the <script> tags...

Seriously man, we can't read your mind. We have no idea how skilled you are at Javascript nor what you want exactly. Maybe providing some links to what you've currently tried or links to websites that do something similar.

[This message has been edited by Dracusis (edited 02-06-2003).]

Emperor
Maniac (V) Mad Scientist with Finglongers

From: Cell 53, East Wing
Insane since: Jul 2001

posted posted 02-06-2003 17:33

thomaspries: You can complete build DDMs from JavaScript (but it is largely unneccessary and unwise) or you can manipluate the contents using JavaScript - I'm just not sure what you are looking for.

If it is the latter the see this thread:
http://www.ozoneasylum.com/Forum2/HTML/002000.html

if so follow my links to wsabstract as they have a whole section on dynamic combo boxes (DDMs).

If it is the former I know of resources but I really wouldn't recommend that approach.

___________________
Emps

FAQs: Emperor

reitsma
Maniac (V) Mad Scientist

From: the bigger bedroom
Insane since: Oct 2000

posted posted 02-07-2003 03:11

hi!
what content management system are you using?

generally, it can be quite a tricky process, with quite a lot of compromise.

you usually start with a commercial version of the menu, like hiermenus or the milonic menu (google it), and study the code closely.

the next trick is trying to make a site framework based navigator church out the javascript code in that order. generally, it isn't easy.

...if you feel like coding more of it yourself, an excellent place to start is here.

personally, we've been using a slightly different technique.
we use the milonic menu, and each database has a "milonic navCreator" page, which creates the JS files based on the site framework. This means that whenever you've made a change to the site framework, you have to go through this process. it is quite manual, and fairly time consuming, but the pages will generally load a lot quicker when their menu is generated from a static JS file, instead of a hundred lines of dynamically generated code.

thomaspries
Nervous Wreck (II) Inmate

From: copenhagen, denmark
Insane since: Feb 2003

posted posted 02-07-2003 09:33

Thanks for your help!
I've sorted it out. The content management system is called siteCore....

« BackwardsOnwards »

Show Forum Drop Down Menu