The answer would depend on how far (or how complicated) you're
going. If you just want to add some interactivity to your form, I don't
think you would need to spend a lot of time to support NN4 as well. Even
supporting <layer> vs <div> isn't that diffcult and doesn't take much time.
But if you're doing almost a whole application, I agree with Robert
that you'd better forget NN4.
As my personal experience, I develop only for NN6+ and IE5.5+ for my
company's web application. I don't even support IE4 and IE5.0 because their
CSS support is very buggy and broken. I even lean to support NS6+ because
the web application involves displaying reporting and if you've ever had
occasion to print webpages containing tables, you should have noticed that
the result from IE isn't very pleasing -- tables are broken in the middle,
headers can't repeat or column widths are totally wrong, etc.
As to DOM, Robert has said everything :-)
> -----Original Message-----
> From: Mark Almirante [mailto:almirantemark@y...]
> Sent: lundi 3 mars 2003 07:03
> To: javascript
> Subject: [javascript] Cross browser scripting
>
>
> I'm a student web developer and want to know if professional
> developers who create cross-browser client-side scripts,
> ignore NN4 browser? Is it still being used today? Do clients
> demand that web pages you create are compatible with NN4 and
> its 'layer' implementation of DHTML or can I completely
> ignore it and just focus on NN6,NN7,IE4/5/6?
>
> Also, I'm using a technique I found in one of the books I
> read on DHTML that involves creating an external javascript
> file that basically detects the DOM used by the client and
> returns the corresponding DOM addressing scheme (whether
> 'document.all' or 'document.getElementById') to be used in my
> DHTML code. Is this an effective way of creating
> cross-browser DHTML, and is it being used in the real world
> by professional developers.
>
> Thanks so much for responding.