• Hindrik

    (@hindrik)


    Hi There!
    I have a problem with an iframe on a website of a client of mine. I have no clue, but sometimes it is just working and sometimes it is not. The iframe should display an availability calendar for accommodations.
    This is the code provided by the company that handles the calendar.
    —–
    <script type=”text/javascript”>
    var myEventMethod =
    window.addEventListener ? “addEventListener” : “attachEvent”;
    var myEventListener = window[myEventMethod];
    var myEventMessage =
    myEventMethod == “attachEvent” ? “onmessage” : “message”;
    myEventListener(myEventMessage, function (e) {
    if (e.data === parseInt(e.data))
    document.getElementById(‘my-iframe-id’).height = (e.data +30) + “px”;
    }, false);
    </script>
    <iframe frameborder=”0″ id=”my-iframe-id” width=”100%”
    src=”https://www.vakantiehuis-frankrijk.nl/vakantiehuisfrankrijk…
    “></iframe>

    Deze kalender is mogelijk gemaakt door vakantiehuis-frankrijk.nl
    —–
    However, when visiting our website (http://domainedubonheur.nl/beschikbaarheid/), the calendar does not display. It worked a few times but then it doesn’t again. I have no clue what’s wrong with it. The developer of the frame has no clue, so maybe you guys see the problem.
    Thank you

Viewing 1 replies (of 1 total)
  • SivapriyaJi

    (@sivapriyaji)

    I have this problem too. For some reason iframes are not working, no matter what plugin or theme. I’ve been searching endlessly for the solution. If I find it, I will let you know.

Viewing 1 replies (of 1 total)
  • The topic ‘iFrame not working’ is closed to new replies.