JavaScript Reference/Javascript Methods/showHelp

Материал из Web эксперт
Версия от 11:22, 26 мая 2010; Admin (обсуждение | вклад) (1 версия)
(разн.) ← Предыдущая | Текущая версия (разн.) | Следующая → (разн.)
Перейти к: навигация, поиск

"showHelp()" Example

   <source lang="javascript">
   

<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>


     </source>
   
  


"showHelp()" is applied to

   <source lang="javascript">

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

     </source>
   
  


"showHelp()" Syntax, Parameters and Note

   <source lang="javascript">

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. 
   
     
     </source>