Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Archived Topics for the old Version 3.0 JavaScript Menu
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:31

Menu doesn't work


Poster: dennis801
Dated: Monday May 12 2003 - 2:13:11 BST

Hello

I am Dutch so there can be some mistakes.

I had found "Top Navigational Bar IV All" on http://www.dynamicdrive.com This is a site where you can download the script of the menu from menu creator. Because I don';t understand the menu creator, I use the scripts.
But when I upload the scripts as the "readme" file say, it doesn"t work. http://members.lycos.nl/gmzoekmachine on the top you see a little small thing. That's what I get.

But if I watch the script from my harddisc than the menu is showing. When I use the same codes.

How is this possible. Can somebody help me.

Thanx Dennis
gruwelijkmooi.nl


Poster: John
Dated: Monday May 12 2003 - 15:24:59 BST

First - always get the menu code from Andy's site. Last time I looked dynamicdrive was at least 25 versions down-level. See http://www.milonic.co.uk/menu/download.php.

Next, the JS calls should be right after the <body> tag. Unfortunately I see two <body> tags in your code, so I'm not sure how things are going to react.

Try fixing those items and then we'll go from there.

Menu doesn't work


Poster: dennis801
Dated: Tuesday May 13 2003 - 0:08:35 BST

Now I have installed the menu van the menu.zip, but the result is the same. A little black point and not the menu (http://members.lycos.nl/gmzoekmachine). How is this possible. I haven't changed enything.

Please help me.

Thanx Dennis
gruwelijkmooi.nl


Poster: John
Dated: Tuesday May 13 2003 - 20:49:47 BST

In both IE6 and NS7 I see a horizontal menu at the top of the page, light blue background, with 6 items. All the sub-menus drop down properly.

At this point I'm not sure what to tell you - it works for me.


Poster: kevin3442
Dated: Tuesday May 13 2003 - 20:54:57 BST

Hi Dennis,

I also see your menus (IE6 and NS7 in Win2k). What OS and Browser are you using?

Kevin


Poster: dennis801
Dated: Wednesday May 14 2003 - 0:46:33 BST

Yaa I know.
I thougt about a solution. I use the program Netobjects fusion 5 for building my website. It's very easy. But the code

<SCRIPT>/*
* DHTML Menu version 3.3.19
* written by Andy Woolley
* Copyright 2002 Andy Woolley. All Rights Reserved.
*
* Please feel free to use this code on your own website free of charge.
* You can also distribute and modify this source code as long as this
* Copyright notice remains intact and that you send me notice that you
* intend to use this code on your website.
*
* Limited support for this script is provided
* Commercial licence agreements are available on request for use & full support.
* You can send email to menu3 __at__ milonic.com

* Script featured on Dynamic Drive (http://www.dynamicdrive.com)
*/</SCRIPT>

<SCRIPT language=JavaScript src="menu_array.js" type=text/javascript></SCRIPT>
<SCRIPT language=JavaScript src="mmenu.js" type=text/javascript></SCRIPT>

Has to be after </Head>. Only then the menu works. With the progra you can get a simple box where you can put the code so you don't have to put the code by hand in every page. But with this code that way doensn't work. So now I have to put the code on every page bij myself and that is verry stupid because I have more than 500 pages I think.

Somebody knwo a solution?

Thanx Dennis
gruwelijkmooi.nl


Poster: John
Dated: Wednesday May 14 2003 - 14:45:42 BST

dennis801 wrote:
Yaa I know.
I thougt about a solution. I use the program Netobjects fusion 5 for building my website. It's very easy. But the code

<SCRIPT>/*
* DHTML Menu version 3.3.19
* written by Andy Woolley
* Copyright 2002 Andy Woolley. All Rights Reserved.
*
* Please feel free to use this code on your own website free of charge.
* You can also distribute and modify this source code as long as this
* Copyright notice remains intact and that you send me notice that you
* intend to use this code on your website.
*
* Limited support for this script is provided
* Commercial licence agreements are available on request for use & full support.
* You can send email to menu3 __at__ milonic.com

* Script featured on Dynamic Drive (http://www.dynamicdrive.com)
*/</SCRIPT>

<SCRIPT language=JavaScript src="menu_array.js" type=text/javascript></SCRIPT>
<SCRIPT language=JavaScript src="mmenu.js" type=text/javascript></SCRIPT>

Has to be after </Head>. Only then the menu works. With the progra you can get a simple box where you can put the code so you don't have to put the code by hand in every page. But with this code that way doensn't work. So now I have to put the code on every page bij myself and that is verry stupid because I have more than 500 pages I think.

Somebody knwo a solution?

Thanx Dennis
gruwelijkmooi.nl


Now I'm very confused. The only thing you need on every page is the JS calls...

Code:
<SCRIPT language=JavaScript src="menu_array.js" type=text/javascript></SCRIPT>
<SCRIPT language=JavaScript src="mmenu.js" type=text/javascript></SCRIPT>

...and the reason for that is because it's JS. When you leave a page the JS goes away as well. That's just the way it works.

Frankly, I really don't see the problem with pasting 2 lines of code into every page. A little time-consuming, perhaps, but jeez, it's not like an attack of killer bees... :?


Poster: dennis801
Dated: Wednesday May 14 2003 - 16:52:51 BST

Yeah alright it's not such a big problem, but if it could easier. Than that's beter.


Poster: kevin3442
Dated: Wednesday May 14 2003 - 19:15:50 BST

I used NetObjects Fusion a few years ago. I seem to recall that you can set up "Master Borders" (or something like that), to include code on each page. I would put repetitive code in the bottom master border.

Kevin


Poster: dennis801
Dated: Thursday May 15 2003 - 10:58:18 BST

Yeah I know that, but if I put the code in the bottom masterborder than the menu doesn't appear at all. It seems that the code must be after </HEAD> only than the menu appear. Look it's simple to put the code in the masterborders so you don't have to copy and paste the code in every page that's what I want, because I have more than 500 pages and that's a hall of a job to but the code in every page.