Sorry for the garbled text on the first post.
Has anyone found a reasonable, simple way to determine the height of
variable length embedded data in a cross-domain IFRAME?
I'm not interested in reading or viewing the data in the IFRAME, I
simply want to make sure it's displayed without a scrollbar. To date all
my efforts have been rejected with a security violation, although I can
set the proper IFRAME height when it's on the same domain. Therefore,
I've been forced to place the IFRAME last and make its length longer
than anything that I feel may be reasonable to avoid a scroll bar.
Due to an embedded submit, the IFRAME must be kept with its proper
domain. I've considered using a PHP script to load the data as a
into a hidden DIV as innerHTML, get the height of the DIV, then apply
the DIV height to the IFRAME. This link describes the technique of
setting up a (currently) legal method of doing this and gave me the
It just seems so way over the top just to set the height of a
PS for those of you concerned over permissions, that's not an issue. I
own the data in the IFRAME and am providing it as a service to the other