Hi Jonathan,

thank you for the fast response. What about the case if we have a
different origin - the main page (with JavaScript) is from
"http://my.site.org"; and the page in IFrame is from
"http://another.site.com";. Navigating in the IFrame page changes the
IFrame location. Is it possible to detect this change and get the
current location in the IFrame from the JavaScript in "main" page?

Best,
Ivan


Jonathan Rass wrote:
> Hello Ivan!
>
>
> If your iframe's location is in the same origin as your JavaScript, you 
> can access its current location using
> iframe.getContentDocument().location.
>
> We have no listener for a change of this location, but you could read it 
> periodically and compare it with the old value using qx.client.Timer.
>
>
> Kind regards,
> Jonathan
>
>
> Ivan Furnadjiev wrote:
>   
>> Hello,
>>
>> using the qx.ui.embed.Iframe (qx 0.7.x), there are two events "load" and
>> "changeSource" which are not fired when the IFrame URL is changed from
>> within the IFrame itself (click on the link in the loaded page). Is
>> there a way to detect the IFrame location change in this case? Can I get
>> the new loaded page URL?
>>
>> Best,
>> Ivan
>>     
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>   


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to