Your click Handler can remove the image from the panel, and replace
it using a new one at the same coordinates.
So you only add one image to the panel at a time..
Mike.
On Jun 29, 1:58 am, Sean <slough...@gmail.com> wrote:
> I created a widget that consists of an Absolute Panel and two images.
> Both images are applied from a different ClientBundle. Both images are
> added to the Absolute Panel with one on top of the other.
>
> The base image, which is one of 32 in a Client Bundle is shown to the
> user. The second one starts off as blank.png which is you
> know...blank.
>
> If they click on the Widget, then the blank image is turned from
> blank.png to another image in the ImageBundle to an image that looks
> like a marker's circle, so it's like they're selecting them. This
> works perfectly in FireFox and in Chrome, and sadly but not
> surprisingly it doesn't work in IE.
>
> Does anyone know why or a work around? I always feel like I'm adding
> little catches and workarounds cause IE doesn't behave well with
> Images.
>
> Thinking about it I could try instead of a blank.png I could try to
> stack them and set the top image from Visible(false) to Visible(true).
> Maybe that will work? Grrrrrrrrrrrrrrrrrrrrrr.
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
No comments:
Post a Comment