So if you want to waste the rest of you day with conditional statements converting things to layer object then you can do that.
Joined: Nov 05, 2002
Thanks for your response. But I had to do this as one of our customer uses the legacy browser. So there is no choice for me. Can some one please help me.
Joined: Nov 08, 2001
That link shows you the layer tag. I bet that is what you are going to have to deal with.
I do not think they have the style attribute either and I do not think display is supported.
I have not coded for Netscape 4 in over a year so I do not remember all of the little things that it does not support.
You might be better off detecting the browser and using a different script. It will save you from having the modern browsers having to sort through all of the junk that you are going to have to create for this browser.
Start your code off in small chunks and see if you can get it to work. Converting the whole thing in one chunk will not work.
Perhaps a simpler solution would be to point your customer to Netscape's site where they can download the latest browser, with all its new features, for free. I'm sure that your customer must be pretty frustrated already that a large proportion of sites he visits look awful, or don't work at all, in his browser of choice...
Personally I believe that would be time better spent than coding specially for one customer who uses Netscape 4. It shouldn't be a hard sell. You have a choice.