Hi everybody,
I have some problems and I could use some help.

First problem:
In a table I need to embed text or images that, when clicked, will do some
processing or open a new browser.
I tried using embedded html link tags, using as “href” some javascript
functions or urls. It works with IE but not with Firefox.
Does anyone know a solution to solve this problem?

Second problem:
Trying to solve the first problem, I set a “cellClick” listener for the
table. I discovered that the “cellClick” event is fired only if the clicked
cell is selected, otherwise not; I added some debug statements in
EventHandler._onmouseevent and I can see that if the clicked cell is not
selected there are only “mousedown” and “mouseup” events. Clicking outside
the table panel, even table header, I can see all three events, “mousedown”,
“mouseup” and “click” getting fired. The problem occurs only with Firefox.
I suppose that is a bug.

My problem is that there is the possibility of multiple links in one cell,
so getting the content of the clicked cell can still leave me with the
problem of witch link was actually clicked.

I did see there is a LinkEmbed class; can one or more instances be embedded
in a table cell? I couldn’t find any examples.

Regards,
Emil

-- 
View this message in context: 
http://www.nabble.com/How-to-embed-links-in-table-cells.-tf4692826.html#a13413377
Sent from the qooxdoo-devel mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to