View Full Version : Convert to netscape 4.x workable
ohohoh
12-23-2002, 08:57 AM
Thanks for dropping in.
[qn closed]
Skyzyx
12-23-2002, 09:08 AM
Well, I'd love to, but there's a problem:
To make a long explanation short, Netscape 4.x is crap.
Netscape 4.x does not support hardly any CSS (I see you were using that), and it does not support the W3C Document Object Model (W3C DOM)... being the document.getElementById(), or the Internet Explorer-specific (MS DOM) document.all().
You may have to do without NS4... sorry.
ohohoh
12-23-2002, 09:12 AM
Is there ways to replace the getElementbyId etc with netscape 4.x capabilities elements / functions ??
brothercake
12-23-2002, 02:10 PM
Not easily - you've used "createElement" which doesn't and won't work in ns4; you've also used "insertBefore" which is likewise; both these things are DOM scripting capabilities that ns4 is simply too old for.
What you might be able to do is create lots of tiny <layer></layer> elements - as many as you'll possiby need, and then write into them using the document.layers["layername"].document.write approach
There's more info if you want
ohohoh
12-24-2002, 01:17 AM
Oh ok thankx for the help
i'll try
regards ohohoh
whammy
12-24-2002, 01:49 AM
This is one of those cases in which I'd convince your client (whoever you're creating this for) that it's going to cost them 3x as much money (in your wasted time regarding research and code hacking) to create a compatible script for people that have ancient browsers; and that percentage of users should be very very small.
Actually the only people I know that use browsers that old are web developers, since most systems come bundled with at least IE 5... anyone else who's using a browser that messed up will get errors everywhere they go, and I don't know of ANY systems that ever came bundled with NS 4.x - perhaps some old AOL accounts?... one nice feature of the old NS 4.x browsers was their javascript debugging, but has been far surpassed by the new gecko engine.
Borgtex
12-24-2002, 02:03 AM
Originally posted by whammy
Actually the only people I know that use browsers that old are web developers
lol. That's true; I think that it's masochism; like the fireman who sets fire to the furniture of his house to see if he can extinguish it :D
whammy
12-24-2002, 02:05 AM
Yup... time to just burn it down, I say.
ohohoh
12-24-2002, 02:05 AM
wow, well said.
I have being researching for almost a week... in internet, some books, friends, forums till now still no answer to the netscape 4.x :) . Guess I have to tell the users to install Free Netscape 7 browser!
Thks
Regards
ohohoh
whammy
12-24-2002, 02:13 AM
As long as you agree with my philosophy, and your clients do, it should be fine...
I see this as basic logic:
Anyone using Netscape 4.x will see errors all the time, if they surf the internet. Partly, that's because of propretary IE scripting, but mostly it's because their browser is just too old and doesn't support even basic CSS.
IE (although not a totally DOM compliant browser) is "accounted for" by most web developers since Microsoft has the majority of the browser market.
Judging by that logic, I think it's fair to say you can be pretty safe by NOT supporting people who are using Netscape 4.7 or whatever.
Any dissenting opinions?
Skyzyx
12-24-2002, 02:43 AM
Nope. I've always been a hardcore-Netscape, anti-Internet Explorer person... but before I started seriously designing, I actually stopped using Netscape's browser because of 4.x. I hated it. I used IE exclusively until Netscape 6.2 came out, which was the first decent version of 6.x. I still had IE as my primary browser until I discovered a little application called Mozilla 0.9.9. I switched over, and haven't looked back.
The only reason I currently have Netscape 4.8 installed on my system is the same reason I have Netscape 2.02 installed... for laughs! :D Novelty, I guess...
ohohoh
12-24-2002, 02:50 AM
I'm glad that i'm not the only 1 having problems with NS4.x *relieve:p But the difficult part is to convince them to install new versions.. sigh
ohohoh
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.