#105 doc
tdf

Indicate supported doctypes

Reported by tdf | May 16th, 2008 @ 10:11 AM | in Inline documentation

document.viewport.getHeight() return NULL on IE6

Should be patch with:

function ViewportHeight() {

var vHeight = document.viewport.getHeight();

if (!vHeight && document.body) vHeight = document.body.clientHeight; // For IE6

return vHeight;

}

Thanks for your great work,

Thierry

Comments and changes to this ticket

Please Login or create a free account to add a new comment.

You can update this ticket by sending an email to from your email client. (help)

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

The Prototype JavaScript library.

Shared Ticket Bins

Tags