X
xdevel1999
Hi,
I have the following problem:
the FIRST time I load a page with Firefox 3, always with Safari/Chrome
and never with Opera/IE7
the image.width and heigth are not filled but they have a 0 pixel size
Ex.
i = new Image()
i.src = "image.png"
// here the problem
i.width
i.height
are 0
May be is a loading problem? I try to get that values before the
images are fully loaded?
How can I solve that?
Thanks
I have the following problem:
the FIRST time I load a page with Firefox 3, always with Safari/Chrome
and never with Opera/IE7
the image.width and heigth are not filled but they have a 0 pixel size
Ex.
i = new Image()
i.src = "image.png"
// here the problem
i.width
i.height
are 0
May be is a loading problem? I try to get that values before the
images are fully loaded?
How can I solve that?
Thanks