hi,
Für die ganze Seite klappts (window.scrollBy..)
aber für's div (getElemtentById.....) klappts leider nicht.
Das dürfte daran liegen, dass scrollBy eben eine Methode des window-Objektes ist.
Hier müsste man wohl mit overflow/Positionierung oder clipping arbeiten - so man denn so ein Script für sinnvoll erachtet. Ich tu's nicht.
gruß,
wahsaga
--
/voodoo.css:
#GeorgeWBush { position:absolute; bottom:-6ft; }
/voodoo.css:
#GeorgeWBush { position:absolute; bottom:-6ft; }