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

Browser Back Button Functionality
https://www.tinywebgallery.com/forum/viewtopic.php?f=21&t=4382
Page 1 of 1

Author:  jvform [ 16. Jul 2017, 20:23 ]
Post subject:  Browser Back Button Functionality

Hi! Having a problem with one of my iFrames, and am wondering if there is a fix within Advanced iFrames.

Problem: On my site, the back button (in the browser) is acting on the iFrame, requiring a user to click it multiple times to go "back" to the previous page as expected.

How to reproduce:

1. Go to jvform.com/thefarmsoho

2. In any of the pricing blocks, click "BOOK A TOUR" - this will load a "flyout" panel with an iFrame for Calendly.

3. Close the flyout

4. Navigate to a new page (Event Space)

5. Click the back button in the browser - it will not take you back to the homepage as would be expected by a user.

I have searched a lot and have tried several solutions unsuccessfully - if there is any way to fix this within Advanced iFrames that would be ideal!

Author:  TinyWebGallery [ 17. Jul 2017, 17:00 ]
Post subject:  Re: Browser Back Button Functionality

There is no solution within the plugin. You could try to modify the browser history in this case.
https://developer.mozilla.org/en-US/docs/Web/API/History_API. There you can maybe remove the entries in the history you don't like.

Best, Michael

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