Netscape 6, Part V: DOCJSLIB 1.1 - Doc JavaScript | WebReference

Netscape 6, Part V: DOCJSLIB 1.1 - Doc JavaScript


Netscape 6, Part V: DOCJSLIB 1.1

This column is the fifth part of our series on Netscape 6. In this column we'll go back to our DOCJSLIB 1.0 and extend it to support Netscape 6. Although the changes are minor, we'll explain the newly created version, 1.1, from start to finish, as we did we first introduced DOCJSLIB 1.0. The principles of DOCJSLIB 1.1 are identical to those of 1.0: hiding implementation details from the scripter, API-like (Application Procedural Interface) function interfaces, and browser-independence. We demonstrate DOCJSLIB 1.1 with our traditional Tic-Tac-Toe game (previously called Connect Three).

The original version of DOCJSLIB 1.0 is explained in Column 27. In upcoming columns, we'll upgrade the rest of DOCJSLIB versions, 2, 3, and 4, to support Netscape 6 and other Mozilla-based browsers. These versions are explained in Columns 28, 29, and 33, respectively.

In this column, you will learn:

At this point, you may also view the code for the Tic-Tac-Toe board game, or just for DOCJSLIB library. Just copy from these files and paste to your own application. A ZIP file version of DOCJSLIB 1.1 library is also provided.

Next: How to use DOCJSLIB's principles

https://www.internet.com


Produced by Yehuda Shiran and Tomer Shiran
All Rights Reserved. Legal Notices.
Created: January 29, 2001
Revised: January 29, 2001

URL: https://www.webreference.com/js/column76/index.html