if you wanted to add the image to the DOM and make it visible (so that
IE will report the correct image size), you could probably "hide" it
by changing the opacity to 0. I use the following class which works
(at least) across IE/Moz/Safari.
.op0 { filter:alpha(opacity=0); -moz-opacity:0; opacity:0; }
IE will probably think the image is "visible" and should give you an
image size.
alternative, load the image into a <div class="hiddenImages"></div>
and place it off-screen.
.hiddenImages {
position:absolute;
top:-1000px;
left:-1000px;
}
HTH,
/dave
On Apr 30, 6:19 am, dduck <[email protected]> wrote:
> On Apr 29, 7:01 pm, davidroe <[email protected]> wrote:
>
> > have you tried zero opacity? this usually does the trick for me as it
> > is interpreted as in the DOM and visible.
>
> I'm not quite sure what you mean. Could you elaborate?
>
> Anders
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---