Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum https://www.tinywebgallery.com/forum/ |
|
Issues resizing iframe on mobile devices https://www.tinywebgallery.com/forum/viewtopic.php?f=21&t=4647 |
Page 1 of 1 |
Author: | Gonzo1982 [ 10. May 2018, 17:30 ] |
Post subject: | Issues resizing iframe on mobile devices |
I've got an iframe on my wordpress site that goes to an external site. The iframe looks great on the desktop but all the settings I've tried to resize the iframe automatically on the mobile device fails to work. This is my page, https://coffeesevereweather.com/daily-precipitation-totals/ This is my shortcode which is just basic now since nothing else worked, [advanced_iframe use_shortcode_attributes_only="true" src="https://www.cocorahs.org/Maps/ViewMap.aspx?state=TN&county=CF" width="100%" height="920" enable_ios_mobile_scolling="true" id="advanced_iframe" multi_domain_enabled="true" ] |
Author: | TinyWebGallery [ 11. May 2018, 23:16 ] |
Post subject: | Re: Issues resizing iframe on mobile devices |
https://www.cocorahs.org/Maps/ViewMap.aspx?state=TN&county=CF does not contain ai_external.js. So how should auto height work? Have you checked the documentation on the external workaround tab? also https://www.cocorahs.org/Maps/ViewMap.aspx?state=TN&county=CF is NOT responsive. What do you expect on a mobile device? You can use zoom to solve this. See http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/show-only-a-part-of-the-iframe/show-only-a-part-of-an-iframe-zoom or http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/auto-zoom-iframe-content#e35 -> example 35 Best, Michael |
Author: | Gonzo1982 [ 11. May 2018, 23:42 ] |
Post subject: | Re: Issues resizing iframe on mobile devices |
Ive tried this but it didn’t work, [advanced_iframe use_shortcode_attributes_only="true" src="https://www.cocorahs.org/Maps/ViewMap.aspx?state=TN&county=CF" height="1000" width="100%" onload=";zoomOnLoadadvanced_iframe(); enable_responsive_iframe="true" auto_zoom="remote" auto_zoom_by_ratio="0.8|1000" enable_responsive_iframe="true"] You see what it’s doing here, https://coffeesevereweather.com/daily-precipitation-totals/ |
Author: | TinyWebGallery [ 12. May 2018, 00:00 ] |
Post subject: | Re: Issues resizing iframe on mobile devices |
Check the other post. I wrote you already that this shortcode is wrong. also if I go to https://coffeesevereweather.com/daily-precipitation-totals/ I get a Javascript error and because of this nothing works. Best, Michael |
Page 1 of 1 | All times are UTC + 1 hour [ DST ] |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |