Log in

View Full Version : Keeping dropdown menu within browser edge when top level element is sticky



codenovice
02-15-2014, 05:36 PM
1) Script Title: All Levels Navigation

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

3) Describe problem: I am setting this up as a side menu and have used a script called stickUp.js to make it stay on the screen during scrolling. However, the dropdown(dropright) menu does not stay level with the parent item once I scroll down so that the menu is at the top of the screen, instead it opens above the screen edge and cannot be seen.

Is there something I can add to the js to correct for the effect of the menu's stickiness?

http://roses-and-teacups.com/test3.php

Thanks!!