we're getting close!
if (parent.window.widget) {parent.widget.openURL...}
or
if (parent.widget) {parent.widget.openURL...}
appears to work fine -- if the iframe is a local file, i.e., inside
the widget. thanks.
however, if the iframe file is remote, it fails (it doesn't open
Safari; linked page opens in the widget itself).
here's an example I concocted:
http://home.comcast.net/~saweyer/test/IframeLinkTest.wdgt.zip
when it opens, it uses the local file (IframeContent.html) -- the
two embedded links open the Apple web site in Safari. so far so good.
if you then select Remote from menu, it updates to the remote
version of the file -- filename has "2" suffix;
and table label omits "loc" prefix for iframe heading; otherwise,
everything else, javascript & links are identical.
links in iframe fail to open Safari but display inside the widget.
suggestions?