onUnload onLoad Events
With <body onload=“signifyload()” > signifyload is called when page is fully loaded and DOM fully constructed
- For general pages use if(WW_isdefined(document.forms)) and count number of forms, images, links, layers. When count stabilizes, page is loaded
- WebWisdom pages all have an onload event handler which inter alia registers with JSSB
for unloading, one can either
- a) set onunload handler of general pages after they are loaded and make this handler signify (detected immediately)
- b) set framewindow.WW_dynamicvariable = 1 (say) and then page is unloaded after one finds this variable undefined (detected in loop every .5 second)
These heuristics are used to estimate total load time of each page and report this to user or session master
- Thus one can produce quite a detailed network and client environment status display for teacher (network administrator)
-