background
|
|
bonsai
The Element
A small area for Bonsai related material.
More icon

Games
Ruffnecks Gaming
Gaming for everyone
More icon
|
|
Up Image
Navigation
Search this Site
Enter your search terms

Site Breadcrumb - You are here
|
Reference   JavaScript Code Library

This is a core JavaScript function for writing cross-platform dynamic HTML. It takes the ID of a positioned HTML element and returns an object reference. This version is a bit long, but it allows nested DIVs in Netscape, and global styles in Internet Explorer. It does so by looping through all the style rules in IE, and recursively searching all the nested layers in Netscape.

Usage: foo = WM_checkIn('id')

Cut, paste, and enjoy!