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, 18:06

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 10 posts ] 
Author Message
PostPosted: 19. Feb 2016, 11:14 
Offline

Joined: 19. Feb 2016, 11:06
Posts: 5
Hello there!

My setup:
I am using the Advanced iFrame Pro Plugin on my website and am loading in an external page which is set up for that purpose: being loaded as external iframe content. The source page is hosted under tld.com
My iFrame is placed in a website under sub.tld.com
I do not have access to the tld.com page.

the page contains a form that is being jquery powered.

Chrome, Firefox, Opera and Safari are loading the iFrame just fine. The form works perfectly - no jquery errors in console whatsoever.

However when I use IE (f.e. 11 or also 10 or edge) the ie dev tools show multiple exceptions due to some kind of ACCESS problem. It is blocking the loading of the jquery library from the iFrame source.

How can I solve this? Is there a fix?
I found this stackoverflow thread. Is the "marked as correct"-answer the solution to this problem here as well? How can I do this step by step with advanced iframe pro plugin?
http://stackoverflow.com/questions/1886547/access-is-denied-javascript-error-when-trying-to-access-the-document-object-of
and this:
http://stackoverflow.com/questions/29825229/access-denied-contentwindow-iframe-ie9


Top
 Profile  
 
PostPosted: 19. Feb 2016, 14:03 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 10498
I don't know your setup of advanced iframe pro. So please provide it.
Because wrong configurations can also cause this Javascript errors.

Best, Michael


Top
 Profile  
 
PostPosted: 19. Feb 2016, 15:00 
Offline

Joined: 19. Feb 2016, 11:06
Posts: 5
What is it that you need to know?

Not using any external workaround.

I am just using this shortcode:
[advanced_iframe securitykey="xxxxxxxxxx" src="http://tld.com/framablepage.page" id="desktopbooking" scrolling="no" width="335" height="487"]

In Advanced Settings Tab in section Lazy Load I radioed YES , set threshold to 3000, fadein time to 1, manual trigger when a certain button is clicked. the buttons CSS Class is: .toggle-hidden-sidebar

All of these settings work just fine in all browsers. There is just the script issue in IE.

Is there anything else you need to know?


Top
 Profile  
 
PostPosted: 19. Feb 2016, 15:05 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 10498
what are the exact errors you get? - because this feature normally don't access the remote page at all.

Which shortcode is generated if you click on the "generate Shortcode" button?
Because it does show all settings which are not default.

Best, Michael


Top
 Profile  
 
PostPosted: 19. Feb 2016, 15:11 
Offline

Joined: 19. Feb 2016, 11:06
Posts: 5
When I click the generate shortcode button, I am getting this shortcode:

[advanced_iframe securitykey="xxxxxxxx" use_shortcode_attributes_only="true" src="http://mydomain.com" width="100%" height="800" scrolling="auto" id="advanced_iframe" enable_lazy_load="true" enable_lazy_load_fadetime="1" enable_lazy_load_manual="true" resize_on_ajax_jquery="false" ]


Errors in IE Console:

the initiating error when the iframe is loading:
SCRIPT5: ACCESS DENIED
file: jquery-2.0.min.js, row: 4, column: 10913

And following this intial error all jquery dependant scripts within this iframe are throwing jquery or $ undefined errors.
It is basically only the jquery library that IE can't load. As I said in my first post :)


Top
 Profile  
 
PostPosted: 19. Feb 2016, 15:37 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 10498
So the problem is jQuery. Which version of jQuery is loaded there?


Top
 Profile  
 
PostPosted: 19. Feb 2016, 16:09 
Offline

Joined: 19. Feb 2016, 11:06
Posts: 5
it is in the post above:

jquery-2.0.min.js


Top
 Profile  
 
PostPosted: 19. Feb 2016, 17:02 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 10498
Do you have an url?

jquery 2 should be supported from ie9 on.
So currently I'm not sure if this is a problem related to the iframe at all or jQuery only.

Best, Michael


Top
 Profile  
 
PostPosted: 20. Feb 2016, 02:27 
Offline

Joined: 19. Feb 2016, 11:06
Posts: 5
Hi Michael,

I emailed you!

Thanks!


Top
 Profile  
 
PostPosted: 20. Feb 2016, 14:20 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 10498
I know. I'll take a look at this tonight.


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

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


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