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: Wednesday July 18 2012 - 06:07:17

Image based menu


Poster: hrecter
Dated: Wednesday November 13 2002 - 3:07:48 GMT

Hi

I am trying to set a a menu similar to the sample with the map.
I am having trouble getting the menu to pop up at the mouse position.
Could you tell me where the code setting for this is.

Thanks in advance
Hans


Poster: trytrix
Dated: Wednesday November 13 2002 - 19:49:57 GMT

Hi,

See the map example link : http://www.milonic.com/menu/menusample.php?sampleid=10

Do a right mouse click and select "view source".
The menu popups are defined in :
Code:
<map name="menumap">
<area href="#" onmouseover="popup('glasgow',1)" onmouseout="popdn()" shape="rect" coords="150,168,208,183">
.
.
</map>
Cheers,
Trytrix


Poster: kevin3442
Dated: Wednesday November 13 2002 - 22:56:54 GMT

Hi Hans,

Specifically, it's the use of 1 as a second parameter in the call to popup() that does what you want; i.e., popup('menuname', 1). The 1 causes the menu to open at the current MouseXY.

Kevin


Poster: hrecter
Dated: Thursday November 14 2002 - 10:52:26 GMT

Thanks very much. I had missed the use of 1.

Hans