Hi,
I use the html-tag in SWF runtime. It creates an iFrame as overlay.
That works pretty well! Also in different Browsers et cetera...
However when you try to read the "src" of the iFrame it will always return
the initial src you set.
So when the user clicks a link in the iFrame and change the location, the
SRC won't change.
I tried with different approaches to read the location for example with:
document.getElementById("__lz0").contentWindow.baseURI;
or
document.getElementById("__lz0").contentWindow.getAttribute("baseURI");
or
document.getElementById("__lz0").contentWindow.location.href;
=> but it all returns:
"<http://192.168.0.3:5080> wurde die Erlaubnis für das Lesen der Eigenschaft
Window.baseURI von <http://code.google.com> verweigert."
means:
"<http://192.168.0.3:5080> is not allowed to read the property
Window.baseURI from<http://code.google.com>"
I also tried to find a method call for:
http://www.openlaszlo.org/lps4.7/docs/reference/lz.html.html#lz.html.prototype.callJavascript
with no success.
so is there any other workaround to read the current-URL from the
iFrame/HTML Tag?
thanks,
Sebastian
--
Sebastian Wagner
http://www.webbase-design.de
http://openmeetings.googlecode.com
http://www.laszlo-forum.de
[email protected]