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-Dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-dev

Reply via email to