Click to See Complete Forum and Search --> : Argh!


stormrevolution
05-21-2003, 05:39 PM
I Keep getting a script error with my webpage, and i dont know where the error is.

When i preveiw the page localy it is fine. When i upload it to geocities it displays a error. Is there anyway to find the error or stop this coming up?

Cheers all!

(Website) Storm Revolution Website / Problem Site (http://www.geocities.com/monkejrq2/revolution_home.htm)

khalidali63
05-21-2003, 05:57 PM
Your problem is in the code that gecoties server automatically appends to the end of your html page.And unfortunately you can not remove it.

pyro
05-21-2003, 06:05 PM
You could use a script such as this one to surpress error messages:

<script language="javascript" type="text/javascript">

function handleError() {
return true;
}

window.onerror = handleError;

</script>

khalidali63
05-21-2003, 06:14 PM
good suggestion...pyro...lol

pyro
05-21-2003, 06:21 PM
And, one more suggestion... when you try to write some javascript and it isn't working, and you aren't getting errors, don't forget you added it in... ;)

stormrevolution
05-21-2003, 06:22 PM
Cheers!

seems to be working great. Thanks for all your help!;)

khalidali63
05-21-2003, 06:24 PM
lol....so true...you should've put this line with that as well
"use at your own risk.only for people who know what they are doing"

:D

pyro
05-21-2003, 06:27 PM
lol... Good idea! :p