Example Cross Browser JavaScript APis you can reuse, modify and redistribute. Download.

Note that much of xbProjects is undergoing revisions and is not currently stable. In addition, several APIs which have been written but not documented are being introduced even though the documentation for them has not been completed.

xbCalendar

Jeremy Hoppe has contributed a cross browser DOM based Calendar object implemented in JavaScript.

[ go ]

xbPopupCalendar

A Popup Calendar derived from xbCalendar by Jeremey Hoppe.

[ go ]

geckoGetRv

Return the rv: value for Gecko browsers

[ go ]

Practical Browser Sniffer

A Practical, Lightweight Browser Sniffing Script.

This script has been deprecated and is not recommended for general use.

[ go ]

xbAnimatedElement - Cross Browser DHTML Animated Element

Animate positioned content in Gecko (Netscape 6, Netscape 7, CompuServe 7), Internet Explorer 4, Internet Explorer 5, Opera and Netscape 4. All you need supply is the path! [ go ]

xbArray - Cross Browser Array Object

A Cross Browser pseudo NodeList object. [ go ]

xbCookies - Cross Browser Cookies Object

[ go ]

xbDebug - Cross Browser Debug API

Debugging Browsers which do not have interactive debuggers available can be an difficult job. Use xbDebug to enable function and object method tracing as well as performance profiling. Works in Netscape 6/Gecko, Netscape Navigator 4, Internet Explorer 4 and up, and Opera.

[ go ]

xbDOM - Cross Browser DOM API

xbDOM provides basic functions which can be used in Netscape 6/Gecko, Netscape Navigator 4, Internet Explore 4 and up, as well as Opera to provide access to several useful properties. xbDOM is a companion to xbStyle.

[ go ]

xbDOM2Core - Java Binding DOM 2 Core

Wraps an existing ECMA Binding of the DOM Core 2 and implements the DOM Core 2.

[ go ]

xbDOMParser - Cross Browser Parser in JavaScript

Toy implementation of an HTML/XML Parser in JavaScript

[ go ]

xbEvents - Cross Browser Events

[ go ]

xbException - Cross Browser Exceptions

[ go ]

xbLibrary - Manage dynamic script loading

xbLibrary is a small utility JavaScript object used by other scripts in xbProjects to dynamically load scripts from specified locations.

[ go ]

xbMarquee - Cross Browser Marquee Object

xbMarquee allows you to easily embed Marquee like DHTML into your pages. Supports up, down, left, right directions with alternate directions on Netscape 4, Netscape 6, Netscape 7, CompuServe 7, Internet Explorer 4 and up.

[ go ]

xbObject

Emulate C++ class based single inheritance in JavaScript.

[ go ]

xbPositionableElement - Cross Browser DHTML Positionable Element

xbPositionableElement is an Object Oriented API that can be used to fix the position in the browser's window thereby simulating the CSS 2 property position: fixed;. xbPositionableElement supports Netscape 6/Gecko as well as Netscape Navigator 4, Internet Explorer 4 and up as well as Opera 5 and up.

[ go ]

xbQueryString

[ go ]

xbStyle - Cross Browser Style API

xbStyle is an Object Oriented API that can be used to access and manipulate the Style properties in a wide variety of browsers. xbStyle supports Netscape 6/Gecko as well as Netscape Navigator 4, Internet Explorer 4 and up as well as Opera 5 and up.

[ go ]

xbTreeNode

[ go ]

xbTreeWidgetStatic

xbTreeWidgetStatic is an Object Oriented API that can be used to create DHTML Tree Widgets and serves as a highly effective replacement for xbCollapsibleLists. xbTreeWidgetStatic is intended to fully support DHTML for Netscape 6/Gecko and Internet Explorer 5 and up while providing a simple downlevel hierarchal display for downlevel browsers such as Netscape Navigator 4 and Opera 5/6.

[ go ]

xbXMLHttpRequest

[ go ]

Layer Emulation API for Mozilla/Gecko

An Unsupported, Experimental API to provide limited support for the legacy Netscape Navigator 4.x Layer API.

[ go ]