Determines if any child windows are open that have the CLOSEBEFOREPARENT
option set.
If this option is set and an attempt is made to go to another page,
then the child window is brought forward for the user to close before leaving the parent.
JSV_hyperLink(URL [, replace])
n/a
The JSV_hyperLink function uses the following arguments.
Argument | Description |
URL |
A string specifying the relative or absolute URL of the file to be
loaded into the pop-up window.
(See the
Location
object for a description of the URL components.)
|
replace | Optional. A Boolean value, either true (set this to true only if using Navigator 3+ or Internet Explorer 4+) or false. If true, then the current history entry is replaced with the new page being loaded (i.e., the last location in the browser's history object is overwritten by the new location). Default value is false. |
Note:
If the user decides to navigate to another Web page using any other method
(e.g., by clicking the browser's Back, Forward or Home buttons)
than that provided by a Web page
(e.g., JSV_hyperLink
or
JSV_onSubmit
),
then there is no way to inhibit the loading of the new Web page.
The
onUnload
event handler, is used primarily to perform minimal shutdown processing when the user exits a Web page
(e.g., closing child windows), and cannot prevent the unloading of the Web page.
<A HREF="javascript:JSV_hyperLink('testpage.htm');"
onMouseOver="window.status='Click here to go to selected page'; return true;"
onMouseOut="window.status=''; return true;">Click here</A>
n/a
The following lines of code
var myWindow = "Taco_Bell";
function windowTest() {
var dummy = JSV_openWindow(myWindow, 'hyperlink.htm', 'menubar=1,status=1,scrollbars=1,resizable=1,width=580,height=240,left=20,top=20,screenX=20,screenY=20');
JSV_focusWindow(myWindow);
}
produce
Copyright © 1999-2000 Roaring Fork Software. All rights reserved.