Hallo Gerold.
Ich lese mit img.width die Bildbreite aus und stelle bei manchen Bildern im Format .jpg und .gif fest, dass ich als Wert 0 zurückbekomme obwohl die Breite des Bildes nicht 0 ist. Bei anderen Bildern stimmt der zurückgelieferte Wert.
Greifst du stets zur selben Zeit auf die Grafiken zu, sprich, wenn das Dokument fertig geladen wurde?
Einen schönen Freitag noch.
Gruß, Ashura
--
sh:( fo:} ch:? rl:( br: n4:~ ie:{ mo:| va:) de:> zu:} fl:( ss:) ls:[ js:|
„It is required that HTML be a common language between all platforms. This implies no device-specific markup, or anything which requires control over fonts or colors, for example. This is in keeping with the SGML ideal.“
[HTML Design Constraints: Logical Markup]
sh:( fo:} ch:? rl:( br: n4:~ ie:{ mo:| va:) de:> zu:} fl:( ss:) ls:[ js:|
„It is required that HTML be a common language between all platforms. This implies no device-specific markup, or anything which requires control over fonts or colors, for example. This is in keeping with the SGML ideal.“
[HTML Design Constraints: Logical Markup]