Doc JavaScript - JavaScript Tutorials, JavaScript Tips, and JavaScript Tools | WebReference

Doc JavaScript - JavaScript Tutorials, JavaScript Tips, and JavaScript Tools

By Yehuda and Tomer Shiran

Page: < Prev | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | Next >
[80] Object-Oriented Programming with JavaScript, Part II: Methods
Learn three ways to define functions and methods. Understand the exposure of private data elements to changes by peer classes, and how to protect them. Learn about contexts and scopes -- it will help you to debug your scripts.
Related tips:
   - Arrayed Buttons
   - Initializing Web Service Consumption
   - Converting XML to HTML
Related categories:
   - Objects
   - Syntax and Notation
   - Applications and Games

[79] Object-Oriented Programming with JavaScript, Part I: Inheritance
Object-Oriented Programming (OOP) requires inheritance, encapsulation, and polymorphism. Learn how JavaScript implements inheriting through prototypes. Learn about the Object object that all objects inherit from.
Related tips:
   - Monitoring XML Loading
   - Multiple Inheritance of Interfaces
   - Outside-the-Range Enum Values
Related categories:
   - Objects
   - Syntax and Notation
   - Applications and Games

[78] Netscape 6, Part VII: Object-Oriented DOCJSLIB 3.1
We extend our browser-independent JavaScript library by 10 methods to DOCJSLIB 3.1. Learn how to build applications with DOCJSLIB including Tic-Tac-Toe, popout elements, and page watermarks. Learn how to load external javascript files on the fly.
Related tips:
   - Detecting the Frame Number
   - Counting Attributes
   - The Navigator Event Model
Related categories:
   - Netscape 6
   - Applications and Games
   - Browser Compatibility

[77] Netscape 6, Part VI: Object-Oriented DOCJSLIB 1.2
Learn how to base your applications on object-oriented design methodologies. Refresh your knowledge on object-oriented principles. Inherit methods from a subclass to a superclass. Use a single if-else statement to load your proper API.
Related tips:
   - Inserting DOM Strings
   - IBuySpy's Directory Structure
   - The document Object
Related categories:
   - Netscape 6
   - Applications and Games
   - Browser Compatibility

[76] Netscape 6, Part V: DOCJSLIB 1.1
Learn how to extend DOCJSLIB 1.0 for Netscape 6. Sniff the browser type out of the four leading browsers. Learn how to write applications with the new library and Application Procedural Interface (API). Practice by programming the Tic-Tac-Toe game. Learn the principles of DOCJSLIB.
Related tips:
   - The Image behind a Sound Track
   - Detecting a Flash Movie's URL
   - Inserting DOM Strings
Related categories:
   - Netscape 6
   - Applications and Games
   - Browser Compatibility

[75] Netscape 6, Part IV: DOM Differences and Commonalities with IE5.x
Learn how to use the lower root node, innerHTML property, and getElementById to write browser-independent scripts. See how Netscape 6's DOM is different in creating and removing attributes, creating document fragments, and using the ownership relationship.
Related tips:
   - Establishing Parent-Child Connections
   - WSDL Example
   - Extending setSrc() to Mozilla Browsers
Related categories:
   - Netscape 6
   - DOM
   - Browser Compatibility

[74] Netscape 6, Part III: The Event Model
Learn the new event model and how it compares with other browsers. Program real examples with event listeners and event actions. Study how to use the event object's properties.
Related tips:
   - Inserting DOM Strings
   - The Personal Bar
   - Detecting the CTRL Key
Related categories:
   - Netscape 6
   - Events
   - Browser Compatibility

[73] Netscape 6, Part II: Animation
Learn how to do basic animation operations -- browser-independently. How to extract elements by tag name, how to set innerHTML, how to move elements around, how to manipulate coordinates, and how to use the visibility property.
Related tips:
   - Great Ways to Use XSLT
   - Implementing the Integer Version of the ICopyObj Interface
   - Reading DTDs with the Browser
Related categories:
   - Netscape 6
   - Objects
   - Browser Compatibility

[72] Netscape 6, Part I: Detection and Scripting
Learn about Gecko, Mozilla, and how to detect Netscape 6. Avoid proprietary features of either one of the two other browsers. Write three-way browser-independent code.
Related tips:
   - ASP.NET Tags
   - Checking Element Visibility
   - The Event Object Properties
Related categories:
   - Netscape 6
   - Objects
   - Browser Compatibility

[71] Scripting the File System, Part I
Learn how to manage the file system, with its folders, files, and drives. Learn how to open and close a file, how to write and read from it, and how to move it around.
Related tips:
   - Changing the Base Class Members
   - Looping an SWF
   - Deriving a Specialized Class from a Generic Class
Related categories:
   - Operators
   - Objects
   - Applications and Games

Page: < Prev | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | Next >