Displaying 1 result from an estimated 1 matches for "scrollen".
Did you mean:
scrolled
2006 Feb 18
0
Move element into view
...unt necessary to bring the element into
view.
Usage: new Effect.ScrollToFullView(element, {duration: 0.6, offset: 10});
Offset is the distance in pixel to the upper/lower viewport border.
You need to define window.isIE as true/false somewhere prior or change the code.
// Nur sowenig wie möglich scrollen, bis das Element sichtbar ist.
Effect.ScrollToFullView = Class.create();
Object.extend(Object.extend(Effect.ScrollToFullView.prototype,
Effect.ScrollTo.prototype), {
setup: function() {
Position.prepare();
this.scrollStart = Position.deltaY;
var offsets = Position.cumulativeOffset(thi...