Cool, thanks! Maybe somebody from the Qooxdoo team cares to put it into snippets?
Regards, Fritz On Wed, 7 Jan 2009, Farid Elyahyaoui wrote: > here it is ('this' in the next code is a widget that extends a HBox widget): > > this._help = new > qx.ui.basic.Image("qx/icon/Oxygen/16/actions/help-contents.png"); > this.add(this._help); > > var myTT = new qx.ui.tooltip.ToolTip('the <b>initial html</b> code'); > myTT.setRich( true ); > myTT.setShowTimeout( 200 ); > this._help.setToolTip(myTT); > > var newhelp=true; > this._help.addListener("mouseover", function (e) { > if(newhelp) > { > newhelp=false; > var req = new qx.io.remote.Request("/help.txt"); > req.addListener("completed", function (e) { > var content=e.getContent(); > myTT.setLabel(content); > }); > req.send(); > } -- Oetiker+Partner AG tel: +41 62 775 9903 (direct) Fritz Zaucker +41 62 775 9900 (switch board) Aarweg 15 +41 79 675 0630 (mobile) CH-4600 Olten fax: +41 62 775 9905 Schweiz web: www.oetiker.ch ------------------------------------------------------------------------------ Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel