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

Disabling links in an iFramed page
https://www.tinywebgallery.com/forum/viewtopic.php?f=21&t=3982
Page 1 of 1

Author:  cybercli [ 24. Nov 2015, 18:50 ]
Post subject:  Disabling links in an iFramed page

Is it possible to disable all links in an iFramed web page which I do not control?

Thanks

Author:  TinyWebGallery [ 24. Nov 2015, 19:06 ]
Post subject:  Re: Disabling links in an iFramed page

you can make the iframe read only with the pro version.

Best, Michael

Author:  cybercli [ 25. Nov 2015, 01:44 ]
Post subject:  Re: Disabling links in an iFramed page

Thanks!
I have discovered with some sites they have video that the user needs to control so this method won't work.

I noticed in the advanced section you can have links inside the iframe open in a new tab/window but I cannot figure out how to configure that. If I want all links inside the iframe to open in a new tab how do I do that?

Thanks

Author:  TinyWebGallery [ 25. Nov 2015, 11:55 ]
Post subject:  Re: Disabling links in an iFramed page

So you want to change link targets? Have you seen the demo for this?

Author:  cybercli [ 25. Nov 2015, 18:13 ]
Post subject:  Re: Disabling links in an iFramed page

Yes I saw the demo but do not know where the javascript goes or what fields need to be modified in the advanced tab.

Author:  TinyWebGallery [ 25. Nov 2015, 20:09 ]
Post subject:  Re: Disabling links in an iFramed page

You have no control over the other pages?
Than you cannot change link targets as you cannot insert the Javascript to the remote page.

The only thing you can do is to place transparent layers over the iframe with your links.
But this is a quite manuel process.

Best, Michael

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