background
|
|
Tombstone
Tombstone Tuning
Home of tuning, projects and fast cars and boats.
More icon

News
All in one Place
All of your regular news in one place.
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!