Big Sister Web Application Framework
Functions | Variables
SwafOnload.js File Reference

Functions

function SwafOnload (onloadCallback)
 Wraps a function to be called on document load.
function SwafOnload_call ()

Variables

var swaf_onload = new Array(0)
 list of registered SwafOnload objects

Function Documentation

function SwafOnload (   onloadCallback)

Wraps a function to be called on document load.

Handles the browser dependent ways of "onload" functionality.

SYNOPSIS

function callme() {
alert( "document has been loaded" );
}
new SwafOnload( callme );

Registers object as one that has to be called on load.

Invoked by SwafOnload_call() after the document has been loaded. Usually this calls the callback function registered via the constructor.

callback function

References swaf_onload, SwafOnload(), and SwafOnload_call().

Referenced by SwafOnload().

function SwafOnload_call ( )

References swaf_onload.

Referenced by SwafOnload().

Variable Documentation

var swaf_onload = new Array(0)

list of registered SwafOnload objects

Referenced by SwafOnload(), and SwafOnload_call().