Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum https://www.tinywebgallery.com/forum/ |
|
iframe not scrolling with page https://www.tinywebgallery.com/forum/viewtopic.php?f=21&t=4404 |
Page 1 of 1 |
Author: | ideenstart [ 30. Aug 2017, 13:40 ] |
Post subject: | iframe not scrolling with page |
Hi ! I have implemented an iframe with AIP here: https://www.energy4u.de/service/umzugservice/ (the white form...). The same form has been implemented in Typo3 as iframe and scrolls fine: https://www.rhenag.de/service/umzugsservice/. Parameter scrolling="yes" is set ! Any ideas what I can do to make the iframe scrollable ? Thanks Volker |
Author: | TinyWebGallery [ 30. Aug 2017, 21:32 ] |
Post subject: | Re: iframe not scrolling with page |
Have you changed something? I don't have a scrollbar on both pages as the iframe does fit. The parent page has a normal scrollbar. Can you give me more details? Best, Michael |
Author: | ideenstart [ 31. Aug 2017, 10:53 ] |
Post subject: | Re: iframe not scrolling with page |
Hi Michael ! No I haven't changed anything - the problem is still there - I just have been unclear in describing the problem To make it clear: If you place the cursor over the iframe the page won't scroll with Trackpad, Mousewheel or whatever! If you place the cursor right or left next to the iframe the page scrolls ! On the other page even with the cursor on the iframe you can scroll ... That's what I meant with "any ideas what I can do to make the iframe scrollable ?" Thanks Tom |
Author: | TinyWebGallery [ 31. Aug 2017, 17:41 ] |
Post subject: | Re: iframe not scrolling with page |
can you try to disable the usage of post messages. go to the "external workaround" tab. There you can select to use post message or iframe for communication. Use iframe! Because the plugin does get messages from your iframe which cause a Javascript error: Uncaught SyntaxError: Unexpected token < (index):1 Uncaught SyntaxError: Unexpected token i in JSON at position 1 at JSON.parse (<anonymous>) at aiProcessMessage (ai.js?ver=282212:1304) at receiveMessageadvanced_iframe ((index):752) I don't know if this fixes the srcolling but first this error should be solved. Best, Michael |
Author: | ideenstart [ 1. Sep 2017, 10:19 ] |
Post subject: | Re: iframe not scrolling with page |
Hi Michael ! The error is fixed ! But it still doesn't scroll :-/ Any more ideas ? Thanks Tom |
Author: | TinyWebGallery [ 1. Sep 2017, 13:01 ] |
Post subject: | Re: iframe not scrolling with page |
I think I found your problem. It is a style of your parent page: <html class="js" lang="de-DE" prefix="og: http://ogp.me/ns#" style="overflow-y: hidden;"> if you remove the style="overflow-y: hidden;" it does scroll. Can you fix this? If not you can modify the parent page dynamically with the plugin . Advanced tab -> modify the parent page |
Author: | ideenstart [ 4. Sep 2017, 11:49 ] |
Post subject: | Re: iframe not scrolling with page |
Hi Michael ! Do you remember on which page you have found that? I've waited for the reply from the guy that delivers the iframe content, and now he says he can't find that code and I can't find it, too ! On every page I've looked at the code is: Code: <html class="no-js" lang="de-DE" prefix="og: http://ogp.me/ns#"> Is this still a problem ? But - even with the changed code the iframe won't scroll ! Do you think this code still has to be removed ? Thanks Tom |
Author: | TinyWebGallery [ 5. Sep 2017, 16:51 ] |
Post subject: | Re: iframe not scrolling with page |
Seems it is added dynamically on the page you posted. If I go to the page and view the source code it is not there! But if I then inspect it it is there. This means some Javascript does add this. So you either find the Javascript that add this or you use my plugin to also dynamically change this and set the style to scroll. Check the advanced features -> modify the parent. There are several options you can do this. Best, Michael |
Page 1 of 1 | All times are UTC + 1 hour [ DST ] |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |