sub menu to left of image based menu

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
Fire
Beginner
Beginner
Posts: 4
Joined: Wed Jul 30, 2003 5:45 am

sub menu to left of image based menu

Post by Fire »

Howdy,

I've been working to switch over to v5 from v3 and have run into a problem. In my current design, I have two image-based menus up against the right edge of the browser window. With v3 I was able to use onMouseOver="popup('about')" on the base image in combination with a menu that's aligned to the right edge of the window and a negative offset to get the menu to pop out to the correct position left of the base image.

You can see an example of this (with v3) at:
Look at the "About" and "Join / Donate" menus in the upper right corner
http://www.erowid.org/temp/Milonic5/test_v3.shtml

But with v5 there seem to be two problems with this. a) I can't get a negative offset to work and b) image based menus are positioning based on the cursor position rather than based on the position of the base image.

Same example (with v5) at:
http://www.erowid.org/temp/Milonic5/test_v5.shtml

I've tried every combination I could think of for :
screenposition="right";
openstyle="rtl;
left=xx
right=-130
etc...
But obviously I'm missing something.

I can't use an absolute position from the top left corner since I want to be able to re-size the window and have the menus drop in the correct location relative to the right edge.

Using screenposition="right" with a negative offset in the popup:
onMouseOver="popup('about',1,0,-130)"
almost works, but it's still setting the position relative to the cursor position.

What I'm looking for is some way to tell the onMouseOver to position based on the location of the image that's being moused over, not the cursor position.

Any suggestions? What am I missing? Thanks for any help.

fire
Fire
Beginner
Beginner
Posts: 4
Joined: Wed Jul 30, 2003 5:45 am

Post by Fire »

Any chance that anyone can help with this?
Post Reply