The JSV_documentWrite
function displays any number of expressions
in the named document window.
You can specify any JavaScript expression with the JSV_documentWrite
function, including numeric, string, or logical expressions.
JSV_documentWrite(winName, expW)
n/a
The JSV_documentWrite function uses the following arguments.
Argument | Description |
winName |
This is the target name of the new window.
A string specifying the window name to use in the TARGET attribute of a
FORM or A tag. winName can contain only
alphanumeric or underscore (_) characters.
Used to load another document into the window with JSV_openWindow
or manipulate the document/window with other JavaScript Vision
window management functions.
|
expW | The HTML expressions that is to be written to a document in the named window. |
Similar to the
write
method of
document
but used within the context of JavaScript Vision window management.
n/a
The following lines of code
function myWindowTest() {
myWindow = "AT_Sam_Jose"
var dummy = JSV_openWindow(myWindow, '', 'menubar=1,status=1,scrollbars=1,resizable=1,width=580,height=240,left=40,top=40,screenX=40,screenY=40');
JSV_documentWrite(myWindow, '<P ALIGN="CENTER">What does the A. T. stand for in A. T. Sam Jose? Atcheson Topeka.</P>');
JSV_documentWrite(myWindow, '<P ALIGN="CENTER">Cowabunga!</P>');
JSV_documentClose(myWindow);
}
produce a new window to which the HTML information is written
Copyright © 1999-2000 Roaring Fork Software. All rights reserved.