How to offset the popup menu from an image?

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
mfindlay
Super Advanced
Super Advanced
Posts: 38
Joined: Mon Jun 28, 2004 5:00 pm

How to offset the popup menu from an image?

Post by mfindlay »

I can't seem to get the popup menu to offset from the nav image I have attached it to. No matter what properties I set in the menu_data.js, it just always pops up immediately under the image.

Can anyone tell me what the property name is that I need to set to have the main menu popup 10 pixels under the bottom of the image?

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

Re: How to offset the popup menu from an image?

Post by Ruth »

Hi,

If you are actually using the 'popup' menu then the offsets are set in the popup call. See the methods and functions page and then down toward the bottom is the popup explanation with how to use offsets.

http://www.milonic.com/menu_methods.php

If you are talking about a regular menu and submenu opening from it, then is this from a horizontal or vertical menu, and can you give us a link to a working version?

Ruth
mfindlay
Super Advanced
Super Advanced
Posts: 38
Joined: Mon Jun 28, 2004 5:00 pm

Re: How to offset the popup menu from an image?

Post by mfindlay »

Thanks Ruth,

The popup() method info did the trick. :)

Mark
Post Reply