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)
Started 11 years ago by jraitchi | 2 posts |
-
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 # -
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 #
Reply
You must log in to post.