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 26. Nov 2024, 01:04

This forum is readonly now. Please use the new forum if you don't find the answer to your question here. The new forum is at https://www.tinywebgallery.com/blog/forum/


All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 14 posts ] 
Author Message
PostPosted: 20. Apr 2017, 11:08 
Offline

Joined: 21. Nov 2015, 22:38
Posts: 21
Hi,
I use advanced iframe pro and I have a problem with resize iframe to content height.
I use that code [advanced_iframe securitykey="***" use_shortcode_attributes_only="true" src="http://bubblingsounds.gr/sam/topbar_en.html" width="100%" height="36" scrolling="no" id="advanced_iframe" enable_responsive_iframe="true" onload_resize="true" ] but the height doesn't resize according the the page. My site is http://bubblingsounds.gr/en
Any help please?
Regards
Andreas


Top
 Profile  
 
PostPosted: 20. Apr 2017, 17:04 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Uncaught ReferenceError: aiResizeIframe is not defined

the ai.js is not in the source code...

Something like
wp-content/plugins/advanced-iframe/js/ai.js ...
is missing.

are you using the standalone version?

Best, Michael


Top
 Profile  
 
PostPosted: 20. Apr 2017, 17:30 
Offline

Joined: 21. Nov 2015, 22:38
Posts: 21
Hi,
I'm using the Advanced iFrame Pro version 7.4.1


Top
 Profile  
 
PostPosted: 20. Apr 2017, 17:40 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
But the ai.js file is missing which is rendered by the plugin normally.

do you have any optimization or cache plugins?

Best, Michael


Top
 Profile  
 
PostPosted: 20. Apr 2017, 17:44 
Offline

Joined: 21. Nov 2015, 22:38
Posts: 21
Yes, I'm using the wp rocket plugin.


Top
 Profile  
 
PostPosted: 20. Apr 2017, 18:02 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
try to refresh the cache there. maybe ai.js is not in the list of js that should be loaded somehow...


Top
 Profile  
 
PostPosted: 20. Apr 2017, 18:19 
Offline

Joined: 21. Nov 2015, 22:38
Posts: 21
I deactivate the plugin but still the same...


Top
 Profile  
 
PostPosted: 20. Apr 2017, 22:27 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
I see. But the normal iframe code is rendered but not the ai.js which has all the javascript needed.

Can you try to set "Include ai.js in the footer" to true on the "Introduction" tab.

Best, Michael


Top
 Profile  
 
PostPosted: 21. Apr 2017, 07:26 
Offline

Joined: 21. Nov 2015, 22:38
Posts: 21
Hi,
It's already "yes" this option...


Top
 Profile  
 
PostPosted: 21. Apr 2017, 09:21 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Have you tried "No" here?

My problem is that this js file is the most important one and I never had the problem that is is simply not there at all!.
Are you able to insert it directly to your code?

Best, Michael


Top
 Profile  
 
PostPosted: 21. Apr 2017, 10:38 
Offline

Joined: 21. Nov 2015, 22:38
Posts: 21
Hi,
I tried and the "no" option with no luck.

It is strange this issue because I use the same code here http://bubblingsounds.gr/en/request/ (search button) and here http://bubblingsounds.gr/en/playlist/ and it's working fine.

How can I insert directly the js file?


Top
 Profile  
 
PostPosted: 21. Apr 2017, 11:14 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
You need to add this then to the wordpress footer file of you template.

<script type='text/javascript' src='http://bubblingsounds.gr/wp-content/plugins/advanced-iframe/js/ai.js?ver=575317'></script>

This is what I copied from your other page. So it is really strange why it is not on this page. I only can think of that another plugin on this page is somehow interfering..

Best, Michael


Top
 Profile  
 
PostPosted: 21. Apr 2017, 12:15 
Offline

Joined: 21. Nov 2015, 22:38
Posts: 21
Hi,
I add the script to the footer and it's working fine. Thanks.

Regards
Andreas


Top
 Profile  
 
PostPosted: 21. Apr 2017, 13:42 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
:).


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

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 9 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 | Datenschutz/ Privacy policy