Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

replaceChild() on documentElement causes scrollbars to not work in iframe.

0 views
Skip to first unread message

caseyjor

unread,
Sep 28, 2009, 2:58:59 PM9/28/09
to
I suspect that messing with the documentElement in this manner is
probably a no no but it would really help if when I did this ( in
firefox 3.x ) :

document.replaceChild(new_document_element, document.documentElement);

I didn't lose the function of my scrollbars.

BTW: new_document_element is a document fragment generated from an
xslt transform. The transforms owner document is set to the document
doing the replacing.

Any ideas?

Thanks!

0 new messages