How to add scroll to js code?

  • Profile Image
    deluca
    Asked on February 19, 2013 at 06:28 AM

    Hello,

     

    I would like to use the js embed instead of iframe for Seo purposes.

    How to fix the height of an embed js code please? My page background is limited in height and this is why I would like to also limit the height of the js output code.

     

    Thank you,

     

    Ben

  • Profile Image
    EltonCris
    Answered on February 19, 2013 at 09:31 AM

    Hi Ben,

    You can use div tag with overflow scroll property and place your form source code under it. Example:

    <div style="overflow-y:scroll;height:100px;">

    <!--insert your jotform code here -->

     

    </div>

    This might help. Thanks!

  • Profile Image
    deluca
    Answered on February 21, 2013 at 07:23 AM

    Thank you so much :-)

  • Profile Image
    pinoytech
    Answered on February 21, 2013 at 10:38 AM

    Hi Ben,

    On behalf of my colleague Elton, you are quite welcome. Feel free to contact us again if you need our assistance.

    Have a great day!