From: Jeremy W. <je...@ma...> - 2003-08-20 13:31:04
|
Hi Guys, Quick question. When using DynAPI 3 to handle onload events, is there any way to specify an order that the events happen in? For instance, I want to read some content into a DynLayer from a inline div. Then I want to resize and place the DynLayer in the browser using getWidth and getHeight information that is unavailable until the inline layer is loaded. I'm using dynapi.onLoad() to call functions for getting the inline layer and also for setting the size and position of the layer, but the resize function is getting called before the inline layer is loaded, so the DynLayer has no size yet, and it's not working. Can I switch the order of these functions being called without rewriting the DynAPI? onLoad and _onLoad functions? Thanks, Jeremy |