Floating a menu over an image?

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
kedaniels
Advanced
Advanced
Posts: 12
Joined: Thu Oct 18, 2007 11:01 pm

Floating a menu over an image?

Post by kedaniels »

I'm implementing the Milonic menus for a client on a second website. First was pretty cut and dry - single menu in a table cell. It works great.

This time I've got 3 menus I need to use. I understand how to do multiple menus on the page but I'm stuck on something else.

I'm placing a menu in a table cell. This cell already includes an image (image fills the entire cell). I want the menu to "float" over a portion of that image. Can I position the menu specifically (aligned bottom and valign center) within a table cell?
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Re: Floating a menu over an image?

Post by John »

Use bgimage in a style tag to place the main image in the cell, then the usual steps to get the menu where you want it (see http://milonic.com/tablemenu.php if you need help on that).
John
kedaniels
Advanced
Advanced
Posts: 12
Joined: Thu Oct 18, 2007 11:01 pm

Re: Floating a menu over an image?

Post by kedaniels »

I've successfully done that. I have one other problem. My client has some images on her site that have some image maps. So i need to do 2 things in the cell. I need to have a mapped area and include a usemap in the image in the table cell. I also need to float a Milonic menu over the image on the lower 1/2 of the cell. Is something like this even feasible?
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Re: Floating a menu over an image?

Post by Ruth »

Hi,

You aren't going to be able to float the menu over an image unless it's a background image. As to your question in total, unless you can provide a test page with what you want so we can actually see it, it's going to be pretty hard to give you a definitive answer. From what you said, and without a test to see, I can only suggest that you set up another table in the cell, with two rows, the top for the image map image and the bottom for the menu.

Ruth
kedaniels
Advanced
Advanced
Posts: 12
Joined: Thu Oct 18, 2007 11:01 pm

Re: Floating a menu over an image?

Post by kedaniels »

Thanks Ruth. After posting last night I looked at things again and realized that I was going to have to divide into 2 cells (as you suggested in your last line). I won't bother providing a sample because you answered my question! I didn't think it was possible to do what I wanted to do but I wanted to make sure before I went about splitting the image.
Post Reply