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

Disable links in iframes
https://www.tinywebgallery.com/forum/viewtopic.php?f=21&t=4324
Page 1 of 1

Author:  nwhitham [ 10. May 2017, 13:35 ]
Post subject:  Disable links in iframes

I have just purchased this plugin and spent most of the day hunting for what apears to be non-existant documentation - not a very good start. I need to disable links in my iframe but using hide_part_of_iframe="0,0,100%,100%,transparent,10" causes some issues with the progresive display of the page so I would also like to fully understand what the paremters are in this part of the shortcode hide_part_of_iframe="0,0,100%,100%,transparent,10". If there is an alternative way of doing this please could you advise and also let me know if there is documentation for all other parts of the shortcode options.

Many thanks in advance for your help

Author:  TinyWebGallery [ 10. May 2017, 14:36 ]
Post subject:  Re: Disable links in iframes

Non existing documentation? Have you look in the administration of Wordpress- > Advanced iframe pro?
Where every short code parameter is documented? If you print this you have over 50 pages of documentation.
And over 50 working examples.

hide_part_of_iframe:
--
A rectangle is defined the following way: left,top,width,height,color,z-index e.g. 10,20,200,50,#ffffff,10. This defines a rectangle in white with the z-index of 10. z-index means the layer the rectangle is placed. If you don't see your rectangle please use a higher z-index. You can also define a background image here! use e.g. 10,20,200,50,#ffffff;background-image:url(your-logo.gif);background-repeat:no-repeat;,10 for a white rectangle with the given background image. Use the area selector to get the coordinates very easy. You can specify several rectangles by separating them by |. Please see the pro demo for a cool example where a logo is exchanged.

You can also create read only iframes with this feature. Use hide_part_of_iframe="0,0,100%,100%,transparent,10". For a working example please see example 21 of the pro demo.

It is also possilbe to define an optional link and an optional target for this area. Parameter 7 is the url and parameter 8 the target. So a working example would be: hide_part_of_iframe="0,0,100%,100%,transparent,10,http://www.tinywebgallery.com,_blank".

The divs can also be right and bottom aligned. You need to specify the prefix r for right instead of left and b for bottom instead of top. An example would look like this: r10,b20,200,50,#ffffff,10.

The div does also support the usage of an external html files even with shortcodes. Below you see the existing external files, how to use them and you can also create/edit/delete them.

Shortcode attribute: hide_part_of_iframe=""
--

For the hide_part_of_iframe even a area selector does exist.

And can you please specify what the problem is in detail?

Best, Michael

Author:  nwhitham [ 10. May 2017, 14:58 ]
Post subject:  Re: Disable links in iframes

Here is the problem - take a look at this page http://www.banyangraphics.co.uk/voices-of-the-past/ which is using this code [advanced_iframe securitykey="X" src="http://www.voicesofthepast.co.uk" width="100%" height="2000" hide_part_of_iframe="0,0,100%,100%,transparent,10"] and then comare to the original page http://www.voicesofthepast.co.uk. On the actual page the sections reveal themselves as you scroll down but this does not happen in the iframe with the shortcode I am using unless I remove the hide_part_of_iframe.

Thanks

Author:  nwhitham [ 10. May 2017, 15:03 ]
Post subject:  Re: Disable links in iframes

It would be helpful if you could give me the link to where I can find detailed descriptions of the shortcode elements which are described the same as the example you gave me above for the hide_part_of_frame.

Many thanks

Author:  TinyWebGallery [ 10. May 2017, 15:09 ]
Post subject:  Re: Disable links in iframes

this is because you also disabled the scrollbar with the 100% div.
If you use e.g. width 95% you should be able to scroll the iframe again.

Best, Michael

Author:  TinyWebGallery [ 10. May 2017, 15:11 ]
Post subject:  Re: Disable links in iframes

Link ? Please go to your Wordpress administration and then in the left menu you have "Advanced iframe pro".

There you find several tabs with all short code attributes described with links to demos...

Best, Michael

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