View Full Version : Floating menu bar?

11-30-2011, 11:53 AM
I am using a LiveMenu script for a horizontal menu bar and before I get into a lengthy dissertation with code snippets, I need to know if it is possible to have the drop downs open on the left when a menu is at the right end of the page. Currently, the item at the far right bleeds past the right page border and I need it to drop to the left so it is visible.
Is this something that is altered in CSS or in the javascript and what do I look for in the coding?

Many thanks

11-30-2011, 11:50 PM
This is a 'viewport' problem. The script should know when a subitem appears outside the visible part of the screen and then recalculate the left position based on its width.
Google around using menu, reposition, and outside viewport.
Arie Molendijk.

12-01-2011, 12:43 AM
That is great...thank you for the guidance molendijk