PDA

View Full Version : Chrome Menu: change flyout direction



petroglyphic
06-07-2011, 10:37 PM
1) Script Title: Chrome CSS Drop Down Menu (v2.5)

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/chrome/index.htm

3) Describe problem: What is the correct way to modify the script so that the menu items fly out to the left rather than right? I have the CSS set (display:inline) so the menu items drop down as a horizontal list. Initially I tried changing all the "rights" to "lefts" and vice versa, but that didn't work so I just cheated and set the offset to the right side of the window so high that the list flies left (in the clearbrowseredge function). Not surprisingly this causes weirdness if the window is narrowed. I would like to do this correctly.

Thanks, Susan