Notifications
Clear all

Auto height resize not working

2 Posts
2 Users
0 Reactions
967 Views
Posts: 16
 xega
Topic starter
(@xega)
Eminent Member
Joined: 3 years ago

Hi

I am trying to get the auto height resize to work for me, but unfortunately without luck. I tried reading your guide and added 

onload_resize="true" to my shortcode via advanced settings but it still won't work for me. I am using a test server so this is not the final location for my website, but the setup will be the same, i.e. the iframe and my wp installation are on the same server. 

Here is my shortcode:

[advanced_iframe use_shortcode_attributes_only="true" src=" removed link " width="100%" height="600" onload_resize="true"]

You can see the setup "in action" at www.hafdal.dk/wp/gagnagrunnur

Can you see what I might be missing?
Best regards and thanks in advance.

xega

 

1 Reply
TinyWebGallery
Posts: 925
Admin
(@admin)
Prominent Member
Joined: 16 years ago

www.hafdal.dk and hafdal.dk are not the same domain. it is a domain and its subdomain. Add the www to the url in the iframe.

You also see this in the Javascript console. So please read

http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-checklist

and

http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-quick-start-guide

and

http://www.tinywebgallery.com/blog/advanced-iframe-resize-to-content-summary

Here everything is explained that you need to know.

Best regards, Michael

Reply