C_J_L
asked on
Find y position of bottom of element on web page and determine how much space is left
I need to be able to find the position of the bottom of a tabstrip on a webpage in order to determine how much space is left in the window clientheight space. Then I will add a division to what area is left based on the user's window size. This area will have a scroll bar and must be visible without using the browser scroll bar on the right.
The tabstrip is displayed. When a user clicks on a specific tab, a dynamic table will be displayed in the remaining area. The table is larger than the window size so the division around the table places a scrollbar at the bottom and right. I want to dynamically calculate this area no matter what the user's window size is.
TAB1 Tab2 Tab3 Tab4 Tab5
-------------------------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---
table I *
I *
I *
division right scroll bar *
I *
division scroll bar----------------------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- -------- *
browser scroll bar*********************** ********** ********** ********** ********** ********
The tabstrip is displayed. When a user clicks on a specific tab, a dynamic table will be displayed in the remaining area. The table is larger than the window size so the division around the table places a scrollbar at the bottom and right. I want to dynamically calculate this area no matter what the user's window size is.
TAB1 Tab2 Tab3 Tab4 Tab5
--------------------------
table I *
I *
I *
division right scroll bar *
I *
division scroll bar-----------------------
browser scroll bar***********************
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER