Submenu needs to align right

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
inntheory
Beginner
Beginner
Posts: 1
Joined: Thu Jul 12, 2007 3:09 pm

Submenu needs to align right

Post by inntheory »

I have a menu that the right subnav is forcing the screen to horizontal scroll when it pulls down.

hat do I have to do to get that single menu pull down to align right so it opens to the other side?
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi,

If I understand the menu is opening on the right now, which is what is causing the scroll bar because of the collision detection in the menu. That is it detects if part of the menu is going to open and would be 'outside' the edge of the browser so it forces a scroll bar at the bottom so that it's all visible. You have two options, either put ignoreCollisions=true; at the top of the menu data file, which will make that submenu go beyond the screen edge without a horizontal bar [not good since it might not be usable. Or you can use the openstyle property in that submenu to force it to open at the left of the parent item openstyle="forceleft";

Ruth
Post Reply