Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1181454

    Hello,

    I encountered a problem that I can’t seem to solve myself:

    At https://hellhof-kronberg.de/#veranstaltungen if you scroll down to the “DIREKT BEI UNS BUCHEN” section of the events, there is an iframe with an eventim booking system. If you click on any links within the iframe, they work, but the main page is being reset to a scrolling position near the top of the page. It seems the page forgets its scroll position and I guess it has something to do with the iframe resizing after the click, but I can’t figure out what to do to prevent this unintended scrolling.

    Can you please help?

    Thanks a lot,
    Florian

    • This topic was modified 4 years, 9 months ago by fprabst.
    #1181535

    Hey fprabst,

    This is unfortunately due the fact the the iFrame is in use. It reloads the entire browser. A function like that is better suited with an AJAX solution so the browser does not have to refresh.

    Best regards,
    Jordan Shannon

    #1181644

    Hey Jordan,

    thanks for the quick reply!

    Best regards,
    Florian

    #1182089

    Hi,

    No problem. Did you need additional help with this topic?

    Best regards,
    Jordan Shannon

    #1182101

    Hi,

    can we leave it open for the moment until I could find the root cause of the problem? The content provider for the iframe claims that another iframe is interfering and their iframe is not to blame. I’d love to get to the bottom of it, but if you think that’s too particular and not interesting for similar issues, you can certainly close the thread.

    Thanks,
    Florian

    #1182328

    The code block provided by Eventim is this:

    <div style=”padding: 0;”><iframe id=”eventim-light-iframe-v2-5e207ac7a5bbfa00015c7c8b” src=”https://www.eventim-light.com/de/a/5e207ac7a5bbfa00015c7c8b/iframe/&#8221; width=”100%” scrolling=”no” frameborder=”0″ name=”eventim-light-iframe-v2-5e207ac7a5bbfa00015c7c8b”></iframe><script type=”text/javascript” src=”https://www.eventim-light.com/de/a/5e207ac7a5bbfa00015c7c8b/public/iframe/el-shop.js”></script></div&gt;

    The el-shop.js script at the end which takes care of the resizing of the (cross domain) content seems to be the culprit.
    Waiting to hear back from them.

    #1182473

    Hi,

    Thanks for the update. We’ll leave this thread open for you.

    Best regards,
    Rikard

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.