ScreenPosition Problems

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
markpadam
Beginner
Beginner
Posts: 7
Joined: Mon Sep 05, 2005 4:30 pm

ScreenPosition Problems

Post by markpadam »

This works:
screenposition="right";
left="offset=-40";
But this doesn't:
screenposition="left";
right="offset=-40";
Anyone know why?
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi,

That's because the available offsets are top="offset=x"; and left="offset=x"; There is no right offset property. Besides, using a screen position left and trying to set a right offset is really not compatible. If you want the menu to be 40 pixels toward the right side after setting a left screen position just do, screenposition="left"; left="offset=40";, though I don't know why you wouldn't just set it as left=40; which places it 40 pixels toward the right side from the left position of 0 which is the default position of the menu. 0px is actually 0 after whatever your left margin is, so if you set the left margin at 0px then the menu position default is 0px at the left, if the left margin is 5px, then the default left of the menu is 0px after the 5px margin, and so on.

Hope this helps.

Ruth
Post Reply