Using the following code:
<a onclick="NewItem2(event, this.href); return false;" href="your">https://mywebsite/_layouts/listform.aspx?PageType=8&ListId={3EDFF639-D37D-49F9-8140-1B46DBC2FC00}&RootFolder=">your link name</a>
It opens into an infopath form on a sharepoint list. The dialog opens, but it is cropped and cannot scroll. I have searched for hours to get an answer and am getting frustrated. Help!