window.opener.frameElement in Internet Explorer
I'm trying to create 'dockable' iframes so that I can pop an embedded iframe out into its own window and back again.
Key to this is to identify the iframe that opened the window, so that I can appendChild() it to the newly opened window.
My demo works in Firefox, but for IE6 I get:
"No such Interface supported"
for the line:
var iframe = window.opener.frameElement;
Anyone know what I'm doing wrong, as opener and frameElement work OK in other IE6 contexts.