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: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:42

Multiple references to Milonic, but "Milonic" menu


Poster: Andrew Nielsen
Dated: Friday February 20 2004 - 22:26:36 GMT

Firstly, I love the menu. I have been using 3rd party DHTML products for years and this is one I can see myself recommending to clients in all future contracts!

Now the juicy part: I have a test page at http://www.neelos.com/test_menu.htm. As you can see it has multiple references to the Milonic site, and the js files are all in tact exactly as downloaded (after registering the not-for-profit).

I have checked all FAQs and topics in this forum but still cannot figure out what I am doing wrong!!!

Thanks in advance for any help.


Poster: John
Dated: Friday February 20 2004 - 23:32:57 GMT

I took your _data and html and posted it on my server at http://tiggrsuccess.com/test/. Works just fine (at least I'm assuming that's what you want!).

I did remove a couple of the JS calls you had to other scripts just to narrow things down to the menu. The only other thing I found was a missing # in pagecolor (certainly not the problem).

Possibly a conflict with one of the other scripts (you can see what I removed).

I assume that you also saw the problem!


Poster: Andrew Nielsen
Dated: Friday February 20 2004 - 23:54:13 GMT

Thank you for testing it!

Can I please ask - did you get the problem occur for you when you viewed it at my server (http://www.neelos.com/test_menu.htm)?


Poster: kevin3442
Dated: Saturday February 21 2004 - 0:24:18 GMT

Hi Andrew,

I don't think it's so much a conflict with your other scripts as it is a timing issue introduced by your other scripts. I notice that your menu appears on the page well before your links to milonic.com appear. So, by the time your links show up, the menu script has already determined that you don't have any links on your page and forces the change in menu item #1... Guess that's a side effect of having a fast-rendering menu script! Probably one of your other scripts is taking awile to do whatever it does (don't know which one, 'cause I don't know what they do!). This would explain why John didn't see the problem in his tests; if he removed the lines that load the scripts, then they weren't doing what they do to cause the delay.

Possible solutions might include:

(1) load the menu_data.js file last... after your other scripts (or at least after the slow one).

(2) If that doesn't work, move the loading of menu_data.js to the first line of the <body>.

(3) If that doesn't work, move it to a location following the link to milonic.com.

Try those and let us know what happens.

As you probably know, you'll only need one link on the page to milonic.com to turn off "MILONIC". Make sure that the href is exactly as follows
Code:
<a href="http://www.milonic.com/">whatever</a>

Hope that helps,

Keivn

The order of the javascripts solved it!


Poster: Andrew Nielsen
Dated: Saturday February 21 2004 - 1:06:13 GMT

Thank you Kevin, the order of the javascript loads was the problem!

I see you are in Lincoln - I was in Nebraska at Christmas and I hear it is still pretty cold there at the moment (sorry about that)!

Thanks again,
Andrew


Poster: Ruth
Dated: Saturday February 21 2004 - 2:25:35 GMT

I just love those submenus, they are striking.

Ruth

Re: The order of the javascripts solved it!


Poster: kevin3442
Dated: Saturday February 21 2004 - 3:52:01 GMT

Andrew Nielsen wrote:
Thank you Kevin...

You're welcome. Glad it worked.

Code:
I see you are in Lincoln - I was in Nebraska at Christmas and I hear it is still pretty cold there at the moment

Yeah... pretty nasty lately. About two feet of snow in two weeks... bad roads, below zero temps (wind chills like 20 - 30 below some nights :? ), lots of ice dam problems on roofs (I bet a lot of you warm-climate home owners don't know what an ice dam is!... trust me, you don't want 'em. :evil: ) Anyway, not too bad all in all... we Nebraskans are tough. And the farmers will be glad of the snow melt. Plus, its been up in the 30s during the last few days :D . Nice weather is on the way!

Cheers,

Kevin

Yep, damn those ice dams!


Poster: Andrew Nielsen
Dated: Saturday February 21 2004 - 18:03:45 GMT

Glad you liked the sub-menus Ruth, and good luck getting rid of all the ice Kevin!

Andrew


Poster: Maz
Dated: Saturday February 21 2004 - 18:35:32 GMT

I just took a look at your site, you need to update to version 5.2 due to a display problem on the mac.

Regards,
maz