![]() ![]() ![]() ![]() |
| Topics this page:
|
Related: |
Best resources to learn JavaScript
To avoid intricate coding necessary to ensure JavaScript coding works across various browsers, most JavaScript coders today use a JavaScript library.
jQuery
MicroJS.com from Thomas Fuchs lists micro libraries of JavaScript.
End of life was announced in 2014, but
Yahoo's User Interface IYUI) Javascript library, supported with blogs by
developers and
users,
offers drag-and-drop libraries and controls for
AutoComplete
Calendar
Container (including Module, Overlay, Panel, Tooltip, Dialog, SimpleDialog)
Logger
Menu
Slider
TabView new!
TreeView
|
![]() ![]() ![]() |
|
1991 | Microsoft introduces Visual Basic and VBScript |
1995 | JavaScript Created by
Brendan Eich of Netscape based on the Standard Generalized Markup Language (SGML) defined as ![]() Microsoft releases Internet Explorer 3.0 by renaming Javascript JScript . |
Dec. 1996 | Cascading Style Sheets, level 1 (CSS1) page presentation recommendation is released. Both Microsoft and Netscape promise adherence to the standard, and implemented CSS1 in version 4.0 of their browsers. Netscape's Scott Thurman and Microsoft's Scott Isaacs co-wrote CSS1. |
July 1997 | ECMA-262, also known as ECMAScript, is released by Microsoft as JScript 3.1. |
July 1997 | HTML 4.0 draft specification issued by W3C provides enhanced table and form support.
Microsoft's VBScript site |
98 | Extended Markup Language (XML) is used to define the object, methods, properties, etc., and script to provide the functionality to write server <scriptlet> elements. This functionality is processed by Internet Explorer 5. |
May 98 | CSS2 Recommendation published by the W2C. |
June 98 | Microsoft releases IE5 with support for XML, dynamic expressions, fixed-layout tables, and dynamic behaviors. |
Oct 99? | Microsoft releases Windows 2000 (Millenium) with IIS 5. |
- | Javascript accepted as ISO-16262 |
- | Dynamic HTML (Collection of Tutorials) from Netscape |
Oct 04 | Firefox 1.0 officially released by Mozilla |
W3C's SMIL (Synchronized Multimedia Integration Language) standard (and *.smil file extension) integrates digital snapshots with audio commentary. If your browser doesn't support it, get the
MathML (Math Markup Language) was defined to describe mathematical symbols.
The main competititor to Javascript is Macromedia Flex.
Browser Product | Language Version |
---|---|
NN2+ & IE3+ | JavaScript 1.0 |
IE3+ only | VBScript |
NN3+ only | JavaScript 1.1 |
NN4+ | JavaScript 1.2 Guide and Reference (DHTML) |
IE4+ | JScript 3 (DHTML) |
IE5 | JScript 5 |
IE5.1 WSH 2 ![]() | JScript 5.1 |
Only Netscape recognizes <SCRIPT language= "Javascript 1.1">. IE will ignore it. Likewise, Netscape ignores language="VBScript" container tags.BooK recommendation: “Hybrid HTML Design: A Multi-Browser HTML Reference” (ISBN: 1562056174) by Kevin Ready and Janine Warner, provides a good guidance on coding HTML for multiple browsers.
| ![]()
|
![]() ![]() ![]() |
|
![]() ![]() ![]() |
|
Code Conventions for Javascript
|
![]() ![]() ![]() |
|
|
![]() ![]() ![]() |
|
Javascript Coding Tutorials![]()
|
![]() ![]() ![]() |
| ![]() ![]()
Personalizing a site by switching style sheets improved for NN4 Glish's list of CSS resources and tutorials include a Blogger template in CSS that is XHTML 1.0 compliant, free of tables, relying exclusively on CSS for formatting. Pre-5 browsers will simply see an un-styled but well structured HTML document. 5+ browsers will see a styled page with a 3 panel layout.
| ![]() ![]() ![]() |
| ![]() ![]() ![]() |
| ![]() ![]() ![]() |
![]() HTML Element TagsHTML element tags define how text is presented. For example, <H1> around an element of text defines the size and boldness of that text. "H1" is called a style selector .ClassesClasses are used to create grouping schemes among styled HTML tags by adding the style definition of a particular class to the style definitions of several different tags. In the stylesheet, a class name is preceded by a period (.) to identify it as such:.foo {property 1: value 1; property 2: value 2}A very simple example:
The tags and classes can then be used in combination:
Or not: <p>This is rendered as 10-point sans-serif text in the default color.</p> The ID attribute is used for a uniquely defined style within a stylesheet. In the stylesheet, an ID name is preceded by a hash mark (#) to identify it as such:
Text-Level Attributes: <SPAN> and <DIV> The <span> tag is generally used to apply a style to inline text: <p><span class="foo">This text is rendered as foo-style</span> and this is not. The <div> tag is generally used to apply a style to a block of text, which can also include other HTML elements:
The style attribute provides a way to define a style for a single instance of an element: <p style="font-size: 10pt; color: red">This text is rendered as red, 10-point type</p> The class, ID, and style attributed can be applied within the <span> and <div> elements. Used with class or ID, the <span> and <div> tags work like customized HTML tags, letting you define logical containers and apply a style to their contents. This code defines the POSITIONing of a container for text to be displayed:
<DIV ID = mytext STYLE = "POSITION: relative; WIDTH: 40%; FONT-FAMILY: garamond, serif; FONT-SIZE: 16pt; COLOR: blue; "> <P> Text to be displayed. </P> </DIV> </BODY> DynamicDrive.com offers this tip for defining a watermark image:
<script language="JavaScript1.2">
if (document.all) document.body.style.cssText="background:white url(notebook.jpg) no-repeat fixed center center" </script>
|
![]() W3C's Cascading Style Sheets, level 2 CSS2 Specification W3C's Errata in REC-CSS2-19980512 CSS-Ask Dr Web About Cascading Style Sheets" from Zeldman.com Style Sheets Guide -- from Webmonkey Authoring Style Sheets links -- from Webmonkey
| ![]() ![]() ![]() |
| ![]() ![]() ![]() |
| ![]() ![]() ![]() |
| ![]() | ![]() ![]() ![]() |
|
Option | Description |
---|---|
dependent | (JavaScript 1.2) If yes, creates a new window as a child of the current window. A dependent window closes when its parent window closes. On Windows platforms, a dependent window does not show on the task bar. |
directories | If yes, creates the standard browser directory buttons, such as What's New and What's Cool. |
height | (JavaScript 1.0 and 1.1) Specifies the height of the window in pixels. |
hotkeys | (JavaScript 1.2) If no (or 0), disables most hotkeys in a new window that has no menu bar. The security and quit hotkeys remain enabled. |
innerHeight | (JavaScript 1.2) Specifies the height, in pixels, of the window's content area. To create a window smaller than 100 x 100 pixels, set this feature in a signed script. This feature replaces height, which remains for backwards compatibility. |
innerWidth | (JavaScript 1.2) Specifies the width, in pixels, of the window's content area. To create a window smaller than 100 x 100 pixels, set this feature in a signed script. This feature replaces width, which remains for backwards compatibility. |
location | If yes, creates a Location entry field. |
menubar | If yes, creates the menu at the top of the window. |
outerHeight | (JavaScript 1.2) Specifies the vertical dimension, in pixels, of the outside boundary of the window. |
personalbar | (JavaScript 1.2) If yes, creates the Personal Toolbar, which displays buttons from the user's Personal Toolbar bookmark folder. |
resizable | If yes, allows a user to resize the window. |
screenX | (JavaScript 1.2) Specifies the distance the new window is placed from the left side of the screen. |
screenY | (JavaScript 1.2) Specifies the distance the new window is placed from the top of the screen. |
scrollbars | If yes, creates horizontal and vertical scrollbars when the Document grows larger than the window dimensions. |
status | If yes, creates the status bar at the bottom of the window. |
toolbar | If yes, creates the standard browser toolbar, with buttons such as Back and Forward. |
width | (JavaScript 1.0 and 1.1) Specifies the width of the window in pixels. |
|
| ![]() ![]() ![]() |
| With TDC, only data is downloaded for the browser to format. This is instead of using document.write() Javascript code and wrapping HTML page formatting code around data. The <OBJECT tag defines the data source on the web server which the <DATAsrc="data source" and <DATAFLD binds to <SPAN or <DIV data consumers presented within <TABLE tags. (<SPAN does not work with single record retrievals.) This approach is faster for users, gives them better control, and allows for more server scalability. RDC to access SQL databases is needed to write data back to the server. To encode a string to HTML entity codes: function htmlEncode(s) { return s.replace( /[<>&]/g, function(m) { return "&" + m.charCodeAt(0) + ";"; }); }
| ![]() ![]() ![]() |
| ![]() ![]() ![]() |
|
Browser | Optimizing Engine Name |
---|---|
Chrome | V8 |
Safari 4+ | Nitro |
Firefox 3.5+ | TraceMonkey |
Opera 10/11 | Carakan |
CKEditor is a WYSIWYG HTML text editor for web content creation
by bringing common word processor features to web pages.
It's free, open source for community maintenance.
$49 CK Packager compresses Javascript.
Compress HTML removes unnecessary white space and characters such as
carriage returns, line feeds, spaces and tabs. It can also remove certain HTML tags.
HTMLProtector offers 2 JavaScript based encryption methods to protect web page content
by preventing visitors from printing the page and viewing your source code,
It also stops spam robots from extracting email addresses from your pages and
automated downloads of your entire web site to their hard drive.
![]()
| Your first name: Your family name: Your location (city, country): Your Email address: |
Top of Page ![]() Thank you! |