New! Advanced value for Align property allows you to set 2 new parameters: AlignElementCorner, AlignMenuCorner.
For each of these two parameters you have to set one of the following values: BottomLeft, BottomRight, TopLeft or TopRight.
The sub-menu will align the AlignMenuCorner to the AlignElementCorner.
For example, if you want to align your submenu to the right (as in the Right value), you will have to set AlignElementCorner to TopLeft and AlignMenuCorner to TopRight.
You can also use the Offsets properties to get your Easy Menu exactly where you want it to be.
Here are a couple of examples using Advanced value for Align.
 |
This example shows how the menu appears when you set TopRight value for AlignElementCorner and
TopLeft value for AlignMenuCorner.
Here is the code:
<oem:EasyMenu
id="EasyMenu1"
runat="server"
AttachTo="element"
Align="Advanced"
AlignElementCorner="TopRight"
AlignMenuCorner="TopLeft"
>
|
 |
This example shows how the menu appears when you set BottomLeft value for AlignElementCroner and
TopLeft value for AlignMenuCorner.
Here is the code:
<oem:EasyMenu
id="EasyMenu1"
runat="server"
AttachTo="element"
Align="Advanced"
AlignElementCorner="BottomLeft"
AlignMenuCorner="TopLeft"
> |