Content: klayers.zip (9.38 KB)
Uploaded: 28.03.2003

Positive responses: 0
Negative responses: 0

Sold: 0
Refunds: 0

$1
KLayers Lib is a set of JavaScript-functions and allows you to simplify working with layers and images.


It currently supports the following browsers:

MSIE 4, 5, 6;

Netscape 4, 6, 7, Mozilla;

Opera 5, 6 (partially), 7 (full)


Library attached documentation in Russian.
Library KLayers designed to facilitate working with DHTML in different browsers. It is a set of functions and methods, written in JavaScript, which unify conducting various operations with DHTML-objects, t. E. Allow the programmer to think less about the various specific features of the different browsers, which improves productivity and reduces errors.


For example, to find out the height of the contents of the document, the programmer must refer to the following variables:

document.body.scrollHeight, if the script is running in Microsoft Internet Explorer (hereinafter abbreviated as MSIE);

document.height for Netscape and Mozilla;

document.body.style.pixelHeight for Opera 6.


KLayers takes on these routine activities. Using it, a programmer for the same purpose should be just call the getDocumentHeight (), and it will be returned to the desired result, regardless of whether, in any DHTML-browser, it runs the script.

No feedback yet