From: Michael P. <mp...@ph...> - 2001-02-19 12:28:05
|
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 > Dyn...@li... > http://lists.sourceforge.net/lists/listinfo/dynapi-help -- Michael Pemberton mp...@ph... ICQ: 12107010 |