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:39

Submenu position!


Poster: ttmobil
Dated: Tuesday March 13 2007 - 16:45:43 GMT

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-dateien/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


Poster: Ruth
Dated: Tuesday March 13 2007 - 19:40:53 GMT

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


Poster: ttmobil
Dated: Tuesday March 13 2007 - 22:10:13 GMT

Hi!

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


Thanks Tim