This forum is no longer open and is for reading/searching only.

Please use our new MachForm Community Forum instead.

MachForm Community Forums » MachForm 3

When embedding, define size (so slow-loading pages are laid out correctly)


  1. jraitchi
    Member

    My question is probably best explained by the "problem" we have on our website. We embed some small forms (just name and email boxes), and while the page is loading, the size of the form isn't defined in the HTML so other elements load first, and then are pushed down the page once the form loads. Example: www.languageconvo.com/howitworks/thebasics.html

    The form is the name/email boxes, and as the form loads after the other elements on the page, the links (The Basics, Course Materials, etc.) are pushed down.

    Other than creating a div container for a form to define it's size (which would screw up the dynamic ability of the embedding), is there a way to define its size?

    Thanks, as always, you guys are awesome

    Posted 11 years ago #
  2. yuniar

    Hmm... I think this is possible. Part of your form code is this:

    <div id="mf_placeholder"></div>

    You can define the height there, something like this:

    <div id="mf_placeholder" style="height: 140px"></div>

    That should set the initial height (while your form is loading) to 140px.


    MachForm Founder

    Posted 11 years ago #

RSS feed for this topic

Reply