Hello,

I would like to define an HTML <map> in GWT,
with various polygon areas in it, then define an <img>,
and finally apply the <map> to the <img> (eg. with
usemap=MAPNAME).

>From the 1.5 documentation, it seems like the way to
do this would be with Document .createMapElement(),
.createAreaElement(), and .createImageElement().
So far, I can make an image this way just fine, and see it
in the resulting page, but I have not figured out how to apply the
map element to it.

One thing that is confusing is that ImageElement has a
setUseMap(boolean) method, where I am expecting a method
that would correspond to the HTML property assignment
usemap="#MYMAP". One thing I tried was
imageElement.setPropertyString("usemap", "#MYMAP")
but to no avail.

Has anyone got something like this to work? Better yet, is there
any generic example to copy somewhere? Thanks for any
suggestions.
John Malpas

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to