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

Adding further iframe shortcodes - but they're blank?
https://www.tinywebgallery.com/forum/viewtopic.php?f=21&t=3888
Page 1 of 1

Author:  KevEd [ 19. Jun 2015, 14:31 ]
Post subject:  Adding further iframe shortcodes - but they're blank?

Hi,

I have the 780 Product pages, each displayed in their own WP page using an individual shortcode.

This example shortcode shows up in a page like this http://www.transdev.co.uk/sprocket/sprockets/
[advanced_iframe securitykey="bd9d874708cb43560b8c7e75fd57c5b0d96f680b" include_url="http://www.transdev.co.uk/productshtml/sprockets/sprocket_main.htm"]

but this shortcode is showing blank but Firebug inspector shows it's there with this function jQuery("#ai_temp_advanced_iframe").load("productshtml/additional pages/Transdev TSM4 transmission belt tension meter.htm" , function() { })

[advanced_iframe securitykey="bd9d874708cb43560b8c7e75fd57c5b0d96f680b" include_url="http://www.transdev-online.co.uk/productshtml/additional pages/Transdev TSM4 transmission belt tension meter.html"]

This also doesn't work (url doesn't have spaces)
[advanced_iframe securitykey="bd9d874708cb43560b8c7e75fd57c5b0d96f680b" include_url="http://transdev-online.co.uk/productshtml/additional/spectpull.html"]

If I change include_url to src the content does display but it doesn't use the site's CSS.

I PM'd the access login to you previuosly.

I hope you can help.

Regards,

KevEd

Author:  TinyWebGallery [ 21. Jun 2015, 22:51 ]
Post subject:  Re: Adding further iframe shortcodes - but they're blank?

include_url does only work on the same domain and would copy the html directly into the parent page.
Is the content on the same domain?

Best, Michael

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