Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum
https://www.tinywebgallery.com/forum/

iframe content out of frame and not visible on iPhone
https://www.tinywebgallery.com/forum/viewtopic.php?f=21&t=4325
Page 1 of 1

Author:  erkarolin [ 11. May 2017, 06:54 ]
Post subject:  iframe content out of frame and not visible on iPhone

Hi guys, not sure how to set this up correctly but when i access my iframe on the phone its showing correctly in full screen (not responsive) but the entire content is showing.

https://secure.activecarrot.com/public/class/browse/950

When i embed it on my page, i can only see half :( on my phone.

http://lanecoveaquatic.com.au/testifrm/

What can i do - set up?

Cheers

Author:  TinyWebGallery [ 11. May 2017, 11:14 ]
Post subject:  Re: iframe content out of frame and not visible on iPhone

if you do access the page directly the browser does zoom! but inside an iframe the don't do this! My plugin offer s different zoom options where you have to try which ine is best for you:

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

depending if you can add a line of Javascript to the other page you need to use different zoom settings!
So example 35 is maybe a good solution for you if

Best, Michael

Author:  erkarolin [ 12. May 2017, 12:28 ]
Post subject:  Re: iframe content out of frame and not visible on iPhone

Thanks for your detailed and quick answer, i have used example 35 but damn..... after 5 hours of tweaking the width, ratio etc....no luck at all :( 9on the iPhone - cant seem to get it fit into the screen at all)

http://lanecoveaquatic.com.au/bkaswm/

Author:  TinyWebGallery [ 12. May 2017, 13:42 ]
Post subject:  Re: iframe content out of frame and not visible on iPhone

how does you shortcode look like? Because there seems to be no zoom at all.

something like this:
onload=";zoomOnLoadadvanced_iframe_35();
is completely missing in your code.

Best, Michael

Author:  erkarolin [ 13. May 2017, 09:37 ]
Post subject:  Re: iframe content out of frame and not visible on iPhone

Thanks for your tip,
I've copied the code from here and the addition wasn't on there. Now with the new addition, its almost there, but again...whatever i change in the ratio (0.7-0.9 or whatever) it still needs a bit to finally fit on the phone)

[advanced_iframe securitykey="xxx" use_shortcode_attributes_only="true" src="https://secure.activecarrot.com/public/class/browse/950" height="1300" width="100%" auto_zoom_by_ratio="0.8|1300" onload=";zoomOnLoadadvanced_iframe_35(); enable_responsive_iframe="true"]

Author:  TinyWebGallery [ 15. May 2017, 09:16 ]
Post subject:  Re: iframe content out of frame and not visible on iPhone

no - the onload should be generated automatically! Also check the " in your shortcode. they are set wrong!

onload=";zoomOnLoadadvanced_iframe_35(); enable_responsive_iframe="true"

should be
enable_responsive_iframe="true"

only. also you only copied half of my example!

auto_zoom="same" auto_zoom_by_ratio="0.8|1000" enable_responsive_iframe="true"

are the important 3 settings!

Best, Michael

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/