Align menus on right

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
mallchin
Beginner
Beginner
Posts: 2
Joined: Sat Oct 08, 2005 4:19 pm

Align menus on right

Post by mallchin »

First off well done to the devs, I was looking for a suitable customisable menu and found yours to be one of the best :P

I am currently considering purchasing a license, however I have one niggling query; Is it possible to display menus on the right edge of the screen?

Something similar to right=10 in the menu definition to offset the menu by 10px on the right hand edge of the screen. It would appear it is only possible to position using top/left?

Some minor detection of the browser dimensions and appropiate jiggery pokery could accomplish this, however a built-in feature is preferable (if possible).

Many Thanks,

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

Post by Ruth »

Hi,

There is a property called screenposition which will allow you to place it pretty much where you want, well using keywords, like right, left, center, top, bottom or combinations. So, you could, for example, set top=20;screenposition="right"; that would put it 20px down and align it to the right. The menu will follow your margins, so if you have a 10px right margin set on the page, then right would be minus that 10px. Hope that helps.

Below my name is a list of links the bottom ones are to the properties for the menu program, style properties which get placed in the style you create, menu properties which get placed in the particular menus, and then item properties which are properties which can be used in the items. Some style and item properties can be in either place. In the style it will apply to all items using that style, in the item it will only apply to the item.

Ruth
mallchin
Beginner
Beginner
Posts: 2
Joined: Sat Oct 08, 2005 4:19 pm

Post by mallchin »

Excellent, thanks for the reply ;)

Nice to have a complete reference to menu/style properties, couldn't find these whilst rummaging the main site.

New customer on the way :)
Post Reply