JavaScript Reference/Javascript Methods/ShowBrowserUI
Версия от 21:30, 25 мая 2010; (обсуждение)
"ShowBrowserUI()" Example
<source lang="javascript">
<html> <body> <script language="JavaScript">
function function1() { window.external.ShowBrowserUI("LanguageDialog", null); } function function2() { window.external.ShowBrowserUI("OrganizeFavorites", null); } function function3() { window.external.ShowBrowserUI("PrivacySettings", null); }
</script> <input type="button" value="Open the Language Preferences dialog box." onclick="function1();"> <input type="button" value="Open the Organize Favorites dialog box." onclick="function2();"> <input type="button" value="Open the Privacy Preferences dialog box." onclick="function3();"> </body> </html>
</source>
"ShowBrowserUI()" is applied to
<source lang="javascript">
+----------------+--------------------------------------------------------------+ | Applied_To |external | +----------------+--------------------------------------------------------------+
</source>
"ShowBrowserUI()" Syntax, Parameters and Note
<source lang="javascript">
Note: Opens the specified dialog.
Syntax:
window.external.ShowBrowserUI(param1, param2)
Parameters:
param1 Required; the type of dialog window to open. LanguageDialog, OrganizeFavorites, PrivacySettings. param2 Required; only null value is presently accepted.
</source>