I've been working on this for the last two days with no good results.
Here's my shortcode (set to let the user see the iframe; by default, height gets set to 91px..unusable) [advanced_iframe securitykey="mykey" id="dm5" width="100%" height="890" scrolling="yes" enable_external_height_workaround="true" src="http://plantertools.com/dm5/app"]
In my target index.html file I have placed the following: <script> var iframe_id = "dm5", updateIframeHeight = "true", hide_page_until_loaded_external = "true", iframe_content_id = "#becomingfive-assessment"; </script> <script src="http://church-multiplication.com/wp-content/plugins/advanced-iframe/js/ai_external.js"></script>
Based on reading the forum, I tried your shortcode recommendation: [advanced_iframe securitykey="mykey" use_shortcode_attributes_only="true" src="http://plantertools.com/dm5/app" id="dm5" height="300" width="800" scrolling="no"] But this does not work.
In fact, when I include the ai_external.js, it's consistently broken. I have it commented out at the moment so I can at least use the page.
Here's the really odd thing: it works perfectly as configured, i.e., WITH ai_external.js file and my shortcode above, on iPad and iPhone. The iframe expands nicely!
But when using the ai_external.js in my source file, the desktop version's iframe height is set to 91px.
Initial Wordpress page: http://church-multiplication.com/disciplemaker/
Greatly appreciate your support!
|