Notifications
Clear all

Remove nav and footer with external workaround

21 Posts
2 Users
1 Reactions
1,958 Views
Posts: 12
Topic starter
(@connaronetime)
Active Member
Joined: 5 years ago

Hi Michael,

 

I now have the external workaround working here  https://onetime.sport/events/    and the page now auto-resizes! yay thank you.

But I now want to remove the nav and footer from the parent.

Here is my shortcode: 

[advanced_iframe securitykey="MYKEY" src="https://www.tridentresults.com" id="advanced_iframe" enable_external_height_workaround="true" width="100%" scrolling="no" use_post_message="debug" multi_domain_enabled="true"]

 

I've tried adding the following to Hide elements in advance settings, but it won't work:

 

.navbar yamm navbar-default navbar-static-top fixedheader,.fixedheader-spacer,#footer

Resize remote iframe to content height = Yes

 

Can you please tell me what I'm doing wrong?

 

Thanks

Connar

20 Replies
TinyWebGallery
Posts: 924
Admin
(@admin)
Prominent Member
Joined: 16 years ago

Hi, I don't know exactly what you mean with parent. Because the parent is the page for me where the iframe is located. I think you mean the page in the iframe right?

If I see

https://onetime.sport/events/wp-content/plugins/advanced-iframe/js/ai_external.js

you are running the free version. Hiding elements in the iframe is a pro feature:

http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/external-workaround-with-post-message

Best, Michael

Reply
2 Replies
(@connaronetime)
Joined: 5 years ago

Active Member
Posts: 12

@admin hello, please help 🙂 

Reply
TinyWebGallery
Admin
(@admin)
Joined: 16 years ago

Prominent Member
Posts: 924

@connaronetime See my answer...

Reply
Posts: 12
Topic starter
(@connaronetime)
Active Member
Joined: 5 years ago

Hi Michael,

 

I'm using and have paid for the pro version.

 

I have listed the elements in the iFrame I want to hide in Modifying the iFrame > Hide elements in iframe. But they still appear in my iFrame. What am I doing wrong?

 

Thanks

Connar

Reply
TinyWebGallery
Posts: 924
Admin
(@admin)
Prominent Member
Joined: 16 years ago

But you have still parts of the free version there

https://onetime.sport/events/wp-content/plugins/advanced-iframe/js/ai_external.template.js

is different if you have the pro version. Please get the latest version from codecanyon or install all files from the pro version again.

Best, Michael

Reply
TinyWebGallery
Posts: 924
Admin
(@admin)
Prominent Member
Joined: 16 years ago

On the top the file has to start with:

Advanced iframe pro external workaround file v2020.x

and is much, much longer than the one Of the link before. 

Reply
1 Reply
(@connaronetime)
Joined: 5 years ago

Active Member
Posts: 12

@admin Hi Michael, thank you for your help. I now have Advanced iFrame Pro v2020.4 installed and have set Use postMessage for communication to yes. 

 

I have .navbar yamm navbar-default navbar-static-top fixedheader,.fixedheader-spacer,#footer in Hide elements in iframe but the nav and footer are still showing. What have I done wrong?

Thanks

Connar

Reply
Page 1 / 3