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

Make an iframe readonly+using area selector
https://www.tinywebgallery.com/forum/viewtopic.php?f=21&t=3844
Page 1 of 1

Author:  gaboonadder [ 24. Apr 2015, 03:32 ]
Post subject:  Make an iframe readonly+using area selector

I have seen your post at the URL: http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/hide-a-part-of-the-iframe#e21, however, because I have used the area selector I already have shortcode generated for my page that works exactly the way I want it with the exception of being read only. I have tried different variations of the code as I do not want to lose the set-up without success. My shortcode is below-what could I add that will make the iframe read only (domain changed to example.com)




[advanced_iframe securitykey="78f2b2e9sa6cf2192d2379a4783eb60e2a7e3eef" use_shortcode_attributes_only="true" src="//example.com/sell3/index.php/" width="1920" height="3000" scrolling="no" id="advanced_iframe" name="Example" allowfullscreen="true" map_parameter_to_url="show|1|http://www.example.com" show_part_of_iframe="true" show_part_of_iframe_x="344" show_part_of_iframe_y="936" show_part_of_iframe_width="1226" show_part_of_iframe_height="1016" show_part_of_iframe_new_window=""_blank"" ]

Author:  TinyWebGallery [ 24. Apr 2015, 09:22 ]
Post subject:  Re: Make an iframe readonly+using area selector

Try adding
hide_part_of_iframe="0,0,100%,100%,transparent,10"

If this does not work please let me know. Maybe I need an additional wrapper div if you use both features together.

Author:  gaboonadder [ 24. Apr 2015, 12:34 ]
Post subject:  Re: Make an iframe readonly+using area selector

Hi - have tried that and unfortunately did not work

Author:  TinyWebGallery [ 24. Apr 2015, 13:43 ]
Post subject:  Re: Make an iframe readonly+using area selector

I'll check this setup on the weekend and let you know.

Author:  gaboonadder [ 24. Apr 2015, 14:58 ]
Post subject:  Re: Make an iframe readonly+using area selector

Thanks

Author:  TinyWebGallery [ 26. Apr 2015, 10:42 ]
Post subject:  Re: Make an iframe readonly+using area selector

I just checked at my demos and this works fine setting
this demos:
http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/show-only-a-part-of-the-iframe
to readonly.

Do you have a real url with my suggested change? I have had setups where the 100% was not enough because of the existing css of the page.

Best, Michael

Author:  gaboonadder [ 26. Apr 2015, 21:52 ]
Post subject:  Re: Make an iframe readonly+using area selector

Michael

In the end I got it sorted-this is the shortcode end result. Had to increase the 100% to 200% to cover complete iFrame

[advanced_iframe securitykey="mycode" use_shortcode_attributes_only="true" src="http://www.example.com/sell3/" id="advanced_iframe_21" height="2000" width="1280" scrolling="no" hide_part_of_iframe="0,0,200%,200%,transparent,10"]

Cheers

Douglas

Author:  TinyWebGallery [ 26. Apr 2015, 22:06 ]
Post subject:  Re: Make an iframe readonly+using area selector

Good. I had something like that also on another page where I needed 150%

Best, Michael

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