Forum Moderators: open

Message Too Old, No Replies

Runtime errors

         

Dexie

7:33 am on Jun 20, 2005 (gmt 0)

10+ Year Member



Visitors to my website keep getting the error message:

"A runtime error has occurred"

and the culprit seems to be the script below? Does it look ok to you please?

<!-- hide script from old browsers

top.window.moveTo(0,0);
if (document.all) {
top.window.resizeTo(screen.availWidth,screen.availHeight);
}
else if (document.layers¦¦document.getElementById) {
if (top.window.outerHeight<screen.availHeight¦¦top.window.outerWidth<screen.availWidth){
top.window.outerHeight = screen.availHeight;
top.window.outerWidth = screen.availWidth;
}
}

// end hiding script from old browsers -->

Moby_Dim

7:44 am on Jun 20, 2005 (gmt 0)

10+ Year Member



May be not. The script should work properly without this error (at least in the case it works when onload event fires.)

Dexie

7:04 am on Jun 21, 2005 (gmt 0)

10+ Year Member



Many thanks Moby, Still getting the errors, so not sure what the next move is?

Moby_Dim

7:52 am on Jun 21, 2005 (gmt 0)

10+ Year Member



Send the URL by sticky, please.