Displaying 1 result from an estimated 1 matches for "screen_scrol".
2006 Feb 18
0
Move element into view
...ement);
var rand = 0;
if(this.options.offset) rand = this.options.offset;
var element_kante_oben = offsets[1];
var element_hoehe = this.element.offsetHeight;
// Länge und Position des dargestellten Ausschnitts relativ zum
gesamten Dokument
var screen_bottom, screen_height, screen_scrolled;
if (isIE){
screen_height = document.documentElement.clientHeight;
screen_scrolled = document.documentElement.scrollTop;
} else {
screen_height = window.innerHeight;
screen_scrolled = window.pageYOffset;
}
screen_bottom = screen_scrolled + screen_height;...