js.rst
changeset 1419 9c6c35339ebc
child 1426 fc39c0ba45d7
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/js.rst	Tue Nov 13 11:30:35 2012 +0200
@@ -0,0 +1,75 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
+
+=============
+ JavaScript.
+=============
+.. contents ::
+
+HTML.
+=====
+
+<noscript> tag used to render HTML if JavaScript disabled in browser.
+
+Including JavaScript in HTML page.
+==================================
+::
+
+  <html>
+    <head>
+      <script type="text/javascript" src="abc.js"></script>
+    </head>
+   ...
+  <html>
+
+Inlining JavaScript in HTML code.
+=================================
+::
+
+  <html>
+    <h1>Hello!<h1/>
+    <script language="javascript">
+      <!--
+      alert("Hello!")
+      document.write("sin(10) = " + Math.sin(10))
+      //-->
+    </script>
+  </html>
+
+Reduce js code size.
+====================
+
+  http://crockford.com/javascript/jsmin
+                The JavaScript Minifier
+  http://developer.yahoo.com/yui/compressor/
+                YUI Compressor
+
+JavaScript versions.
+====================
+
+JavaScript 1.5 was introduced back in 1999.
+
+  https://developer.mozilla.org/en-US/docs/JavaScript/Reference#JavaScript.2FBrowser_support_history
+                List of versions with CHANGES.
+  http://en.wikipedia.org/wiki/Javascript#Versions
+                List of versions per browser.
+  http://en.wikipedia.org/wiki/ECMAScript#Version_correspondence
+                List of versions.
+
+XML from JavaScript.
+====================
+
+Powerful, standards-compliant JavaScript XML parser that is designed to help web application
+designers implement cross platform applications that take advantage of client-side manipulation of
+XML data. XML for <SCRIPT> provides a full suite of tools, including:
+
+ * A standards-compliant W3C DOM Level 2 processor
+ * An XPath processor
+ * A standards-compliant SAX processor
+ * A simple (classic) DOM processor
+ * Proxies for XML retrieval from any domain
+ * Utilities for XML and application development
+
+  http://xmljs.sourceforge.net/
+                home page
+