Close

Account

Documentation

Forum

Menu

Insert code in index.html/php

  • Post count: 17
    thbode
    January 4, 2018 at 4:19 pm #27194

    Hi,
    the CSS you provided to me did not solve the problems with iFrame responsivity (“Gap below iFrame”). I have several problems with it, for mobile and desktop usage.

    But a programmer provided me with code for the index.html and an additional javascript, which works fine on a separate test page.

    My question now is how to get the snippets it into the file (index.php). I use Visual Composer for my homepage!

    That’s the html code:

    <body onLoad=”frameResize()”>

    <iframe src=”lok.html” id=”box”></iframe>
    <script type=”text/javascript” src=”iframeScript.js”></script>
    </body>

    Post count: 7182
    Adek
    January 15, 2018 at 5:30 pm #27620

    Hi thbode,

    Sorry for late reply.

    Actually, i’m not quite sure how the code above works. Maybe you can use Raw HTML element on Visual Composer in order to put the HTML code above into your homepage.

    Thank you

You must be logged in to reply to this topic.