Image maps and follow scrolling

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
mohrgan
Beginner
Beginner
Posts: 6
Joined: Sun Mar 14, 2004 5:49 pm

Image maps and follow scrolling

Post by mohrgan »

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.
User avatar
bobwill
Mega Advanced
Mega Advanced
Posts: 229
Joined: Tue Oct 01, 2002 3:03 pm
Location: Kansas
Contact:

Post by bobwill »

How are you getting the popup window to pop down and could you plz provide a web site address
mohrgan
Beginner
Beginner
Posts: 6
Joined: Sun Mar 14, 2004 5:49 pm

Post by mohrgan »

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.
User avatar
bobwill
Mega Advanced
Mega Advanced
Posts: 229
Joined: Tue Oct 01, 2002 3:03 pm
Location: Kansas
Contact:

Post by bobwill »

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.
mohrgan
Beginner
Beginner
Posts: 6
Joined: Sun Mar 14, 2004 5:49 pm

Post by mohrgan »

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.
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

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
mohrgan
Beginner
Beginner
Posts: 6
Joined: Sun Mar 14, 2004 5:49 pm

Post by mohrgan »

That is very interesting, thanks Ruth,

I wonder which behaviour Milonic is hoping for? As in which is the result that they planned and engineered for?

Mohrgan.
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hmmm, not sure they thought about someone wanting to eliminate the popdown function :lol: You might contact them about it.

Ruth
Post Reply