Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:37
Image maps and follow scrolling
Poster: mohrgan
Dated: Friday March 19 2004 - 19:05:35 GMT
Working with popup menus on image maps. Is it possible to have the menu (once poped up) fixed to the image? So if the image is scrolled the menu will scroll with the image and perhaps off screen? I tried "followscroll=0;" as a guess, but that does not seem to do the trick.
Note: I am not using onMouseOut to popdown the menu.
Thanks for any help.
Mohrgan.
Poster: bobwill
Dated: Saturday March 20 2004 - 15:35:46 GMT
How are you getting the popup window to pop down and could you plz provide a web site address
Poster: mohrgan
Dated: Saturday March 20 2004 - 22:03:08 GMT
The menu is poped down from inside of some other JavaScript code or by another popup being placed which automatically pops down the previous one.
The whole project is not web based and there is no web address, Sorry. It is starting to look like I should be using menuDisplay(). I have not had time to look into that as of yet.
Mohrgan.
Poster: bobwill
Dated: Sunday March 21 2004 - 13:09:38 GMT
I have an image map with popup windows using Milonic Version 5 menu code. Once your mouse is moved off the popup window the window goes away. Even if you use your scroll button on your mouse the popup window does not follow.
On the Milonic home page under samples there is an image map popup sample.
Sorry that is all the advice I can give.
Poster: mohrgan
Dated: Sunday March 21 2004 - 13:49:28 GMT
If you remove the onMouseOut event handler form your <area> tags. As in remove the 'popdown();' JavaScript code, as well as don't place the mouse over the menu, then the menu will stay visible till; you execute the popdown(); call or you place the mouse over the menu then remove it or you popup another menu somewhere on the same page. (by the way this is more or less exactly the behaviour I am looking for, if the menu would stay stuck to the image would be great).
At least that is the way it works for me. Once you do this you can scroll the image with the browser scroll bars with out the menu poping down on its own.
What I would like at this point is to be able to scroll a menu off screen and then scroll it back on. I would like the popup menu to be stuck to the image. I looked a bit at the menuDiaplay (); call but it does not have the conveyance of popup().
Mohrgan.
Poster: Ruth
Dated: Monday March 22 2004 - 5:35:20 GMT
Just so you know, it actually does what you want in IE 5.5 and Opera, I tested the fixed position pop menu and the image map menu taking out the code parts you said and it sticks to the item that opens it. It seems it's netscape and firebird that don't 'fix' the menu to the item, they seem to treat the menu like IE does with a fixed background. The difference being that of course the menu is ontop of the text or image map.
Ruth