external.ShowBrowserUI
JavaScript -> Objekty -> External -> metóda ShowBrowserUI
Syntax
window.external.ShowBrowserUI(param1, param2)
Popis
Príkaz jazyka JavaScript
Opens the specified dialog.
- param1 Required; the type of dialog window to open. (LanguageDialog, OrganizeFavorites, PrivacySettings)
- param2 Required; only null value is presently accepted.
Príklad
<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>
<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>