Hi Adrian, thanks for comments
Well, I have an inplementation pretty similar that you suggested:
this.iframe.addListener("load", function(e) {
var dom = this.getDocument();
var domCollection = qx.bom.Collection.create(dom);
var links = domCollection.find("a").append("<p>hola</p>"); //
works !!
domCollection.find("a").addListener("click", function(e) {
alert("click"); // works !!
e.stop(); // don't works
e.stopPropagation(); // don't works
return false; // don't works
});
});
The append method works perfectly, and the alert inside event click too! ..
what is not working is to stop the propagation event click... actually I
don't know if that it's possible.. maybe I can try to put a "blocker" in
link just in mousedown event ... still I must try.. but it is not very
elegant...
--
View this message in context:
http://qooxdoo.678.n2.nabble.com/link-event-click-inside-qx-ui-embed-Html-tp5935415p5938787.html
Sent from the qooxdoo mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand
malware threats, the impact they can have on your business, and how you
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel