JavaScript EditorFree JavaScript Editor     Ajax Editor

Professional JavaScript

Table of contents #1 | Table of contents #3 | Table of contents #4 | Table of contents #5 | Table of contents #6 | Table of contents #7

Defining Classes and Objects
adding arguments
Constructor paradigm
Prototype paradigm
Hybrid constructor/prototype paradigm
Dynamic prototype method
Hybrid factory paradigm
practical example
traditional string concatenation
Modifying Objects
Redefining an existing method
Very late binding
Summary
Inheritance in Action
Implementing Inheritance
Methods of inheritance
new properties
call() method
apply() method
Prototype chaining
Hybrid method
Creating the base class
Creating the subclasses
UML
dynamic prototyping
Alternative Inheritance Paradigms
zInherit
Inheritance
Dynamic prototyping support
Multiple Inheritance support
xbObjects
prototypeFunction
Polygons reloaded
registerClass
Summary
JavaScript in the Browser
External file format
Inline code versus external files
Tag placement
To hide or not to hide
noscript tag
Changes in XHTML
CDATA
JavaScript in SVG
script tag in SVG
Tag placement in SVG
Browser Object Model
object always
equal
Manipulating windows
Navigating and opening new windows
window.open
resizeTo
System dialogs
status bar
loading
Intervals and timeouts
given code
History
document object
HTML contains
several methods
write
location object
assign
navigator object
screen object
availHeight
DOM Basics
DTDs for XML