JavaScript Reference/Javascript Methods/ShowBrowserUI — различия между версиями
Admin (обсуждение | вклад) м (1 версия) |
|
(нет различий)
|
Текущая версия на 08:22, 26 мая 2010
"ShowBrowserUI()" Example
<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>
"ShowBrowserUI()" is applied to
+----------------+--------------------------------------------------------------+
| Applied_To |external |
+----------------+--------------------------------------------------------------+
"ShowBrowserUI()" Syntax, Parameters and Note
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.