Free JavaScript Editor
Ajax Editor
Professional JavaScript
Table of contents #1 |
Table of contents #2 |
Table of contents #3 |
Table of contents #4 |
Table of contents #5 |
Table of contents #6 |
Interacting with Plugins
Popular Plugins
MIME Types
Including parameters
Detecting Plugins
MIME type
MIME Types Example
HTML page
meaning that MIME types
Detecting ActiveX plugins
Version-Independent Version-Specific Names
Cross-browser detection
Java Applets
Referencing applets in JavaScript
Writing applets
JavaScript-to-Java communication
Handling Java exceptions
Security restrictions
LiveConnect
HTML document
Flash Movies
Embedding Flash movies
JavaScript-to-Flash communication
Eframe
Flash-to-JavaScript communication
getURL
DoFSCommand
ActiveX Controls
window.onload
moveFirst
Macromedia Flash
Deployment Issues
effect on BOM and DOM scripting
Internet Explorer on Windows XP
Mozilla-specific issues
Signed scripts
Codebase Principals
Detecting language using JavaScript
String considerations
Representation in JavaScript
JavaScript functions
Optimizing JavaScript
Remove all comments
Replace variable names
Other ways to decrease the byte count
Shorten negative tests
Execution time
Be scope aware
Use local variables
Avoid the with statement
Remember Computer Science 101
JavaScript
Flip your loops
Unroll your loops
optimize this loop
executed
switching
Optimize if statements
JavaScript gotchas
Minimize statement count
Use the DOM sparingly
Intellectual Property Issues
Microsoft Script Encoder
JavaScript calls
Evolution of JavaScript
Netscape’s proposal
Variables
Numeric literals
Types
MyClass
Inheritance
Implementations
ECMAScript for XML
E4X
The for each..in Loop
QName class
new XML
XML code
resulting XML
XML literals
XMLList
XMLList Class
XML
→