Thank you very much for your kind help. I really liked the idea
of the div locator, then I realized that I can achieve the same
end by simply querying the getOffsetTop() on my canvas.
Unfortunately, your example suffers from the same issue that
prompted my posting in the first place: body.clientHeight returns
a height that accomodates the elements on the page at their
current size. In the case of your example it returns 78, while
tl.getOffsetTop() returns 94. It looks like the height only goes
to the bottom of the button and does even include padding, border
& margin below the button. So I never see the blue div.
Because of this, I need to use window.innerHeight and therefore
still need to know the heights of the body padding, border and
margin so I can subtract them at the bottom. Until I can figure
out how to query or calculate these values, I am setting them
myself and saving the values for later use in resize.
begin:vcard fn:Mark Callow n:Callow;Mark org:HI Corporation;Graphics Lab, Research & Development adr:Higashiyama 1-4-4, Meguro-ku;;Meguro Higashiyama Bldg 5F;Tokyo;;153-0043;Japan email;internet:firstname.lastname@example.org title:Chief Architect tel;work:+81 3 3710 9367 x228 tel;fax:+81 3 5773 8660 x-mozilla-html:TRUE url:http://www.hicorp.co.jp, http://www.mascotcapsule.com version:2.1 end:vcard