From: Dan S. <dy...@fu...> - 2000-12-08 05:14:31
|
All ya do is add /lib/dynapi/ext/inlinecreation.js (after dynlayer) and this will overwrite DynLayer's create() with a new system for writing all the children layers and html content in a single dump. Include the file and try anything you're working on and you WILL see a very noticable improvement for Netscape. I've left in all the hooks necessary to do the same for IE. It's merely a matter of writing the string for a <DIV>. Once that's done we can move this into DynLayer. Notes: - this only works for children layers thus far, the first layer added to the document is created as usual, all it's children are written - Robert I had a problem with your change to DynImage, it wouldn't work because the width and height was defaulting to the image's size - this should not be manditory because there's many cases where you do not want to use the true w/h, and also it's not possible to find that info before onload. So I removed that part from the dynimage in cvs Dan |