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 29. Mar 2024, 00:07

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  [ 3 posts ] 
Author Message
PostPosted: 19. Dec 2017, 01:26 
Offline
User avatar

Joined: 13. Apr 2015, 18:55
Posts: 52
Ha Michael,

You state that all 'external workaround' variables should be presented in the standalone-ai_external_config.js file.
Can you give me an overview of all 'external workaround' variables that are possible in that .js file next to the few given in your sample?
The reason I ask is that for instance 'keepOverflowHidden' is set with 'keep_overflow_hidden' when using the normal shortcode..
I am confused regarding this difference....

These are the variables I found in your sample:
var domain_advanced_iframe = '../';
var iframe_id="advanced_iframe";
var updateIframeHeight = "true";
var keepOverflowHidden = "false";
var hide_page_until_loaded_external = "true";
var onload_show_element_only = "#iframe-right";
var iframe_content_id = "#iframe-right";
var iframe_content_styles = "float:none;height:auto;color:#ff0000;";
var resize_on_element_resize = "#iframe-right";
var resize_on_element_resize_delay = "50";
// this is used here that the example works out of the box everywhere!
// if you set this to false you need to set post_message_domain instead!
var domainMultisite = 'true';

So let's put it in other words...
I want to mimic these external workaround settings using the stanalone version. So what settings go in that external .js file?

[advanced_iframe securitykey="mykey" use_shortcode_attributes_only="true" src="https://webshop-wordpress.broekmans.nl" width="100%" height="2000" scrolling="no" enable_ios_mobile_scrolling="true" id="EVWebshop" name="EVWebshop" url_forward_parameter="ALL" add_iframe_url_as_param_prefix="webshop-wordpress.broekmans.nl" onload_scroll_top="true" show_iframe_loader="true" enable_responsive_iframe="true" hide_page_until_loaded="false" resize_on_ajax_jquery="false" enable_external_height_workaround="true" map_parameter_to_url="page" use_post_message="true" ]

_________________
Greetings from sunny Curaçao!


Top
 Profile  
 
PostPosted: 19. Dec 2017, 06:02 
Offline
User avatar

Joined: 13. Apr 2015, 18:55
Posts: 52
Never mind, found it in the code with the defaults:

var iframe_id_advanced_iframe = "advanced_iframe";
var iframe_advanced_iframe_last_height = -1
var iframe_url_id = "";
var domainMultisite = "false";
var post_message_domain = "*";
var usePostMessage = true;
var debugPostMessage = true;
var dataPostMessage = '';
var updateIframeHeight = "true";
var onload_resize_delay = 0;
var keepOverflowHidden = "false";
var hide_page_until_loaded_external = "false";
var iframe_hide_elements = "";
var onload_show_element_only = "";
var iframe_content_id = "";
var iframe_content_styles = "";
var change_iframe_links = ""
var change_iframe_links_target = "";
var additional_js_file_iframe = "";
var additional_js_iframe = '';
var additional_css_file_iframe = "";
var iframe_redirect_url = "";
var enable_responsive_iframe = "false";
var write_css_directly = 'false';
var resize_on_element_resize = '';
var resize_on_element_resize_delay = '250';
var add_iframe_url_as_param = 'false';
var element_to_measure = 'default';
var element_to_measure_offset = 0;
var additional_styles_wrapper_div = '';
var add_css_class_iframe = 'false';

_________________
Greetings from sunny Curaçao!


Top
 Profile  
 
PostPosted: 19. Dec 2017, 19:01 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
As I have written in my other post they are also available in the administration on the external workaround tab -> show all parameters.

Best, Michael


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

All times are UTC + 1 hour [ DST ]


Who is online

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