[Project_owners] How to scroll the browser window?

Jaap Haitsma jaap at haitsma.org
Wed Nov 16 21:45:36 EST 2005


In firefox 1.0 I used

getBrowser().mCurrentBrowser.contentWindow.scrollX
getBrowser().mCurrentBrowser.contentWindow.scrollY

to read the scroll position of the window. That still works in FF 1.5, 
but scrolling a window like

getBrowser().mCurrentBrowser.contentWindow.scrollTo(100,100)

doesn't.

Does anybody know how to scroll the window in FF 1.5

Jaap




More information about the Project_owners mailing list