Notifications
Clear all

Show only refernced section

2 Posts
2 Users
0 Likes
183 Views
Posts: 1
Topic starter
(@hansj)
New Member
Joined: 2 months ago

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

1 Reply
TinyWebGallery
Posts: 880
Admin
(@admin)
Prominent Member
Joined: 15 years ago

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

 

Reply