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

Errors with iframes
https://www.tinywebgallery.com/forum/viewtopic.php?f=21&t=4574
Page 1 of 1

Author:  ozshogun [ 15. Mar 2018, 22:44 ]
Post subject:  Errors with iframes

I have 2 errors that i can't seem to fix... just downloaded and installed pro to attempt to fix but hasn't.

http://elderfineart.com.au/catalogue-2/
Then choose lots 221-240
On desktop lots 239 and 240 are not appearing nor is the next page button
(source for iframe is http://202.191.62.89/~efa2/catalogue.php?m=detail&auctionid=28&v=20&pagecount=12)

http://elderfineart.com.au/catalogue-2/
On iphone it is only displaying 10 lots despite the iframe having 20 lots
(source for iframe is http://202.191.62.89/~efa2/catalogue.php?m=detail&auctionid=28&v=20&pagecount=1)

Settings i'm using:
<div align="center">[advanced_iframe src="http://202.191.62.89/~efa2/catalogue.php" id="iframe1" name="iframe1" width="100%" enable_external_height_workaround="true" enable_responsive_iframe="true" onload_scroll_top="true"]</div>

Author:  TinyWebGallery [ 17. Mar 2018, 18:59 ]
Post subject:  Re: Errors with iframes

I see a error from the plugin:

Advanced iframe configuration error: The id of the parent and the external workaround are different! Check your settings.

You have set the id to "iframe1" but in the ai_external.js it is still the default "advanced_iframe".
You need to set the id before your external file:

<script>
var iframe_id = "iframe1";
var updateIframeHeight = "true";
var keepOverflowHidden = "false";
</script>

Best, Michael

Author:  ozshogun [ 19. Mar 2018, 21:57 ]
Post subject:  Re: Errors with iframes

Thanks Michael

I believe i've done that now, in http://elderfineart.com.au/catalogue-3/ using http://202.191.62.89/~efa2/catalogue2.php as a source, however it now doesn't display anything past the first few lines. Sorry if i'm missing something basic here !

Shane

Author:  TinyWebGallery [ 19. Mar 2018, 22:15 ]
Post subject:  Re: Errors with iframes

you should fix your php page first:
Uncaught SyntaxError: Unexpected end of input -> catalogue2.php:51

Using the developer tools of the browsers is helpful e.g. press F12 in Chrome to open it.

Best, Michael

Author:  ozshogun [ 19. Mar 2018, 22:49 ]
Post subject:  Re: Errors with iframes

SyntaxError fixed - next step?

Author:  TinyWebGallery [ 19. Mar 2018, 23:23 ]
Post subject:  Re: Errors with iframes

Enable the debug of post message (like explained on the external workaround page).

Best, Michael

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