From: Raymond I. <xw...@ya...> - 2003-08-20 14:46:46
|
Have you tried the lastest snapshot with the new setAutoSize() function? This will cause the layer to adjust it's size whenever it's content is changed. -- Raymond Irving --- Jeremy Wanamaker <je...@ma...> wrote: > 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 > > > > ------------------------------------------------------- > This SF.net email is sponsored by Dice.com. > Did you know that Dice has over 25,000 tech jobs > available today? From > careers in IT to Engineering to Tech Sales, Dice has > tech jobs from the > best hiring companies. > http://www.dice.com/index.epl?rel_code=104 > _______________________________________________ > Dynapi-Help mailing list > Dyn...@li... > https://lists.sourceforge.net/lists/listinfo/dynapi-help __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com |