--- Doug Melvin <[EMAIL PROTECTED]> wrote: > I've been thinking. (I know.. very dangerous) > > These events don't seem to be in the api: > onresize > onload > > I have been trying to add an onload event but I > don't actually know where to even start. > It really has been too long since I've done any > hard-code JS coding.. > Kinda depressing actually. > > In NS 4 the layer object has a load event which is > fired when the content is changed (including when > the layer is first rendered.) > > IN IE we should be able to use the readystatechange > event to detect content changes in a div > when this event is called you can then check the > property: readyState which can have the following > values: > (you would check the numeric values) > > > -LOADING (1) The load is in progress-reading > persisted properties, but not yet parsing data. For > readyState definitions, data should be considered > equivalent to binary large object (BLOB) properties. > > -LOADED (2) Reading of the persisted properties > completed-reading and parsing data, but the object > model is not yet available. > > -INTERACTIVE (3) Some data has been read and parsed, > and the object model is now available on the > partially retrieved data set. Although the object > model is available during this state, it is > read-only. > > -COMPLETED (4) The document has been completely > loaded, successfully or unsuccessfully. > > > I have not yet figured out how to do a resize event > without putting and invokeEvent in setSize();
__________________________________________________ Do you Yahoo!? Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop! http://platinum.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Dynapi-Dev mailing list [EMAIL PROTECTED] http://www.mail-archive.com/[EMAIL PROTECTED]/