On Mon, 14 Aug 2006 15:27:43 -0700, Ian Hickson <[EMAIL PROTECTED]> wrote:
I have an XBL binding containing anonymous content that I use for <foo:bar/>. However, foo:bar is in a .xhtml document that has @title specified on the xhtml:xhtml element. I'd like to manage my own tooltips and not have Mozilla popup my tooltip along with the xhtml title tooltip. Is there a way I can style the xhtml title tooltip not to display if I'm going to display my tooltip or in some other way turn off the title tooltip when the mouse is over my foo:bar element/anonymous content?You can use the new title="" attribute on the <xbl:div> element: <template> <div title=""> ...rest of template here... </div> </template> Assuming you style the <div> to exactly overlap the bound element, that will stop tooltips from the bound element from rendering. You can then do whatever you like with your shadow tree to get tooltips.
Seems like a valid use case for having title=""... You can disregard my earlier comment on [EMAIL PROTECTED]
-- Anne van Kesteren <http://annevankesteren.nl/> <http://www.opera.com/>
