On a project that is using SimpleModal [1] [2], a separate page is
being loaded into the modal via an iframe (one of options the modal
script provides). I have a div within the page that is loaded into the
modal that has a height. If I load this page directly (outside of the
modal), I can successfully read it's height with jQuery in all
browsers. Firefox however cannot read the height of the div when the
page is loaded within the modal (Safari does just fine). When I load
the page in a vanilla iframe, Firefox reads the height fine. It's only
in the modal's iframe that it returns zero. I am absolutely stumped.
It's as if the script that reads the height is not respecting the
jQuery $(document).ready when run within the modal in Firefox (ie:
it's trying to read the height before the page has finished rendering).
Any ideas?
[1] http://www.ericmmartin.com/projects/simplemodal/
[2] No, switching modal libraries isn't an option.
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
UPHPU mailing list
[email protected]
http://uphpu.org/mailman/listinfo/uphpu
IRC: #uphpu on irc.freenode.net