Hi! Iam trying to modify a piece of code to make it work for netscape6.0. It was working fine with Netscape 4 and IE5.
p1.html:
---------
<SCRIPT LANGUAGE="JavaScript" SRC="P1.JS">
</SCRIPT>
<FORM NAME=FORM104TOP METHOD=POST ACTION="p11.jsp" TARGET=_self>
<INPUT TYPE=HIDDEN NAME=RC104TOP VALUE="TOP">
<INPUT TYPE=HIDDEN NAME=RC104NAME VALUE="P1">
<FRAMESET COLS="100%,*" FRAMEBORDER=0 >
<FRAME NAME=FRAMEP1 SRC="P1_104.html" SCROLLING=AUTO FRAMEBORDER=1>
</FRAMESET>
</FORM>
The above code doesn't work for 6.0. If I move the following two lines
<INPUT TYPE=HIDDEN NAME=RC104TOP VALUE="TOP">
<INPUT TYPE=HIDDEN NAME=RC104NAME VALUE="P1">
to the line after </FRAMESET>, it works in navigator 6.0. But in the P1.js file, it is not recognizing the following:
var pTop = eval('parent.document.FORM104TOP.RC104TOP');
Please give any suggestions to make it work on Navigator 6.0!
Thankyou!
p1.html:
---------
<SCRIPT LANGUAGE="JavaScript" SRC="P1.JS">
</SCRIPT>
<FORM NAME=FORM104TOP METHOD=POST ACTION="p11.jsp" TARGET=_self>
<INPUT TYPE=HIDDEN NAME=RC104TOP VALUE="TOP">
<INPUT TYPE=HIDDEN NAME=RC104NAME VALUE="P1">
<FRAMESET COLS="100%,*" FRAMEBORDER=0 >
<FRAME NAME=FRAMEP1 SRC="P1_104.html" SCROLLING=AUTO FRAMEBORDER=1>
</FRAMESET>
</FORM>
The above code doesn't work for 6.0. If I move the following two lines
<INPUT TYPE=HIDDEN NAME=RC104TOP VALUE="TOP">
<INPUT TYPE=HIDDEN NAME=RC104NAME VALUE="P1">
to the line after </FRAMESET>, it works in navigator 6.0. But in the P1.js file, it is not recognizing the following:
var pTop = eval('parent.document.FORM104TOP.RC104TOP');
Please give any suggestions to make it work on Navigator 6.0!
Thankyou!