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: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:23

sub menu to left of image based menu


Poster: Fire
Dated: Wednesday July 30 2003 - 8:56:34 BST

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


Poster: Fire
Dated: Tuesday August 5 2003 - 0:12:23 BST

Any chance that anyone can help with this?