Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum

Get help for TinyWebGallery, the best image gallery. The forum is also home for the Joomla JFUploader, TWG Flash Uploader and the Wordpress flash uploader.
It is currently 20. Oct 2017, 16:10

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: iFrame doesn't resize
PostPosted: 7. Apr 2016, 16:57 
Offline

Joined: 7. Apr 2016, 16:45
Posts: 1
Hi,

the iFrame doesnt resize, i think i make someting wrong.

The Domain for the Wordpress site is www.xyz.com
and the Domain for the Site in the iFrame is www.abc.com

So here is the code for the wordpress site:

[advanced_iframe securitykey="xxx" use_shortcode_attributes_only="true" src="http://www.abc.com/" id="iframeresize" height="300" width="800" scrolling="no" scrolling="no" onload_resize="true" hide_page_until_loaded="true" add_document_domain="true" and document_domain="abc.com" ]

and the code that i insert in the top of the sites that are in the iframe:

<script>
document.domain='xyz.com';
</script>

Settings in Wordpress:

Resize iframe to content height: Yes
Enable responsive iframe: Yes

This don't work. So where i make the mistakes??


Top
 Profile  
 
PostPosted: 7. Apr 2016, 17:04 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 10498
www.xyz.com
www.abc.com

Are not subdomains

www.xyz.com
sub.xyz.com

would work.

you need to use the full external workaround.

Please make also sure not to usw words like "and" in the shortcode ;).

Best, Michael


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
Powered by phpBB® Forum Software © phpBB Group

phpBB SEO