Hi,
This is exactly the solution I was thinking of doing.
Thank you
M Elward
Aedhelweard Technologies
----- Original Message -----
From: Christopher Zündorf
Sent: 12/12/13 12:18 PM
To: qooxdoo Development
Subject: Re: [qooxdoo-devel] mobile.embed.Html field
It is a bit more tricky in mobile environment.
iFrames do not work on every mobile device, and if they work it is difficult
when they should listen to touch events.
For your use case I would propose that you wrap your app with PhoneGap/Cordova.
There is a plugin called "In-App" browser.
http://docs.phonegap.com/en/2.3.0/cordova_inappbrowser_inappbrowser.md.html
This plugin opens your external page in little slide-up browser window. And if
you close it, you get back to your qooxdoo application.
On desktop browser it just opens a new window.
I think, this is the best solution for your use case.
Greetz Christopher
Am 12.12.2013 um 15:53 schrieb mario elward < [email protected] >:Hi,
The problem I have is that there is hyperlinks in the html code put in the
mobile.embed.Html field.
When an user taps on the link, the Qooxdoo window disappears and is replace by
the page loaded from the link.
I thought that any element in a widget should be contained in that widget.
So should the new page be loaded in the mobile.embed.Html field instead?
I don't know if is a bug or an enhancement.
Any opinion?
M Elward
----- Original Message -----
From: Christopher Zündorf
Sent: 12/11/13 05:05 PM
To: qooxdoo Development
Subject: Re: [qooxdoo-devel] mobile.embed.Html field
Hi, as qx.Mobile is very near to DOM structure, you could easily create your
own widget, by extending qx.ui.mobile.core.Widget and overwriting the method
"_getTagName()". Then you could listen to "appear" event in constructor and
installl further listeners if you want to. Have a look at this class, as a
starting point:
https://github.com/qooxdoo/qooxdoo/blob/21dfbf80636feb4caa95f9579c18ced3286d1843/framework/source/class/qx/ui/mobile/embed/Canvas.js
Greetz Christopher ________________________________________ Von:
mario_qooxdoo [ [email protected] ] Gesendet: Mittwoch, 11. Dezember 2013
21:01 An: [email protected] Betreff: [qooxdoo-devel]
mobile.embed.Html field Is it possible to catch a hyperlink (HREF) done in
mobile.embed.Html field. I could do it in Qooxdoo Desktop using:
iframe.addListener("load", function(e) {
qx.event.Registration.addListener(iframe.getContentElement().getDomElement().contentDocument.body,
"click", function(e) { ValeurLien = e.getTarget().innerHTML; // Do something
with the info } } I don't seen an iframe in mobile.embed.Html M Elward -- View
this message in context:
http://qooxdoo.678.n2.nabble.com/mobile-embed-Html-field-tp7585067.html Sent
from the qooxdoo mailing list archive at http://Nabble.com .
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance affects
their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, &
PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________ qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance affects
their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, &
PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________ qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel