Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum https://www.tinywebgallery.com/forum/ |
|
Code is correct in Google Chrome Developer not on mobile https://www.tinywebgallery.com/forum/viewtopic.php?f=21&t=4669 |
Page 1 of 1 |
Author: | Gonzo1982 [ 11. May 2018, 18:46 ] |
Post subject: | Code is correct in Google Chrome Developer not on mobile |
The follow shortcode looks correct inside google chrome developer mode on all devices I set it too. It zooms out correctly. When I try to load it on my mobile device it doesn't work and cuts it off. [advanced_iframe use_shortcode_attributes_only="true" src="//www.coffeesevereweather.com/wxpqpf-h5loops.php" height="1000" width="100%" onload=";zoomOnLoadadvanced_iframe(); enable_responsive_iframe="true" auto_zoom="same" auto_zoom_by_ratio="0.8|1000" enable_responsive_iframe="true"] |
Author: | TinyWebGallery [ 12. May 2018, 00:00 ] |
Post subject: | Re: Code is correct in Google Chrome Developer not on mobile |
The shortcode looks not correct. Please enable the check of shortcodes on the options tab. Also please only specify each attribute once. The onload is missing a closing " . And I don't know why you use need this. also you should adopt the settings to your website! 0.8|1000 looks wrong to me as your webpage is only ~ 820 px And where is it included? Do you also have the problem if you use e.g. chrome and simulate a mobile device? Best, Michael |
Author: | Gonzo1982 [ 12. May 2018, 01:42 ] |
Post subject: | Re: Code is correct in Google Chrome Developer not on mobile |
It looks perfect on google chrome when simulating the device. It doesn’t look correct on the device. |
Author: | TinyWebGallery [ 12. May 2018, 01:59 ] |
Post subject: | Re: Code is correct in Google Chrome Developer not on mobile |
https://coffeesevereweather.com/daily-precipitation-totals/ does not work at all for me. If I resize the browser the iframe is gone.... And a big error message in the browser console.... jquery.js?ver=1.12.4&time=1526083062:2 Uncaught Error: Syntax error, unrecognized expression: #y=35.4851;x=-86.0133;z=10;t=4;m=terrain;r=0;s=0;o=0;b=20.87;d=2;dl=2;dc=0;dn=1;ra=0;i=1; at Function.fa.error (jquery.js?ver=1.12.4&time=1526083062:2) at fa.tokenize (jquery.js?ver=1.12.4&time=1526083062:2) at fa.select (jquery.js?ver=1.12.4&time=1526083062:2) at Function.fa (jquery.js?ver=1.12.4&time=1526083062:2) at Function.a.find (jquery-migrate.min.js?ver=1.4.1&time=1526083062:2) at n.fn.init.find (jquery.js?ver=1.12.4&time=1526083062:2) at n.fn.init.a.fn.find (jquery-migrate.min.js?ver=1.4.1&time=1526083062:2) at a.fn.init.n.fn.init (jquery.js?ver=1.12.4&time=1526083062:2) at new a.fn.init (jquery-migrate.min.js?ver=1.4.1&time=1526083062:2) at n (jquery.js?ver=1.12.4&time=1526083062:2) |
Page 1 of 1 | All times are UTC + 1 hour [ DST ] |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |