Monday, May 20, 2024
 Popular · Latest · Hot · Upcoming
139
rated 0 times [  141] [ 2]  / answers: 1 / hits: 23013  / 14 Years ago, thu, october 21, 2010, 12:00:00

Possible Duplicate:

Accessing the height of div in javascript






We're trying to alter msdropdown to drop up if the menu will go off the frame. In order to figure if that's going to happen we need to check the location of the drop down box relative to the frame that it's in. From there it's easy make the thing open upwards, but the location is troubling us. Getting the element by id doesn't seem to reach through the several frames to the one we're using. Is there an easy way to do this?


More From » jquery

 Answers
12

JQuery offset might help you in getting relative position of dropdown.



Read more about it


[#95223] Wednesday, October 20, 2010, 14 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
dominiqued

Total Points: 189
Total Questions: 122
Total Answers: 103

Location: Ghana
Member since Sun, Mar 27, 2022
2 Years ago
;