Re: Transparent floating balloon/tooltip over editor/iframe?
Neil <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.editor |
|---|---|
| Organization | Another Netscape Collabra Server User |
| Message-ID | <[email protected]> |
Deshbir wrote: >We are facing the following problem in our XUL application: >- The "editor" tag is being used for Rich text entry. >- Need to show a balloon (with an arrow and some text) on top of the editor(or iframe) element > > Just use a XUL tooltip element. For instance, editor.xul uses <editor ... tooltip="aHTMLTooltip"/> and <tooltip id="aHTMLTooltip" onpopupshowing="return FillInHTMLTooltip(this);"/> where editor.js defines FillInHTMLTooltip to display the source of images and link hrefs except in preview mode where it shows element titles (as per browser tooltips). -- Warning: May contain traces of nuts.