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 22. Oct 2017, 19:30

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: 28. Sep 2016, 23:46 
Offline

Joined: 28. Sep 2016, 23:39
Posts: 3
Here is my main page:
https://undergrad.tiu.edu/application-test-page/

On the embedded page, I have included the following script:
<script>// <![CDATA[
document.domain='tiu.edu';
// ]]></script>


The embedded page is a subdomain...
"https://jicsweb.tiu.edu/ICS/_portletview_/Apply/Apply_Online/Apply_Online.jnz?portlet=Apply_Online&amp;formid=28"

How can i get this to autosize the height???

Thanks much.


Top
 Profile  
 
PostPosted: 29. Sep 2016, 18:08 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 10498
you also need to enable document.domain in your wordpress page.
Simply do this in the administration or in the shortcode.

See:
http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/sub-domain-auto-height-and-css-modifications

You get the following error in the log:
(index):296 Uncaught SecurityError: Blocked a frame with origin "https://undergrad.tiu.edu" from accessing a frame with origin "https://jicsweb.tiu.edu". The frame being accessed set "document.domain" to "tiu.edu", but the frame requesting access did not. Both must set "document.domain" to the same value to allow access.


Top
 Profile  
 
PostPosted: 30. Sep 2016, 21:39 
Offline

Joined: 28. Sep 2016, 23:39
Posts: 3
Thank you that seemed to work.

Now...I'm interested in using this for three different iframes on the wordpress site.

[advanced_iframe securitykey="9d1dd63ec6c1957377e03698e374aa83543c1d83" src="https://jicsweb.tiu.edu/ICS/_portletview_/Apply/Apply_Online/Apply_Online.jnz?portlet=Apply_Online&amp;formid=28" onload_resize="true"]

[advanced_iframe securitykey="9d1dd63ec6c1957377e03698e374aa83543c1d83" src="https://jicsweb.tiu.edu/ICS/_portletview_/Apply/Apply_Online/Apply_Online.jnz?portlet=Apply_Online&amp;formid=29" onload_resize="true"]

[advanced_iframe securitykey="9d1dd63ec6c1957377e03698e374aa83543c1d83" src="https://jicsweb.tiu.edu/ICS/_portletview_/Apply/Apply_Online/Apply_Online.jnz?portlet=Apply_Online&amp;formid=30" onload_resize="true"]


Should these work as soon as I remove the src default in the administrative panel for Advanced iFrame? I tried it an it did not work....


Top
 Profile  
 
PostPosted: 30. Sep 2016, 21:40 
Offline

Joined: 28. Sep 2016, 23:39
Posts: 3
Nevermind....I figured it out. I needed to reference the pages with the iframes as https://


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

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 2 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:
Powered by phpBB® Forum Software © phpBB Group

phpBB SEO