This is my shortcode I am using :
[advanced_iframe securitykey=”XXXXXXXXXXXXXXXXXX” src=”http://www.nbnco.com.au” width=”100%” height=”508″ id=”check_address” scrolling=”no” use_shortcode_attributes_only=”true” hide_elements=”#mainnavigation”]
What I am doing wrong here ?
How is your setup?
Because you are using the configuration for the same domain.
Best, Michael
This is my site link srv11.mysmallbizwebhosting.com/~motiontel/ . here I want to integrate iframe and this is the shortcode I am using:-
[advanced_iframe securitykey=”XXXXXXXXXXXXXXXXXX” src=”http://www.nbnco.com.au” width=”100%” height=”508″ id=”check_address” scrolling=”no” use_shortcode_attributes_only=”true” hide_elements=”#mainnavigation”]
What you meant by configuration for same domain, from admin settings or shortcode.
Can I do this by free plugin.
You are using the configuration for the same domain that is not correct.
You are on different domains. To hide elements there you NEED to add one line of Javascript there and use the external workaround like described in the administration!!!!
Hidding elements on an external domain is part of the pro version
http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/external-workaround-auto-height-and-css-modifications
If you don’t have access you can use the “show only a part of the iframe” feature like shown here:
http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/show-only-a-part-of-the-iframe
Best, Michael
-
This reply was modified 9 years, 8 months ago by
mdempfle.
Hello,
I purchased this plugin.
I also added one line of javascript “<script>document.domain=’XXXXXXXX.com’;</script>”
I also followed the step given in workaround in administration but still not able to hide div inside iframe.
Please do needfull.
This is only the configuration for a sub domain!
Please follow the instructions on this tab below the box!
Where you have to include the ai_external.js!
hide_elements=”#mainnavigation” is than NOT in the shortcode anymore! you need to set this directly in the administration that is saved to ai_external.js or you set this before you inlcude ai_external.js. See: http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/external-workaround-auto-height-and-css-modifications
Best, Michael