Hi
I want to set an iFrame to exactly one section "#section_1000027" which I have indicated in the shortcode, I also wants to prevent, that the Header and Footer "#section_1000000, #section_1000001" are displayed:
[advanced_iframe use_shortcode_attributes_only="true" src="https://songtrain.clubdesk.com/mitglieder/#stimmlage" width="100%" height="600" scrolling="no" show_iframe_loader="true" enable_responsive_iframe="true" reload_interval="t2000" hide_part_of_iframe="false" iframe_hide_elements="#section_1000000, #section_1000001" onload_show_element_only="#section_1000027"]
But additional to the correct section the header and the footer are displayed. What's wrong in my shortcode?
Thanks a lot for your support
Hans Jehle
Hi,
are you on the same domain? This settings only work on the same domain because of security restrictions browsers have.
also onload_show_element_only in combination with iframe_hide_elements does not make sense.
on the same domain onload_show_element_only will remove all html around it. Most of the time it is not a good idea to remove all html around because then css will not fit anymore.
Best regards,
Michael