bacterozoid
10-19-2002, 02:57 AM
Alright, here is my script:
<script language="javascript">
if (screen.width == '800')
{
document.write ("")
}
else {
document.write ("ERROR MESSAGE")
}
</script>
I wrote that myself, lol, some easy basic stuff that I can do. (Yet I can edit and troubleshoot really advanced scripts...go figure) Well, I know that you are going to look at that and think 'amature,' so go right ahead, lol. What I need to know is why it won't read properly in Netscape. No matter what resolution I use it does not display the 'else' statement error; it displays whatever I put up there in the 'if' statement, which will be nothing at all.
I don't think it's the fact of having a blank 'if' statement, which I had to use because I don't know any simpler way to eliminate a possibility, lol, if you know what I mean...
So anyways, why won't it work in NN and how do I fix it? Thanks
To see 'er in action Click here (Princeton Bands) (http://www.geocities.com/jon_zie/band/homepage.htm)
I just made a whole new front page for the actual site which someone else runs, but up under the 'Princeton Bands' where there is a <hr> is where your error message should appear.
<script language="javascript">
if (screen.width == '800')
{
document.write ("")
}
else {
document.write ("ERROR MESSAGE")
}
</script>
I wrote that myself, lol, some easy basic stuff that I can do. (Yet I can edit and troubleshoot really advanced scripts...go figure) Well, I know that you are going to look at that and think 'amature,' so go right ahead, lol. What I need to know is why it won't read properly in Netscape. No matter what resolution I use it does not display the 'else' statement error; it displays whatever I put up there in the 'if' statement, which will be nothing at all.
I don't think it's the fact of having a blank 'if' statement, which I had to use because I don't know any simpler way to eliminate a possibility, lol, if you know what I mean...
So anyways, why won't it work in NN and how do I fix it? Thanks
To see 'er in action Click here (Princeton Bands) (http://www.geocities.com/jon_zie/band/homepage.htm)
I just made a whole new front page for the actual site which someone else runs, but up under the 'Princeton Bands' where there is a <hr> is where your error message should appear.