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

Show only part of an iframe
https://www.tinywebgallery.com/forum/viewtopic.php?f=21&t=4504
Page 1 of 1

Author:  samiam [ 20. Dec 2017, 00:56 ]
Post subject:  Show only part of an iframe

I have an iframe that includes two side-by-side elements: a Calendar and a Schedule
The calendar allows a user to select a date which then loads the corresponding schedule for that date.

I would like to break up the iframe as it is horizontally very long and does not look ideal to users on a mobile device (excess scrolling).

In the Pro version, is it possible to break up the calendar portion from the schedule portion using the "show only part of an iframe" option and still have them interact together?

Author:  TinyWebGallery [ 20. Dec 2017, 22:23 ]
Post subject:  Re: Show only part of an iframe

You can split this but they do not interact by default. Depending on the implementation of the site you could maybe reload the other iframe with Javascript. But this reload is not part of the plugin. There you would have to to a custom extension if your page is working with page reloads and not Ajax.

Best, Michael

Author:  samiam [ 20. Dec 2017, 22:54 ]
Post subject:  Re: Show only part of an iframe

Hi Michael,

Thank you for your reply and that information.

The interaction occurs by default on the website I'm grabbing the iframes from. I was just curious to know if splitting their view on my site will have an impact on their default behavior.

Here is an example of the calendar/schedule: https://powerhaussports.ezleagues.ezfacility.com/schedule.aspx

Thanks!

Author:  TinyWebGallery [ 21. Dec 2017, 00:06 ]
Post subject:  Re: Show only part of an iframe

I would not use 2 iframes here. Especially if you click on the schedule the whole view changes.
So you have 2 iframes that by default don't know each other...

Best, Michael

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