BillyRayPreachersSon
Programmer
Can anyone think of a way to move nodes around the DOM without using appendChild, replaceChild, or insertBefore?
All I need to do is to be able to move IFRAMEs around, but unfortunately, doing so using the above methods causes the IFRAME contents to be re-loaded, or in the case of dynamic content, the content is lost altogether in Firefox.
This has been an outstanding bug since August 2004:
And apparently also happens in Opera 9.5 and Safari 3.1 as well :-(
See also:
Unfortunately, the nextSibling and previousSibling properties are read-only, so I cannot manipulate those. I think I may be out of luck, but if there's any way to re-order nodes without this side effect, I'll be a very happy man
Incidentally, wrapping the IFRAMEs in DIVs and moving the DIVs has the same side-effect, so that's a no-go.
Thanks,
Dan
Coedit Limited - Delivering standards compliant, accessible web solutions
Dan's Page [blue]@[/blue] Code Couch:
Code Couch Tech Snippets & Info:
All I need to do is to be able to move IFRAMEs around, but unfortunately, doing so using the above methods causes the IFRAME contents to be re-loaded, or in the case of dynamic content, the content is lost altogether in Firefox.
This has been an outstanding bug since August 2004:
And apparently also happens in Opera 9.5 and Safari 3.1 as well :-(
See also:
Unfortunately, the nextSibling and previousSibling properties are read-only, so I cannot manipulate those. I think I may be out of luck, but if there's any way to re-order nodes without this side effect, I'll be a very happy man
Incidentally, wrapping the IFRAMEs in DIVs and moving the DIVs has the same side-effect, so that's a no-go.
Thanks,
Dan
Coedit Limited - Delivering standards compliant, accessible web solutions
Dan's Page [blue]@[/blue] Code Couch:
Code Couch Tech Snippets & Info: