Can't get iFrame to auto resize
-
Hi,
I’ve tried the external site solution to no avail and am now trying the subdomain solution, but the results remain the same.
My wordpress application is on: dev.example.com
and the application with the iFrame page is on: iframe.dev.example.comThen I have the below in iframe.dev.example.com/page/214:
<script> document.domain='dev.example.com'; </script>
and I’m using the following shortcode:
[advanced_iframe securitykey="XXX" use_shortcode_attributes_only="true" src="http://iframe.dev.example.com/page/214" width="100%" scrolling="no" hide_page_until_loaded="true" add_document_domain="true" document_domain="dev.example.com" onload_resize="true" onload_resize_delay="5000"]
I just want to check if I’m not missing anything.
Many thanks!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Can't get iFrame to auto resize’ is closed to new replies.