Netscape 4.7 crash!?

liunx

Guest
Hi guys. I am new here, but hope someone will kindly help me out. Ok, here's the problem:<br />
<br />
Netscape 4 crashes with my site: <!-- w --><a class="postlink" href="http://www.notestomyself.net">www.notestomyself.net</a><!-- w --> or just gives a blank page. <br />
<br />
My guesses are it is either to do with<br />
1. css<br />
2. javascript code<br />
3. html/combination of stuff<br />
<br />
Also I don't know if there are multiple problems. Some people say that removing the css removes the crashes but from my testing, removing the <SCRIPT> tags removes the crashes... confused!<br />
<br />
I made some test pages: <!-- w --><a class="postlink" href="http://www.notestomyself.net/netscape/">www.notestomyself.net/netscape/</a><!-- w --> with and without css/script tags. What crashes for you?<br />
<br />
I haven't been able to spot the problem for absolutely ages and it seems that 25% of my traffic is Netscape 4 based!<br />
<br />
Any netscape experts? Thanks,<br />
Darren<!--content-->expert? it doesn't take an expert to see that it won't work. you have like 20 empty lines between ever line. your javascript is so spread apart I don't bet NS crashes on it.<br />
<br />
this is a prine example why NS is so much better. IE will let you do anything and it doesn't care.<br />
<br />
<br />
fix it or nobody will want to debug it. the 11.htm that is. after you fix it it just might work.<br />
<br />
edit: in fact after you delete 2207 empty lines I can almost garruntee it will work, it will look like crap but it won't crash.<!--content-->Thanks for the advice. It's good to know there are people that help the inexperienced among us.<br />
<br />
I have removed the netscape directory & removed many blank lines from the main page.<!--content-->no problem, that's what I'm here for.... :)<!--content-->Unfortunately it still seems to crash/not work as before. :rolleyes:<!--content-->hmmmm it worked for me. upload the page here and I will have a look at it.<!--content-->i got in using netscape 4.7 and everything seemed to work pretty well. Are you sure that your Netscape just doesn't have some corrupted files? Try reinstalling it and I bet it'll work like a charm.<!--content-->you still have to much space in that javascript<br />
<br />
<br />
<script language="javascript" type="text/javascript"><br />
<!--<br />
function OpenComments (c) {<br />
window.open('http://www.notestomyself.net/cgi-bin/movtype/mt-comments.cgi?' + 'entry_id=' + c, 'comments', 'width=480,height=480,scrollbars=yes,status=yes');<br />
}<br />
//--><br />
</script><br />
<br />
it should look like that. and you can still get quiet a few line back. I made it a lot smaller than what you have on the site now.<!--content-->Thanks for checking the site guys. I'm glad it works for you, but when I have both css/javascript enabled in my netscape (communicator 4.77) I get nothing but blue (the background colour of the style sheet). So I presume it also does this for other people.<br />
<br />
The javascript worked ok for me with no css enabled - the site displayed, albeit no colour/style!, but I will try condensing it as you suggest. The javascript I think should be ok, as it comes with movabletype - a blogging system which many people use. Otherwise lots of people would complain :)<br />
<br />
Someone on another forum suggested that a problem they had with my site seemed to be fixed by changing the order of some styles in the style sheet. Is that possible? Are there any known bugs like that (assuming my style sheet is ok)?<!--content-->the only order you have to worry about is the a:hover and a:link ones. all 4 of those will have to be in order, but will not make it crash. now when I got rid of 2207 lines of blank spaces it worked just fine. the problem was you had everything sparatice in the code and NS blew up at it. if it works on my machine it will work on the server. everything not just the style.<br />
<br />
I will look at it again......ok it crashed mine again. I still see that javascript all messed up, also the link to the style sheet might be causeing it. take out the / or put in ./ but not just /<!--content-->I'm sure you will be pleased with the removal of many blank lines :) <br />
<br />
However, finally I have discovered that it's something in the style sheet at fault. Deleting the style sheet will avoid netscape 4 crashes. <br />
<br />
I was getting mixed results with turning css/javascript on and off...The problem with NT/XP is that after Netscape crashes (or producing an empty page), if you quit and restart the browser, changes (e.g. turn off css) seem not to have any effect. But if you log off and on again, then you can test a new setting.<br />
<br />
Anyway... the style sheet appears to have issues. Commenting out certain styles (.blog, .blogtext, .blogbody) removes crashes, but I haven't worked it all out yet.<!--content-->when you crash and then restart netscape after a fix in a script, just hit shift and reload or ctrl and reload as that will make it reload a fresh page. now it isn't in the stylesheet as I can run it with no problems with the style sheet and javascript. I ran the style sheet in a validator and it seemed fine, except the millions of warning, but that will not make it crash. of course I won't argue on removing blogtext since NS 4.xx will not read it.<br />
<br />
<br />
but here is a screen shot of NS4.xx running your page with the style sheet and javascritp.<br />
<br />
also add this line in<br />
<br />
<link rel="stylesheet" href=http://www.htmlforums.com/archive/index.php/"./styles-site.css" type="text/css"><!--content-->Thanks for the reload tip. But I was deleting the cache (mem+hd) so assumed it would effectively do the same thing.<br />
<br />
I believe ./ is for the current directory (?), but I use / to refer to the root of the website as it's part of a template used in all pages in all directories. Or am I mistaken?<br />
<br />
As for your results, I am not sure what is going wrong. The style sheet definately makes my netscape crash. I've got communicator 4.77 on Win2000, you? I will try on XP also...Perhaps there is more than one problem - i don't know. Lots of these results seem to contradict one another.<!--content-->if the page is in root adn the style sheet is in root then you need to use ./ or leave it blank. if oher pages need it and they are a folder down from root then it will be ../ but as you have it now you need to use nothing or ./<br />
<br />
I am on 98 with NS4.79<!--content-->Scoutt, thanks for the help. <br />
<br />
Using a second style sheet for netscape it seems to work. It doesn't look great, but doesn't crash and that's ok with me.<br />
<br />
The '/', by the way I need because it's part of an include - each page (any directory) uses the same code for calling the style sheet so ../ etc wouldn't work.<!--content-->well in IE with using the / it wouldn't load the style sheet, until I made it ./<br />
<br />
part of an include? what code are you using? and how did you code for the netscape style sheet?<!--content-->
 
Back
Top