View Single Post
Old 02-19-2004, 01:11 AM   PM User | #10
brothercake
Senior Coder


 
Join Date: Jun 2002
Location: near Oswestry
Posts: 4,508
Thanks: 0
Thanked 0 Times in 0 Posts
brothercake is an unknown quantity at this point
With liorean's help, we debugged this particular issue - instead of using the reference to the object, using the object property of the object returns a #document node:
Code:
var doc = obj.object;
But it still doesn't work, because I was using cloneNode instead of importNode - the ownerDocument of the cloned node is the <object> document, so it can't be appended to the outer document, because of the cross-document security restriction. Since importNode isn't supported in win/ie, outerHTML remains the only solution (or using an iframe instead of an object)

Sorry this is all a bit OT though ...
__________________
"Why bother with accessibility? ... Because deep down you know that the web is attractive to people who aren't exactly like you." - Joe Clark

Last edited by brothercake; 02-19-2004 at 01:14 AM..
brothercake is offline   Reply With Quote