_menuCloseDelay is undefined?

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
Humorfreak
Beginner
Beginner
Posts: 3
Joined: Mon Aug 07, 2006 11:38 am

_menuCloseDelay is undefined?

Post by Humorfreak »

Hi!

At my site http://www.humorfreak.dk i've used Milonic Menu. First, the menu worked fine, then i made some changes in the menu_data.js file, and suddenly it didn't work. I can see the an error apears in the statusbar. It says "_menuCloseDelay is undefined" and "_menuOpenDelay is undefined". When i move the cursor over the images, the dropdown doesn't apear. It did before!

Why?

Thx..

Humorfreak

http://www.humorfreak.dk/includes/menu_data.js
http://www.humorfreak.dk/includes/mmenudom.js
http://www.humorfreak.dk/includes/mmenuns4.js
http://www.humorfreak.dk/includes/milonic_src.js
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

Looks like you managed to fix it.

Sounds like the menuCloseDelay and menuOpenDelay properties were not set.
Humorfreak
Beginner
Beginner
Posts: 3
Joined: Mon Aug 07, 2006 11:38 am

Post by Humorfreak »

OMG... How can i make such a mistake...

I was linking to the wrong site..

http://www.humorfreak.dk/2 <- is the right site
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

It's a tiny tiny syntax error.

On line 58 in your menu_data.js file you have this:

Code: Select all

aI("text=Strategi;url=spil.php?cat=6;")´
note the ´ character at the end of the line, that is causing the whole script to become corrupt and fail to load.

If you change it to :

Code: Select all

aI("text=Strategi;url=spil.php?cat=6;");
Everything should start to work again.

Hope this helps,
Andy
Humorfreak
Beginner
Beginner
Posts: 3
Joined: Mon Aug 07, 2006 11:38 am

Post by Humorfreak »

Thank u so much!

Great support!
Post Reply