Title Attribute not working in Firefox Addon -
i developing mozilla firefox addon. need hover tooltip icon in panel of firefox extension. when use title attribute tooltip not displaying. suggest me solution .
p.s : specifiying firefox addon or extension , not browser
thanks in advance
normally need this:
myelement = document.createelement("somexultagname"); myelement.setattribute("tooltiptext","my tooltip text");
but inside panels (at least non-sdk ones) have more work if including html elements instead of xul elements:
mypanelview = document.createelement('panelview'); mypanelview.setattribute('tooltip', 'ahtmltooltip'); ... myelement = document.createelementns('http://www.w3.org/1999/xhtml', "somehtmltagname"); myelement.setattribute("title","my tooltip text");
Comments
Post a Comment