background
|
|
Computer

RiscOS
Risc OS Info
All you need to know about Risc OS and more.
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!