showHelp Method

Internet Development Index

Displays a Help file. This method can be used with Microsoft HTML Help.

Syntax

window.showHelp(sURL [, vContextID])

Parameters

sURL Required. String爐hat specifies the URL of the file to be displayed as help.
vContextID Optional. Variant爐hat specifies a string or integer that indicates a context identifier in a Help file.

Return Value

No return value.

Remarks

Only files of types .chm and .htm are supported as help files.

When implementing this method, a second Help dialog box appears when the user presses F1 or clicks Help on the menu bar. You can prevent the default Help dialog box from appearing by setting returnValue to false.

Standards Information

There is no public standard that applies to this method.

Applies To

window