View Full Version : javascript? scroll(0,0) :correct syntax?
chartrandi
04-02-2004, 11:19 AM
I need to reset browser scrollbar to 0,0..
my computer crashes.
getURL("javascript:scroll(0,0)");
is that the correct syntax?
binkyboo
04-02-2004, 05:13 PM
Your code worked for me in IE6.
on (release) {
getURL("javascript:scroll(0,0)");
}
Slowburn
04-02-2004, 05:22 PM
your computer crashes? or just Flash? or just the browser?
Different reasons for each
chartrandi
04-02-2004, 08:39 PM
random :(, most of the times the browser, sometimes the computer
Slowburn
04-02-2004, 09:09 PM
if it's the browser, it could be your call. depending on what version and platform your on.
If it's mostly computer, then you may have either: too much open, or a virus, or not enough memory to run what your calling.
That's all I can think of. though, obviously, this shouldn't be happening
chartrandi
04-06-2004, 02:37 PM
actually with more testing, it's the browser. And it's really inconsistent. I have a modified version of IE 5.5. that may be the problem, or a really slow server that can't process enough of what I'm telling the computer to do.
chartrandi
04-30-2004, 03:22 PM
I am using mx 2004
IE 5.5
shared objects
cannot use ie 6 for "development" reasons.
I can't upload files unfortunately because it's a complex project involving several files and also for security reasons (yeah, I work for the IRA ..kidding).
When I troubleshoot, the project becomes more stable when I remove the scroll(0,0) code.
when I put it back it's crashing. I saw a similar thread in another forum but no answer was posted. I can't find it but if anyone finds out about this undocumented crashing thing, please advise. :(
|
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.