Introducing DOCJSLIB Version 2.0, A Browser-Independent JavaScript Library for DHTML, Part II - Doc JavaScript | WebReference

Introducing DOCJSLIB Version 2.0, A Browser-Independent JavaScript Library for DHTML, Part II - Doc JavaScript


DOCJSLIB Version 2.0

In this column we introduce DOCJSLIB Version 2.0. This version is an expansion of DOCJSLIB Version 1.0 which we introduced in our last column. Version 1.0 included three basic functions and handled creation and manipulation of a clickable DIV/A/IMAGE DHTML element. Version 2.0 includes nine functions and supports a DIV/HTML box element as well.

Version 2.0 goes a long way towards providing neophyte programmers with a cross-browser infrastructure that eases a lot the DHTML application programming. Object-oriented programming principles are religiously kept, ensuring a clean Procedural Interface (API-like) between the user's application and the library's nuts and bolts. In this column, we demonstrate easy application authoring with our popout elements from column 14, Pop-out Elements. Be sure to read this column for comparing the non-library version and the current DOCJSLIB-based version.

In this column you'll learn:

At this point, you may also view the DOCJSLIB-compliant code for:

You can also view the DOCJSLIB functions in the DOCJSLIB 2.0 library. Just copy from these files and paste to your own application. A ZIP-file version of DOCJSLIB Library Version 2.0 is also provided.

https://www.internet.com


Created: October 26, 1998
Revised: October 26, 1998

URL: https://www.webreference.com/js/column28/