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

Auto Scroll On Interaction
https://www.tinywebgallery.com/forum/viewtopic.php?f=21&t=5513
Page 1 of 1

Author:  NigelJ [ 21. Nov 2018, 02:54 ]
Post subject:  Auto Scroll On Interaction

I have just started to use Advanced iFrame and it is working perfectly. I was amazed by how easy it was to set-up.
I am inserting an iFrame into a number of different pages within my website. I am using Elementor short code widget in WordPress.

Within each iFrame I am showing an entire website page and I would like to have it automatically scroll on interaction by the visitor. Preferably it would scroll when the visitor moves the mouse onto the iFrame area or the second choice would be for the content of the iFrame to automatically scroll after loading.

Is this possible? If yes, which is the best way to do this? Would I add some code to the short code or is this a change within Advanced iFrame settings?

I very much look forward to help with this little problem.

Thanks in advance.

Author:  TinyWebGallery [ 22. Nov 2018, 17:03 ]
Post subject:  Re: Auto Scroll On Interaction

Where should is scroll to? I have a feature that is scrolls to the top of the page or the iframe if a user goes to the next page.

Best, Michael

Author:  NigelJ [ 22. Nov 2018, 22:03 ]
Post subject:  Re: Auto Scroll On Interaction

Hello Michael, thank you for your response. :D

I made a short video of another site where they are doing exactly what I am wanting to do.

https://youtu.be/O2x0HTAAxDo

1.) When the user moves their mouse over the iFrame the content of the iFrame automatically scrolls. The user does not scroll, it is automatic.
2.) Then, when the user moves the mouse away the content of the iFrame automatically returns to the top.

Is this possible? If yes, which is the best way to do this? Would I add some code to the short code or is this a change within Advanced iFrame settings?

Best regards. Nigel.

Author:  TinyWebGallery [ 28. Nov 2018, 20:06 ]
Post subject:  Re: Auto Scroll On Interaction

I would see this as a feature you implement IN the iframe. You cannot do this outside if you are not on the same domain.
So how is your setup?

Best, Michael

Author:  NigelJ [ 28. Nov 2018, 23:50 ]
Post subject:  Re: Auto Scroll On Interaction

I am on the same domain. Can this be done like in the video?

Regards, Nigel.

Author:  TinyWebGallery [ 30. Nov 2018, 02:53 ]
Post subject:  Re: Auto Scroll On Interaction

I would say yes. Not really sure how yet but I think with a couple of events and Js a custom solution should be possible. Please contact me directly to continue...

Best, Michael

Author:  NigelJ [ 1. Dec 2018, 03:12 ]
Post subject:  Re: Auto Scroll On Interaction

Thanks Michael, how can I contact you directly?

Author:  TinyWebGallery [ 1. Dec 2018, 18:10 ]
Post subject:  Re: Auto Scroll On Interaction

http://www.tinywebgallery.com/en/about.php

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