Contents
Getting started What are CSS? Some CSS tricks CSS cautions What is JavaScript? Some JavaScript tricks JavaScript cautions |
Well, nothing is perfect. HTML isn't perfect in that some browsers don't support certain tags, CSS isn't perfect in that some browsers don't support certain properties.. see the trend? It's all about the `Browser War' and JavaScript is no different.
JavaScript was created by Netscape, so it is most compatible with Netscape. Internet Explorer 4.x supports 99% of what JavaScript has to offer, although IE 3.x is not quite as nice to you. Lynx, Mosaic, AOL, WebTV and a host of other browsers don't understand JavaScript at all. Sure, it's no fun, but as long as you don't make JavaScript necessary for navigation and viewing your site [for example, putting all your text in using document.write ], you'll be fine. :)
|
abstract, boolean, break, byte, case, catch, char, class, const, continue, default, delete, do, double, else, extends, false, final, finally, float, for, function, goto, if, implements, import, in, instanceof, int, interface, long, native, new, null, package, private, protected, public, return, short, static, super, switch, synchronized, this, throw, throws, transient, true, try, typeof, var, void, while, with.Oooh, I almost forgot. The TYPE attribute is required in the SCRIPT element of your document. How might this be a bug? Well, simple. IE4.x gets very upset if you put anything at all between the quote marks. So if you want your script to work in IE4 [at the time I'm writing this, it's the most used browser around], you have to do this:
<SCRIPT LANGUAGE="JavaScript" TYPE="">Yes, just leave the TYPE there with nothing in it. It'll work :) I checked. All right, that's as much as I'm going to talk about JavaScript. Good luck! Click on the Home button to go back to the main page.