Notifications
Clear all

ERROR: hide part of iframe does not have the required 6 parameters

6 Posts
2 Users
0 Reactions
768 Views
Posts: 3
Topic starter
(@tobias)
Active Member
Joined: 2 years ago

Hi Support, 

first: thanks for the nice plugin - works great!

we will use the following shortcode on our side but we get the following error: hide part of iframe does not have the required 6 parameters - how can we get that?

[advanced_iframe use_shortcode_attributes_only="true" src="//www.remax.com.py/PublicListingList.aspx?SelectedCountryID=114#mode=gallery&cur=PYG&sb=MostRecent&page=1&sc=114&lsgeo=0,0,0,0&sid=9d5d45a9-b767-43b2-92fb-5ea2310022b9&oid=143054" width="1310" height="8000" allowfullscreen="true" enable_lazy_load="true" show_part_of_iframe="true" show_part_of_iframe_x="73" show_part_of_iframe_y="116" show_part_of_iframe_width="1171" show_part_of_iframe_height="4093" show_part_of_iframe_allow_scrollbar_vertical="true" hide_part_of_iframe="false" iframe_hide_elements="#leadAdsListingSearchResultsFullBanner" onload_resize="true" use_post_message="false"]

Thanks for your help!

Best regards!

 

Tobias

Topic Tags
5 Replies
TinyWebGallery
Posts: 923
Admin
(@admin)
Prominent Member
Joined: 16 years ago

Remove

hide_part_of_iframe="false"

If you check the documentation this is not "true", "false" - you need to specify proper parameters here.

Best regards,

Michael

 

Reply
Posts: 3
Topic starter
(@tobias)
Active Member
Joined: 2 years ago

Hi Michel,

thanks for your fast answer! Now we use the following shortcode:

[advanced_iframe use_shortcode_attributes_only="true" src="//www.remax.com.py/PublicListingList.aspx?SelectedCountryID=114#mode=gallery&cur=PYG&sb=MostRecent&page=1&sc=114&lsgeo=0,0,0,0&sid=9d5d45a9-b767-43b2-92fb-5ea2310022b9&oid=143054" width="1310" height="8000" allowfullscreen="true" enable_lazy_load="true" show_part_of_iframe="true" show_part_of_iframe_x="73" show_part_of_iframe_y="116" show_part_of_iframe_width="1171" show_part_of_iframe_height="4093" show_part_of_iframe_allow_scrollbar_vertical="true" hide_part_of_iframe="hide_part_of_iframe='-1,239,1310,201,#ff0000,10'" iframe_hide_elements="#leadAdsListingSearchResultsFullBanner" onload_resize="true" use_post_message="false"] 

but it doesn´t really work great. please have a look at screenshot.

another question: How can we make a mobile friendly iframe? 

 

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

I'm wondering why you show part of an iframe and hide part of an iframe.

And also many settings which only work on on the same domain. This does not fit together. 

Please take a look here: http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-checklist

I assume you get tons of errors in the logs because of your settings.

Please start simpler. Your shortcode looks already very overloaded. And you should have 0 (!!) errors/warnings coming from advanced iframe!

To be more mobile friendly you can either use the browser detection and apply different settings for each device like shown here: 

https://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/browser-detection

Or you use media queries like shown here:

https://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/show-only-a-part-of-the-iframe#e55

https://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/hide-a-part-of-the-iframe#e50

This is more advanced as you need to find all breakpoints of remax. 

Zoom is often not a good solution as on small devices everything gets too small to read. So it depends on the content here...

Best regards,

Michael

 

 

Reply
Posts: 3
Topic starter
(@tobias)
Active Member
Joined: 2 years ago

Hi Michael,

 

thanks for your answer. I change the Shortcode to following - it´s simpler now and mobile friendly:

[advanced_iframe use_shortcode_attributes_only="true" src="//www.remax.com.py/PublicListingList.aspx?SelectedCountryID=114#mode=gallery&cur=PYG&sb=MostRecent&page=1&sc=114&lsgeo=0,0,0,0&sid=9d5d45a9-b767-43b2-92fb-5ea2310022b9&oid=143054" width="100%" height="8000px" enable_responsive_iframe="true" enable_lazy_load="true" enable_lazy_load_threshold="200"]

But how can we hide parts of the page without lost the mobile friendlinest? Please look at screenshot. How can we get this?

Thanks for your help!

Best regards!

Tobias

Reply
Page 1 / 2