I have a little JavaScript on my site that seems to be causing a "print frame" problem in Netscape: it gives a "There are no pages to print" error. I don't want to disable the script or to make it not work in Netscape with a browser detector so can anyone help figure out what's wrong?
[tt] function getgoing(){
top.location=" }
if (top.frames.length==0){
document.write("<CENTER><B>This page is part of a frameset. You will be redirected to our main page in 10 seconds so you can use our navigation, or click <A HREF=' to go now.</B></CENTER><P>"
setTimeout('getgoing()',00010);
}[/tt]
Even a very simplified version causes the same problem:
[tt]if (top == self) self.location.href = "[/tt]
Don
don@pc-homepage.com
Experienced in HTML, Perl, VBScript, PWS, IIS and Apache. Run OS/2 Warp 4, BeOS v5 and Windows NT (only when I have to!)
[tt] function getgoing(){
top.location=" }
if (top.frames.length==0){
document.write("<CENTER><B>This page is part of a frameset. You will be redirected to our main page in 10 seconds so you can use our navigation, or click <A HREF=' to go now.</B></CENTER><P>"
setTimeout('getgoing()',00010);
}[/tt]
Even a very simplified version causes the same problem:
[tt]if (top == self) self.location.href = "[/tt]
Don
don@pc-homepage.com
Experienced in HTML, Perl, VBScript, PWS, IIS and Apache. Run OS/2 Warp 4, BeOS v5 and Windows NT (only when I have to!)