From: Pascal B. <pa...@dy...> - 2001-02-19 13:10:36
|
please post these questions only to dynapi-help Pascal Bestebroer pa...@dy... http://www.dynamic-core.net > -----Oorspronkelijk bericht----- > Van: dyn...@li... > [mailto:dyn...@li...]Namens Chris Lemon > Verzonden: maandag 19 februari 2001 13:18 > Aan: 'dyn...@li...'; > 'Dyn...@li...' > Onderwerp: [Dynapi-Dev] (no subject) > > > 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 > Dyn...@li... > http://lists.sourceforge.net/lists/listinfo/dynapi-dev > |