Link to this javascript in the head of the iFrame content document (the child document).
Of course this could be used for redoing the styles of the iFrame contents based on any other property of the parent document as well. For example you could say
Parent.document.body.some.property= 'a value"instead of
window.parent.screen.height
Comments
Post a comment