Title: Any example of Scrollpane with embedded form in Netscape that works?

Anyone have an example of an embedded form in a scrollpane that works in Netscape?  In Netscape, I cannot type anything into the form fields.  I can paste text into it but the data is never posted. 

This is what I have which is based on the examples:

This works in explorer 5.X, I cannot get it to work in NS 4.77.  My OS is Windows 2K professional.

contents of test1.htm:

<html>
<head>
<title>DynAPI Distribution: LoadPanel Example</title>
<script language="Javascript" src=""../src/dynapi.js"></script>
<script language="Javascript">
....
</script>
<script language="Javascript">
DynAPI. {
        lp = new LoadPanel();
        lp.setHTML("no file loaded");

        lp.setSize(180,500); // height will be overwritten by default
        lp.setBgColor('yellow');

        counter = 0;
        var el = new EventListener();
        el. {
                status = 'got load event '+ counter++;
        }
        lp.addEventListener(el);

        scrollobj = new ScrollPane(lp)  // loadpanel will be set as the content
        scrollobj.setSize(200,150)
        scrollobj.moveTo(200,100)

        DynAPI.document.addChild(scrollobj)
        lp.setURL("test3.htm")
       
}
function submitForm()
{

        lp.doc.mainForm.submit();
}

//-->
</script>
</head>
<body bgcolor="#ffffff">

<p><a href=""javascript:lp.useILayer(true)">use" ILayer</a> Netscape
<br><a href=""javascript:lp.useILayer(false)">do" not use ILayer</a> Netscape (default)

<p><a href=""javascript:lp.useIFrame(true)">use" IFrame</a> IE (default)
<br><a href=""javascript:lp.useIFrame(false)">do" not use IFrame</a> IE


<p><a href=""javascript:0;" Form in ScrollPane</a>


</body>
</html>


contents of test3.htm:

<html>
<body>
<FORM NAME="mainForm" ACTION="http://www.codeave.com/asp/formtest.asp" METHOD="POST">
<INPUT TYPE="test" NAME="name"><br>
<INPUT TYPE="text" NAME="age"><br>
<INPUT TYPE="text" NAME="gender"><br>
<INPUT TYPE="text" NAME="married"><br>
<INPUT TYPE="text" NAME="continent"><br>
<INPUT TYPE="text" NAME="comments"><br>
</FORM>
</body>
</html>

Reply via email to