Discussion Locked

Web page-opening a new window

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

My first question, I hope I am in the correct section:-
I have a web page that needs regular STOP-PRESS updates that are most convenient with a new (small) window. I use the following code (in page index.html) which works fine in IE5, NS6.2, Opera6+ & Moz. but the link is dead in NS4.7, other javascript on the site work ok in NS4.7

STOP PRESS

I still get about 5% of my visitors use NS4.7 so I don't want to ignore them.

I've searched the web and scanned a pile of books to no avail. Help please!

Ray

5 replies

by raygrob

Thanks for the try Nicci, however I still get a dead link in NS4.7. Its a strange problem as javascript IS a NS script, jscript being the IE version.
Ray

by nikki96

Then it's something else you are doing.
The above worked fine in my NS 4.7.
You aren't trying to specify a version of javascript, are you?

Are you sure you don't have any spaces embedded in there that don't belong?

Post a link to your code online if possible.

This is the full html that worked fine when I tested it. WATCH for spaces from word-wrap!
Test this. If it works, you know it's something else in your code. If it doesn't, there's something odd going on with your browser, because it worked fine in mine.
Be sure you have script turned on in your browser.

New Document

STOP PRESS

by raygrob

Hi again Nicci. Your certainty that it should work made me look again and I have now solved the problem after much head scratching. Both codes work but the problem was with the external Style Sheet. I had styled the links but that seems to have killed the links in NS4 (Odd! I'll look into why that is so elsewhere). I have got round it using 2 style sheets and only used the link styles in the @imported sheet.
Thanks for your help (a sharp mental kick!)
Best regards Ray

This discussion is closed to new replies.