| | WebDeveloper Forums - fixed menu postion with HM 5 |
 | | Since you're using variable width menus you'll need to play with the numbers to get the right position; if you use fixed width menus you could directly specify the exact position. |
 | | I used Math.max to ensure that, if the user's browser window is smaller than your layout, the menus will appear at a fixed left position relative to the edge of the page (as you are already doing) to make sure they still stay beneath your target links. |
 | | The second number (180, 296) represents the minimum left position for the menu--i.e., the position the menu would assume if your layout was flush against the left side of the browser window (and therefore the menus should not be adjusted further to the left of that point). |
| webreference.com /r/sf/showthread.php?threadid=39171 |