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]