Submenu position!

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
ttmobil
Advanced
Advanced
Posts: 14
Joined: Sat Jul 17, 2004 1:30 am

Submenu position!

Post by ttmobil »

Hi!

I have another problem!

How can I change the position of an text-submenu?

Here is my example: http://www.ttr-friends.de/test/index_3- ... /index.htm

Under the Forum button is an Submenu!
It should be a little more right, an higher!


I hop somebody can help me!


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

Post by Ruth »

Hi,

You can set position for a submenu off a horizontal main by using top="offset=-x"; and left="offset=-x"; where x is the number of pixels you want to shift the menu, minus shifts it toward the left and top, plus shifts it toward the right and bottom.

One thing you have to keep in mind, you are putting the menu in a top frame and opening the sub in the top frame, which is perfectly acceptable, however since you are using text in your submenu, if a person sets their text size to be very large you're going to 'lose' some of the submenu text since the submenu object [or any object for that matter] cannot occupy two frames at once and will NOT drop 'over' the bottom frame. It will remain on its own page, the head, and if the font size is increased enough then it will have part of it hidden on the part of the page not visible right now.

I suggest, since you are using images, that you use an image and overimage for that submenu. It's only one item so not a lot of images, and you can make it 21 high and around 180 wide. This is also better for your offset shift. Since the forum image is 71 wide, you'd subtract 71 from 180 and then divide the 109 by 2, this is the left offset shift you would need to make it look centered. left="offset=-54"; or so.

Ruth
ttmobil
Advanced
Advanced
Posts: 14
Joined: Sat Jul 17, 2004 1:30 am

Post by ttmobil »

Hi!

I think this is the better way!
Thank you for your opinion!


Thanks Tim
Post Reply