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

Opening a link outside the frame
https://www.tinywebgallery.com/forum/viewtopic.php?f=21&t=4515
Page 1 of 1

Author:  xega [ 13. Jan 2018, 09:55 ]
Post subject:  Opening a link outside the frame

Hi
I have the pro version of the wp plugin installed on my website http://www.legstadaleit.hafdal.dk

My code looks like this:
Code:
[advanced_iframe securitykey="xxxxx" use_shortcode_attributes_only="true" src="https://www.hafdal.dk/tng/cemeteries.php" width="100%" height="800" scrolling="auto" id="legstadaleit1" name="legstadaleit" map_parameter_to_url="page" add_iframe_url_as_param="same" ]


I would like to open the link "Tengill á prestþjónustubók" on this page: https://www.hafdal.dk/legstadaleit/index.php/database/?page=s|www.hafdal.dk%2Ftng%2Fgetperson.php%3FpersonID%3DI6869%26tree%3DTree2 outside the frame and not in the frame like here: https://www.hafdal.dk/legstadaleit/index.php/database/?page=s|www.hafdal.dk%2Flegstadaleit%2Findex.php%2F2018%2F01%2F12%2Fpreststhjonustubok-hjardarholtssoknar-laxardal-1856-1869%2F%23!fancybox%2Fd37210ce%2F5533_121_B_BA_0005_015.jpg

Is this possible? And only for a few links, not for all links?

Author:  TinyWebGallery [ 13. Jan 2018, 23:45 ]
Post subject:  Re: Opening a link outside the frame

This is possible if you can identify the links in the page.

See http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/change-links-targets

with
var change_iframe_links = "#iframe-navigation a";
var change_iframe_links_target = "_blank";

you can define the links to be changed.

Best, Michael

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