See comments below.

"Benoit Marchant" <[EMAIL PROTECTED]> wrote:
> Hi
> 
> I have a case where I have a onload on <IMG tag that call a setSize on 
> a dynlayer. This avoid me to calculate the size of the image server 
> side. As I'm trying to move this to use inline layers, when that <IMG 
> loads, the onload does 
> DynObject.all.myLayer.setSize(this.width,this.height), which means that 
> the dynlayer object needs to exist to receive that call. Right now, I 
> can have all the dynlayers creation code in the head. Does anyone see 
> an issue with this ?

If I understand, you are generating <IMG src="..."> tags with no width /
height attributes. If this is so, when the browser renders the page it has
to wait for the whole image to download to work out the inflow / inline
positioning of elements. If there are many images like this then I think
the user may see some local browser / PC performance problems.

-
Kevin.

> They will still be added as child of the document in the onload.
> 
> Thanks,
> 
> Benoit
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: ValueWeb: 
> Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
> No other company gives more support or power for your dedicated server
> http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
> _______________________________________________
> Dynapi-Dev mailing list
> [EMAIL PROTECTED]
> http://www.mail-archive.com/[EMAIL PROTECTED]/



-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://www.mail-archive.com/[EMAIL PROTECTED]/

Reply via email to