JitseSchaafsma Posted July 31, 2003 Posted July 31, 2003 So i came into bij trouble with iframes (see previous post), spend to much time in trouble shooting. I still nee to create multiple records in one instance, so i need frames I know some of you disagree with frames. Anyway, for those of you that consider this is some sample code (any improvement comments are welcome because i am sure no expert) <FRAMESET ROWS="250,*" FRAMEBORDER="0" border="0" framespacing="0" > <FRAME NAME="onder" SRC="onder.htm" NORESIZE SCROLLING="no"> <FRAME NAME="boven" SRC="FMPro?-DB=test.fp5&-lay=L1&-Format=boven.htm&-Error=boven.htm&-Token.0=6969&veld=1&-Find" NORESIZE SCROLLING="no"> </FRAMESET> onder.htm <FORM NAME="form1"> <INPUT TYPE="TEXT" NAME="v1"><BR> <INPUT TYPE="TEXT" NAME="v2"><BR> <INPUT TYPE="TEXT" NAME="v3"><BR> <INPUT TYPE="TEXT" NAME="v4"><BR> <INPUT TYPE="TEXT" NAME="v5"><BR> </FORM> </BODY> boven.htm <SCRIPT LANGUAGE=javascript> function initpage() { var vv="[FMP-CurrentTime:long]" parent.boven.document.form0.v1.value=vv parent.boven.document.form0.v2.value="[FMP-CurrentToken:0]" parent.boven.document.form0.v3.value="[FMP-CurrentRecordCount]" parent.boven.document.form0.v4.value="[FMP-CurrentFoundCount]" parent.boven.document.form0.v5.value="[FMP-FIELD:veld]" top.onder.document.form1.v1.value=vv parent.onder.document.form1.v2.value="[FMP-CurrentToken:0]" parent.onder.document.form1.v3.value="[FMP-CurrentRecordCount]" parent.onder.document.form1.v4.value="[FMP-CurrentFoundCount]" parent.onder.document.form1.v5.value="[FMP-FIELD:veld]" } </SCRIPT> <FORM NAME="form0"> <INPUT TYPE="TEXT" NAME="v1"><BR> <INPUT TYPE="TEXT" NAME="v2"><BR> <INPUT TYPE="TEXT" NAME="v3"><BR> <INPUT TYPE="TEXT" NAME="v4"><BR> <INPUT TYPE="TEXT" NAME="v5"><BR> </FORM> </BODY>
Recommended Posts
This topic is 7863 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now