Image based menu

Please note that official support for this menu version has now ceased. There are still plenty of users, though, and the forum is still running. Some of our long-time users may be able to help you out.
Post Reply
hrecter
Beginner
Beginner
Posts: 5
Joined: Thu Sep 26, 2002 5:19 am

Image based menu

Post by hrecter »

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
User avatar
trytrix
Super Advanced
Super Advanced
Posts: 92
Joined: Thu Sep 26, 2002 9:46 pm
Location: Flanders / Belgium
Contact:

Post by trytrix »

Hi,

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

Do a right mouse click and select "view source".
The menu popups are defined in :

Code: Select all

<map name="menumap">
<area href="#" onmouseover="popup('glasgow',1)" onmouseout="popdn()" shape="rect" coords="150,168,208,183">
.
.
</map>
Cheers,
Trytrix
You're Never Fully Dressed Without A :D Smile !

"From Image Flanders, one of Europe's most dynamic regions" - Visit : http://www.toerismevlaanderen.be
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 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
hrecter
Beginner
Beginner
Posts: 5
Joined: Thu Sep 26, 2002 5:19 am

Post by hrecter »

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

Hans
Post Reply