JavaScript Reference/Javascript Methods/showHelp

Материал из Web эксперт
Перейти к: навигация, поиск

"showHelp()" Example

    
<html>
<body>
<script language="JavaScript">
    function function1() {
        window.showHelp("http://www.wbex.ru");
    }
</script>
<input type="button" value="Open the help document" onclick="function1();">
</body>
</html>



"showHelp()" is applied to

+----------------+--------------------------------------------------------------+
| Applied_To     |window                                                        |
+----------------+--------------------------------------------------------------+



"showHelp()" Syntax, Parameters and Note

Note:
Opens a help window with the specific help file.
    
Syntax:
    
window.showHelp(param1, param2)

Parameters:
    param1   Required; the URL of the help file, ending with the .hlp extension.
    param2   Optional; a context identifier in the help file.