spacer

Webref WebRef   Sitemap · Experts · Tools · Services · Newsletters · About i.com

home / experts / javascript / column27


Introducing DOCJSLIB, A Cross-Browser JavaScript Library

Developer News
Microsoft Shows Off Silverlight 4, IE9 Plans
Metasploit Expands Vulnerability Test Framework
HyperCard Reborn?

In this column we embark on a series of columns that are targeted to provide a solution to the inconsistencies between Netscape Navigator and Microsoft Explorer. Keeping JavaScript code Navigator-compliant as well as Explorer-compliant is a real burden, especially when managing property-rich DHTML elements. Handling the differences between these browsers requires intimate knowledge of their document models. These differences are not going to disappear any time soon, but rather to grow with every new version of Netscape Navigator or Internet Explorer.

DOCJSLIB is a library of functions that hide the browser dependencies from the scripter. DOCJSLIB is based on a certain DHTML element model and operations on it. DOCJSLIB Version 1.0 is obviously limited in capabilities, but new, richer versions are planned for upcoming columns. The main focus of this column is to present the DHTML model and the proper usage of DOCJSLIB. We demonstrate the power of DOCJSLIB by programming the popular Connect Three board game with it.

In this column you'll learn:

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

More Resources from Doc JavaScript
Columns Popular Columns Tips Tools
Latest Columns
41-50 | 31-40 | 21-30
11-20 | 1-10
Working with Windows
JavaScript and Frames
Bookmarklets
Random Tips
Personalized Tips
RSS Channels
Menu Builder
Rollover Builder
Rotation Builder
Reference Tip Categories (want one?)
Links
For Your Site
Did you learn something? Do you like this site? Please link to us!

http://www.internet.com

internet.commediabistro.comJusttechjobs.comGraphics.com

Search:

WebMediaBrands Corporate Info

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs

webref The latest from WebReference.com Browse >
Rolling Out Your Own HTML Application Version Control · HTML 5: Client-side Storage · Working with Ajax Server Extensions
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Wi-Fi Product Watch, November 2009 · Chip Market Recovering From '08 Collapse · Low-Cost Tools to Kickstart Your New Business


Created: October 12, 1998
Revised: October 12, 1998

URL: http://www.webreference.com/js/column27/