showHelp Method

DHTML, HTML, & CSS

showHelp Method


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

Syntax

window.showHelp(sURL [, vContextID])

Parameters

sURLRequired. String that specifies the URL of the Help (.hlp) file to display.
vContextIDOptional. Variant that specifies a string or integer that indicates a context identifier in a Help file.

Return Value

No return value.

Remarks

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 the following:

   window.event.returnValue = false

Applies To

[ Object Name ]
PlatformVersion
Win16:
Win32:
Mac:
Unix:
WinCE:
Version data is listed when the mouse hovers over a link, or the link has focus.

window


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? write us!Internet Link

© 1999 microsoft corporation. all rights reserved. terms of useInternet Link.