2007-03-22 10:30:00 -07:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
|
|
|
|
<overlay id="globalOverlay"
|
|
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
|
|
|
|
2007-05-23 11:08:10 -07:00
|
|
|
<script type="application/javascript" src="chrome://global/content/globalOverlay.js"/>
|
2009-08-02 10:53:19 -07:00
|
|
|
<script type="application/javascript"><![CDATA[
|
|
|
|
|
|
|
|
function FillInTooltip ( tipElement )
|
|
|
|
{
|
|
|
|
var retVal = false;
|
|
|
|
var textNode = document.getElementById("TOOLTIP-tooltipText");
|
|
|
|
if (textNode) {
|
|
|
|
while (textNode.hasChildNodes())
|
|
|
|
textNode.removeChild(textNode.firstChild);
|
|
|
|
var tipText = tipElement.getAttribute("tooltiptext");
|
|
|
|
if (tipText) {
|
|
|
|
var node = document.createTextNode(tipText);
|
|
|
|
textNode.appendChild(node);
|
|
|
|
retVal = true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return retVal;
|
|
|
|
}
|
|
|
|
|
|
|
|
]]></script>
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
<popupset id="aTooltipSet">
|
2010-06-21 23:34:21 -07:00
|
|
|
<tooltip id="aTooltip" class="tooltip" onpopupshowing="return FillInTooltip(document.tooltipNode);">
|
2007-03-22 10:30:00 -07:00
|
|
|
<label id="TOOLTIP-tooltipText" class="tooltip-label" flex="1"/>
|
2010-06-21 23:34:21 -07:00
|
|
|
</tooltip>
|
2007-03-22 10:30:00 -07:00
|
|
|
</popupset>
|
|
|
|
|
|
|
|
</overlay>
|