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: Thursday February 8 2018 - 06:02:34

Script conflict


Poster: John
Dated: Monday March 3 2003 - 23:25:37 GMT

OK, my turn...

Adding the menu calls to my site at http://tiggrsuccess.com/ blows away the onUnload in the body tag. If I comment out the menu calls it works fine.

Note that the cookie will only allow the onUnload to function once per session.

Thanks.


Poster: kevin3442
Dated: Monday March 3 2003 - 23:38:27 GMT

Quick two-cents John...

In

Code: Select all

onUnload="popup()"

I'm guessing it's the name of the function you're calling that's the root of the problem. mmenu.js also has a function called popup(), which is probably overriding your cookie-related function when you load mmenu.js. Can you rename your own popup() to something else?

Kevin


Poster: John
Dated: Tuesday March 4 2003 - 13:51:45 GMT

Hi Kevin -

Heh - knew there was a reason for this headache :!: My fault for not looking far enough. Duh...

Thanks.


Poster: kevin3442
Dated: Tuesday March 4 2003 - 18:00:20 GMT

So... is the headache because you smacked yourself in the head when you read the cause? ;) Just goes to show that it can happen even to the best of us. Glad to help.

Kevin


Poster: John
Dated: Tuesday March 4 2003 - 18:03:06 GMT

That's the main reason for the headache, although there's something wrong in my office that made it even worse so I'm now working from home (not to mention CSS is about to give me another one!). Already made the change and you were right.

Thanks again.