Bookmarklets in IE9: Scroll to Top?

binarymoustache

New member
Nov 11, 2011
11
0
0
I'm trying to add bookmarklets to IE for "Scroll to Top" and "Scroll to Bottom", but I'm not having any luck.

javascript:alert("This works correctly.");
javascript:scroll(0,0); //this doesn't work, and seems to load forever.

Any ideas?
 
I'm trying to add bookmarklets to IE for "Scroll to Top" and "Scroll to Bottom", but I'm not having any luck.

javascript:alert("This works correctly.");
javascript:scroll(0,0); //this doesn't work, and seems to load forever.

Any ideas?
I believe the function is scrollTo(x,y).
 
Strange, I just tried it and it seems to work correctly for some pages but not for others. Looks like it doesn't work on most pages though. I wonder why it actually does work on some pages?
 

Trending Posts

Forum statistics

Threads
342,392
Messages
2,265,473
Members
428,867
Latest member
Brendurley