Multiple references to Milonic, but "Milonic" menu

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
Andrew Nielsen
Beginner
Beginner
Posts: 6
Joined: Fri Feb 20, 2004 11:18 pm

Multiple references to Milonic, but "Milonic" menu

Post by Andrew Nielsen »

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.
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

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).
John
Andrew Nielsen
Beginner
Beginner
Posts: 6
Joined: Fri Feb 20, 2004 11:18 pm

I assume that you also saw the problem!

Post by Andrew Nielsen »

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)?
User avatar
kevin3442
Milonic God
Milonic God
Posts: 2460
Joined: Sat Sep 07, 2002 12:09 am
Location: Lincoln, NE
Contact:

Post by kevin3442 »

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: Select all

<a href="https://milonic.com/">whatever</a>
Hope that helps,

Keivn
Andrew Nielsen
Beginner
Beginner
Posts: 6
Joined: Fri Feb 20, 2004 11:18 pm

The order of the javascripts solved it!

Post by Andrew Nielsen »

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
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

I just love those submenus, they are striking.

Ruth
User avatar
kevin3442
Milonic God
Milonic God
Posts: 2460
Joined: Sat Sep 07, 2002 12:09 am
Location: Lincoln, NE
Contact:

Re: The order of the javascripts solved it!

Post by kevin3442 »

Andrew Nielsen wrote:Thank you Kevin...
You're welcome. Glad it worked.

Code: Select all

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
Andrew Nielsen
Beginner
Beginner
Posts: 6
Joined: Fri Feb 20, 2004 11:18 pm

Yep, damn those ice dams!

Post by Andrew Nielsen »

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

Andrew
User avatar
Maz
Milonic God
Milonic God
Posts: 1717
Joined: Fri Jun 06, 2003 11:39 pm
Location: San Francisco
Contact:

Post by Maz »

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
Post Reply