Forum Moderators: open

Message Too Old, No Replies

language="javascript"

which of the apocryphal 'older browsers' need this?

         

Robin_reala

4:12 pm on Jun 14, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Does anyone know which 'older browsers' require the language attribute in script elements? I want to purge them from our templates in the name of reclaiming bandwidth, but I'll need to know if I'm killing JS for any browsers on our support list. All I can find on other sites is that some 'older browsers' need it, but I suspect those pages are out of date anyway...

Thanks!

orion_rus

5:25 pm on Jun 14, 2005 (gmt 0)

10+ Year Member



Yeap, my experience shown, thad modern browsers didn't need what property, i think you can easy remove it)
Good luck to you

encyclo

6:25 pm on Jun 14, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



From memory, IE2 and Netscape 2.x had problems, but I think that it was more to do with the fact that they only supported Javascript 1.0, not 1.1 or 1.2. The
language
attribute was depreciated in HTML 4.0 in favor of
type
,so anything after about 1996 should be OK. So using
language
is little more than a waste of bandwidth these days.

Robin_reala

9:18 am on Jun 15, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Just what I wanted to hear :) Thanks!

Rambo Tribble

12:41 pm on Jun 15, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Of course, for a browser to dispense with the language attribute it must support the type attribute on the script tag; IE began support of the type attribute in version 4, Netscape in version 6.

Robin_reala

4:08 pm on Jun 15, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



OK, that's cool. We provide limited support for IE4 and no support for NN4 any more so that just fits our compatibility lists.