Images dimensions are set to 0pix x 0pix on the browser
I have to keep changing the src of an image tag in my javascript. I am finding that sometimes the image is not getting loaded as its dimensions are getting set to 0pix x 0pix. If I manually do a reload of the image then the image is seen properly. Is there a workaround or a fix to get over this issue. I find that the same code works fine in other browsers and this issue exists only with the Firefox browser. Appreciate your help.
所有回复 (1)
A good place to ask advice about web development is at the MozillaZine "Web Development/Standards Evangelism" forum.
The helpers at that forum are more knowledgeable about web development issues.
You need to register at the MozillaZine forum site in order to post at that forum.