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

iFrame as Layer
https://www.tinywebgallery.com/forum/viewtopic.php?f=21&t=3880
Page 1 of 1

Author:  adrianb11 [ 10. Jun 2015, 07:40 ]
Post subject:  iFrame as Layer

I have an Advanced iFrame in one of my pages, and would like the ability to expand it to full screen. I am looking at leveraging the iFrame in a layer example to do this.

As a first step, I tried to get the following example working in a wordpress page but it doesn't work. I click on the link and the layer doens't appear. I purchased the 6.4 version and have it installed, which I believe supports this feature. I also tried a href from my domain as well but no go. Any ideas?

<a id="linklayer2" href="http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo" target="_blank">Link 2 - that opens in an iframe in a layer</a>

[advanced_iframe securitykey="<my security key>" use_shortcode_attributes_only="true" src="about:blank" id="example32" height="1000" width="900" change_parent_links_target="a#linklayer2" show_iframe_as_layer="true" show_iframe_loader="true"]

Thanks

Author:  TinyWebGallery [ 10. Jun 2015, 09:54 ]
Post subject:  Re: iFrame as Layer

The example looks fine.

Do you have an example page where you have this? Maybe there is a Javascript error on this page somewhere which causes everything to fail.

Best, Michael

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