strange - got it working with different IDs but now also with the same IDs.
The only things I changed were the settings in the front-end of the plugin? But I thought it is sufficient to use the settings in the file only?
Therefore my question now: If I want to add the next website (PARENTWEBSITE) and give them access to my iframe-page (on the REMOTEWEBSITE), do we have to do something in the
settings in the plugin, or is it enough to do the following:
On the REMOTEWEBSITE:0. Create a new page (NEWPAGE) on the REMOTEWEBSITE with the content plus this script at the end of the page:
Code:
<script src="http://PARENTWEBSITE/wp-content/plugins/advanced-iframe-custom/ai_external_config_ID.js"></script>
<script src="http://PARENTWEBSITE/wp-content/plugins/advanced-iframe/js/ai_external.js"></script>
On the PARENTWEBSITE:1. Install the plugin AI-pro on the PARENTWEBSITE
2. create the .../plugins/advanced-iframe-custom folder
3. copy the ai_external_config_ID.js in that folder:
Code:
var iframe_id= "ID";
var updateIframeHeight = "true";
var keepOverflowHidden = "false";
var hide_page_until_loaded_external = "true";
var iframe_hide_elements="#header,.entry-header,.tc-header,.site-title,.tc-reset-margin-top,.navbar-wrapper,.container outside, .site-description";
4. add the code to the page on the PARENTWEBSITE, where they want to display the iframe:
Code:
[advanced_iframe securitykey="SECURITYKEY" use_shortcode_attributes_only="true" id="ID" width="100%" same_height_as="body" scrolling="no" style="border: 0px none; margin-left:0px; margin-top:0px; padding:0px; display:block; " enable_lazy_load="true" hide_page_until_loaded_external="true" enable_lazy_load_threshold="200" enable_lazy_load_fadetime="0" src="http://REMOTEWEBSITE/NEWPAGE/?iframe=XXX"]
5. substitute the SECURITYKEY with the Securitykey from their AI-plugin
Is this all, or any settings in the plugin under Wordpress in addition (and if so: which?)???
Second questiton: I still have problems with the proper display: the width is still not using 100 %... as you can see here it sticks to 940px ... can you give me a hint what to change to get rid of the white space on top, left and right? http://petra-koepcke.pferdetermine.de/termine-reitkurse/