If you're transforming it into an image map, then the tooltip is actually generated by the browser, there's no bounding box to define. The tooltip text is shown in the "area" tag's "alt" attribute
One other approach would be to use a bit of javascript to show/hide a div tag containing the text. You would do this by adding "onmouseenter" and "onmouseout" attributes to the area tags. Stealing an example from w3schools.com: ( http://www.w3schools.com/tags/tag_map.asp) <img src ="planets.gif" width ="145" height ="126" alt="Planets" usemap ="#planetmap" /> <map id ="planetmap" name="planetmap"> <area shape ="rect" coords ="0,0,82,126" href ="sun.htm" target ="_blank" alt="Sun" /> <area shape ="circle" coords ="90,58,3" href ="mercur.htm" target ="_blank" alt="Mercury" /> <area shape ="circle" coords ="124,58,8" href ="venus.htm" target ="_blank" alt="Venus" /> </map> Hope this helps, Mark On 6/26/07, V. de Weger <[EMAIL PROTECTED]> wrote:
Mark, thanks for the respons. How would I handle transforms/translates in the XSLT. How do I know what the bounding box is of the thing that holds the tooltip? Vincent -- View this message in context: http://www.nabble.com/Transcoder-with-image-map-export-tf3968527.html#a11311321 Sent from the Batik - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
