Hi Thomas, hi Maik,

thank you very much for your ideas. I'm sorry but I am still a bit new to Batik 
(I only built one protype application).

How would the resulting xml look like (with the "desc" element) containing your 
ideas ?

Thank you, best regards
- Volker -

-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Gesendet: Dienstag, 25. Juli 2006 13:59
An: [email protected]
Cc: [email protected]
Betreff: Re: Sensitive area for tooltips

Hi Volker, Maik,

> Schneider, Volker schrieb:

> > When moving the mouse cursor over a thin line, the user needs much 
> > patience to get the tooltip displayed, because he must hit the line 
exactly.

Maik Schürer <[EMAIL PROTECTED]> wrote on 07/25/2006 07:48:41 AM:

> you can add a transparent shape (rectangle e.g.) to the element with the 

> 'desc' tag.

    Yes, this is the right idea, but for thin line I would add a 'use' 
element of the 
shape only set stroke-width to something wider, and set visibility to 
hidden
(you may have to adjust pointer-events in this case).


> > Is there a way to define an area or a distance for tooltips, so that 
the 
> > user can click a bit off target and he will get the tooltip anyway?

   No.  You can of course implement tooltips in script and do something
along these lines, however I think that this would be very time consuming
for any kind of complex image (you will pay some of this price with
the additional geometry, but it's mostly done once up front).


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to