showHelpshowHelp*
*



Contents  *



Index  *Topic Contents
*Previous Topic: setTimeout
*Next Topic: showModalDialog

showHelp

Description

Displays a Help file. This method can be used with WinHelp or with HTMLHelp.

Syntax

object.showHelp(URL [, arguments])

ParameterDescription
URL String specifying the URL of the document to display.
contextID Optional. Identifier of a help context ID in a Help file. Required if displaying an .hlp file.

Return Value

No return value.

Remarks

When implementing this method, a second Help dialog box will appear if the user presses the F1 key or clicks Help from the menu bar. You can prevent the default Help dialog box from appearing by setting window.event.returnValue=false.

The contextID parameter is needed for calling Windows Help files. Without a valid contextID, Help does not load when the URL specifies a Windows Help file.

Applies To

window


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.