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

Opening Links In New Window/Tab
https://www.tinywebgallery.com/forum/viewtopic.php?f=21&t=4042
Page 2 of 2

Author:  TinyWebGallery [ 19. Feb 2016, 00:31 ]
Post subject:  Re: Opening Links In New Window/Tab

which settings have you made to change the link targets?

Author:  southcot [ 19. Feb 2016, 13:55 ]
Post subject:  Re: Opening Links In New Window/Tab

If you mean settings on the dashboard? None.

Author:  TinyWebGallery [ 19. Feb 2016, 14:04 ]
Post subject:  Re: Opening Links In New Window/Tab

So why should any link target change if you have not configured anything that should do this. Have you looked at example 10?

Best, Michael

Author:  southcot [ 19. Feb 2016, 14:30 ]
Post subject:  Re: Opening Links In New Window/Tab

Michael

I have tried all sorts of settings none of them worked, you will see I said this above. Currently I have nothing set as I couldn't get it to work and when you ask me what he shortcode and settings are I've told you. I'm asking you what the correct syntax in the shortcode is to make the links in that div open in a new tab, please help, I'm at a loss.

Author:  TinyWebGallery [ 19. Feb 2016, 14:56 ]
Post subject:  Re: Opening Links In New Window/Tab

But you have not provided one example what you have tried.

The simplest way to change link targets on the same domain is:

[advanced_iframe securitykey="your key" use_shortcode_attributes_only="true" src="same domain url" id="example10" height="300" width="600" scrolling="no" change_iframe_links=".CalEvent a" change_iframe_links_target="_blank"]

this already only changes links inside elements where the class CalEvent is set.

Best, Michael

Author:  southcot [ 19. Feb 2016, 15:13 ]
Post subject:  Re: Opening Links In New Window/Tab

I wasn't aware that I needed to supply examples of what I had tried. They didn't work and I'm unsure as to what purpose they would serve. However the codes you have given me work well. Thanks.

Author:  TinyWebGallery [ 19. Feb 2016, 15:38 ]
Post subject:  Re: Opening Links In New Window/Tab

It is always easier to help if I see what you have tried.

I have only modified example 10 for you.
But it is working now and this is the main thing ;).

Best, Michael

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