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:45

Javascript in URL

Poster: selfsimilar __at__
Dated: Friday January 25 2002 - 18:38:18 GMT

I would like to include a onmouseover and onmouseout calls to pop-ups in some menu urls. How can I do this?

Re: Javascript in URL

Poster: icehorse __at__
Dated: Tuesday March 5 2002 - 1:27:59 GMT

This all depends on what you are doing with the mouseovers. Are you just wanting to swap images or are we doing something more complex?

Re: Javascript in URL

Poster: webmaster __at__
Dated: Tuesday March 5 2002 - 16:11:14 GMT

I want to use it to call OverLib pop-ups (see ).

It requires the following

onmouseover="return overlib('message');"
onmouseout="return nd();"

I wll provide the user with addition information about the content of the link they would go to - essentially a tooltip

Re: Javascript in URL

Poster: RexManning
Dated: Tuesday March 5 2002 - 16:21:15 GMT

Hmmm -- looks like there some sort of conflicts between mmenu.js and overlib.js. They cannot co-exist let alone have menu items call overlib.

Not sure where the problem is.

Oh well - I sure like mmenu.js but I have a critical need for overlib pop-ups.

Re: Javascript in URL

Poster: jlpraz __at__
Dated: Tuesday March 5 2002 - 16:41:50 GMT

I think there is a way to make this work, I just haven't been able to work out the syntax you need to use to embed it in the menu. I'm sure Andy can work out the logic on this one though, I've seen him do it before. The problem is you have to escape from certain characters, most notably the " marks, otherwise the menu reads it an and of variable and things go boom. At best I can get nothing to happen and the menu works, or an error is reported about expected ')' and the menu works. At worst no menu.

Re: Javascript in URL

Poster: scaraballo __at__
Dated: Tuesday March 5 2002 - 21:15:25 GMT


The problem is the Overlib.js file has a function called disp and the menu uses a variable called disp.

I renamed the variable in mmenu.js and everything worked. I'll make sure that this variable has a permenant fix in the new version.

BTW there are only 3 references to disp in mmenu.js so as long as you rename each instance of disp to say mdisp everything should be ok.

-- Andy