Hi,
I have this plugin on wordpress on a local server. No matter what I do, the iframe has a width of 1px. The iframe will show momentarily but then go to 1px wide.
Here is the html on the page:
Code:
<iframe id="forum_iframe" name="forum" src="http://127.0.0.1/phpbb/index.php" width="1px" height="1060px" scrolling="auto" frameborder="0" border="0" allowtransparency="true" onload=";setTimeout(function() { aiResizeIframe(ifrm_forum_iframe, "true"); },5000);"></iframe>
And this is the proceeding script:
Code:
<script type="text/javascript"> var ai_iframe_width_forum_iframe = 0; var ai_iframe_height_forum_iframe = 0;var aiIsIe8=false;var aiReadyCallbacks = ( typeof aiReadyCallbacks != 'undefined' && aiReadyCallbacks instanceof Array ) ? aiReadyCallbacks : [];var onloadFiredforum_iframe = false; function aiShowIframe() { jQuery("#forum_iframe").css("visibility", "visible");} function aiShowIframeId(id_iframe) { jQuery(id_iframe).css("visibility", "visible");} function aiResizeIframeHeight(height) { aiResizeIframeHeight(height,forum_iframe); } function aiResizeIframeHeightId(height,width,id) {aiResizeIframeHeightById(id,height);} </script>
This is the shortcode I am using on my page in wordpress:
Code:
[advanced_iframe securitykey="ba62f2e98c62130eabd311e84bd1bd1d88870a77" src="http://127.0.0.1/phpbb/index.php" id="forum_iframe" name="forum" width="1000px" height="1400px" onload_resize="true"]
Any Idea what I'm doing wrong?
Attachment:
File comment: What the iframe looks like
iframe screenshot.png [ 2.46 KiB | Viewed 2750 times ]
Thanks for your help.
Peter