Some servers, because of
their normal behavior or because the developers ask for it, send back a message
when a form is submitted. This message is sent to the window object of the
browser (Document Object Model acceptation). This window object is either an
iframe (Internet Explorer/Netscape 6) or the main window (Netscape 4.x). In
this last case the message from the server will replace the whole content of
mainPage.
In order to avoid this
problem dFrameAPI copy forms submitted by Netscape 4.x into a hidden frame.
If the application contains
forms and will be used with Netscape 4.x this hidden frame has to be created with
a frameset whose code is the following:
<FRAMESET COLS=110%,*>
<FRAME FRAMEBORDER=0 NORESIZE SCROLLING=no SRC=urlForMainPage>
<FRAME NAME="buffer" FRAMEBORDER=0 SRC=urlForBlankPage>
</FRAMESET>"
urlForMainPage: The URL for
the mainPage of the application.
urlForBlankPage: MANDATORY:
The URL for some blank page so that the buffer frameset contains a document.
The name of the "right" frame, "buffer" is important as it will be used by dFrameAPI.