Hello every body!
The following script works OK for ie6, but I do not know how to modified to make it work on ns7.
In other words, how may I cloneNode an IFRAME object with ns7?
What you have noted is correct and I know it, but by changing the statement:
"FR= document.all.IFRM.cloneNode();"
to:
"FR= document.getElementById("IFRM").cloneNode();"
the script still fails on NS7, giving me the following error message - which I am not able to benefit thereof:
Error: uncaught exception: [Exception... "Not enough arguments [nsIDOMHTMLIFrameElement.cloneNode]"!
that's because you probably can't clone a frame, iframe or otherwise. what exactly are you trying to achieve - it may be better to use a full CSS layout instead.
Bookmarks