I'm using the alt attribute of the img tage which then displays the tooltip.
The tooltip will not display if the layer with the img tag is not under the
mouse.

-----Original Message-----
From: Michael Pemberton [mailto:[EMAIL PROTECTED]]
Sent: 19 February 2001 12:26
To: [EMAIL PROTECTED]
Subject: Re: [Dynapi-Help] (no subject)


place your tooltip so that it does not sit under the hot point of the mouse.

Chris Lemon wrote:

> Has any one got any good methods for displaying tooltips for layers which
> contain just a background image.
>
> At the moment the best way I can think of is on a mouseover event to place
a
> transparent layer over the top of the image layer.  I then set the HTML of
> this new layer to an <IMG> tag with the src being a transparent gif.  I
then
> use the alt attribute of the img tag to get a tooltip to display.
>
> The problem I'm having is when I also try to pisk up on the click event
for
> the layer.  IE picks up this mouse click event with no problems but
Netscape
> seems to be slightly inconsistent.  Every now and then the click event
does
> not get called.  I am unable to see under what conditions the click event
is
> ignored.
>
> I have tried invoking the event from the tooltip layer but this doesn't
seem
> to alter the behaviour in Netscape.
>
> Does anyone have any other ideas/methods for showing tooltips but
retaining
> the event listening for the mouseup event in Netscape
>
> Thanks
>
> Chris
>
> _______________________________________________
> Dynapi-Help mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/dynapi-help

--
Michael Pemberton
[EMAIL PROTECTED]
ICQ: 12107010




_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help

_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help

Reply via email to