| 4:55 pm on Sep 11, 2002 (gmt 0)|
And you don't need the language attribute.
| 5:02 pm on Sep 11, 2002 (gmt 0)|
What would I do with
Does this become:
| 5:03 pm on Sep 11, 2002 (gmt 0)|
The first one.
| 5:16 pm on Sep 11, 2002 (gmt 0)|
> And you don't need the language attribute.
bobriggs, are you sure of that? The reason I ask is because that is 4 more bytes of code that I can eliminate from my pages and before I do so, I want to make sure.
| 5:23 pm on Sep 11, 2002 (gmt 0)|
Deprecated because there is no standard.
You might need a netscape 3 version for this to make any difference, but I think it would be backwards compatible anyway. (It would just ignore any script elements that it didn't know what to do with), but in that case, your script wouldn't work anyway.
I don't think IE pays any attention to it. I also read somewhere else but can't verify it that if the src= attribute is used, the language attribute is ignored anyway.
| 6:20 pm on Sep 11, 2002 (gmt 0)|
Thank you very much for the references bobriggs. The savings was 22 bytes per page from my <head> sections. We are currently micromanaging our code to trim out as much as we possibly can. Little tips like this add to the totals.
We use absolute URL's for external file references. You can also use relative.
P.S. This is one of those times when the FP Find and Replace feature comes in handy. ;)
| 7:07 pm on Sep 11, 2002 (gmt 0)|
| 4:17 am on Sep 12, 2002 (gmt 0)|
| 4:29 am on Sep 12, 2002 (gmt 0)|
No, the older browsers were looking for the language attribute. And I mean really old. Which JS version are you using?
|I have some scripts for a site I work on that almost certainly won't work in older versions of the language |
I know I'd like to support all possibilities, but when's the last time you saw a real Netscape 3 browser come by your site?
| 5:39 am on Sep 12, 2002 (gmt 0)|
> when's the last time you saw a real Netscape 3 browser
> come by your site?
On my tiny little two-domain server with about 30 users and no reason for anyone else to show up? They all look like lying crack attempts. (and against the wrong operating system, no less)
The system I'm concerned about, however, has a significant portion of its users in Africa. I don't have access to the logs, but the people I work with/for assure me that not all the site's users have access to modern software and hardware.
As far as early NN4, I'm afraid I'm too young as a computer person to really recall. About that time, I was using Mosaic as a way to cut past the cruft on other peoples' sites and not paying much attention to NN, IE, and the browser wars. I also thought I'd never touch HTML until there were pleasant WYSIWYG editors for it, which is amusing in light of the fact that I now write everything in Emacs.