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 13. Dec 2018, 20:29

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 21 posts ]  Go to page Previous  1, 2
Author Message
PostPosted: 10. Jan 2018, 21:03 
Offline

Joined: 4. Jan 2018, 22:25
Posts: 10
I just uninstalled the previous version, downloaded the new version with the ai.external.js fixed and installed it again. Isn't it a clean installation?

What do you mean with "hacked" files?

I've never seen the all frames button you mention.

What I think is that maybe there are some sort of conflict between Advanced Iframe and other resources. However, the first time I installed the free version it didn't have that problem. All started after installing the PRO version the first time.


Top
 Profile  
 
PostPosted: 10. Jan 2018, 22:02 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 10955
The code I have seen on your screenshot is not part of my code.
And yes. Removing all and install it again should be a clean install.

If you like I can take a look on your installation. You can send me a pm or a private e-mail how to access the installation.

Is the Javascript error gone?

btw. The code for the administration is 100% the same! In the free version you can show the administration of the pro version. The difference is on the files that renders the whole iframe and the Javascript.

Best, Michael


Top
 Profile  
 
PostPosted: 11. Jan 2018, 00:06 
Offline

Joined: 4. Jan 2018, 22:25
Posts: 10
Yes, the error was fixed with the new version. It's just that messy code ...

I wanted to ask you also about the Example 27: Resize on element resize on a different domain.

I'm trying to adapt it to my case and something is not right. I have:

- This code in the external page:

<script>
var updateIframeHeight = "true";
var hide_page_until_loaded_external = "true";
var write_css_directly = "true";
var resize_on_element_resize = "#programs";
var resize_on_element_resize_delay = "100";
var iframe_url_id = "ai_id";
var iframe_hide_elements = "#iframe-header,#iframe-footer";
var iframe_content_id = "#iframe-content";
var iframe_content_styles = "color:#ff0000";
</script>

<script src="http://<mydomain>/wp-content/plugins/advanced-iframe/js/ai_external.js"></script>

- And the shortcode in my advanced iframe:

[advanced_iframe securitykey="****" use_shortcode_attributes_only="true" src="http://mywebpage" width="100%" height="500px" scrolling="no" id="advanced_iframe" pass_id_by_url="ai_id"]

I didn't understand well what the following parameters are (what they refer to):

var iframe_content_id = "#iframe-content"; // Where is supposed to go that id?
var iframe_url_id = "ai_id"; // Does this reference just the pass_id_by_url="ai_id" in the shortcode or it's supposed to go somewhere else?

See the error below:


Attachments:
Untitled.png
Untitled.png [ 5.18 KiB | Viewed 67 times ]
Top
 Profile  
 
PostPosted: 11. Jan 2018, 10:35 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 10955
pass_id_by_url="ai_id" is something you don't need. It is needed for users that use the ai_external with different ids! e.g. if you have 2 iframes on the same page with different ids you need this.

so remove everything with ai_id. in the shortcode and on the external config.

var iframe_content_id = "#iframe-content";
var iframe_content_styles = "color:#ff0000";

is if you want to modify styles! So if you want only resize on element resize you don't need this either!
My demos always show more than one feature because otherwise I would need 200 demos ;).

Best, Michael


Top
 Profile  
 
PostPosted: 12. Jan 2018, 20:02 
Offline

Joined: 4. Jan 2018, 22:25
Posts: 10
It works fine now!

Thanks!


Top
 Profile  
 
PostPosted: 13. Jan 2018, 23:42 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 10955
Good.

Best, Michael


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 21 posts ]  Go to page Previous  1, 2

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:
powered by phpbb | Datenschutz/ Privacy policy