SitePoint Sponsor |
|
User Tag List
Results 1 to 6 of 6
Thread: window.scroll
Threaded View
-
Mar 26, 2003, 12:11 #1
- Join Date
- Feb 2002
- Location
- Pennsylvania, USA
- Posts
- 65
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
window.scroll
I have the following script portion that when the page reloads it is to jump to the very bottom of the window. This is for a Chat script. It works great in NS 4.7 and up, but IE does not seem to like it. I only goes to the bottom of the first "page"
Code:function toBottom(){ if(document.all){ window.scroll(0, document.body.clientHeight); }else{ window.scroll(0,20000) } }
Bookmarks