JavaScript Reference/Javascript Objects/Dialog Helper
Версия от 18:30, 25 мая 2010; (обсуждение)
Содержание
"Dialog Helper" Example
<html>
<body>
<object id="myDhelper"
classid="clsid:3050f819-98b5-11cf-bb82-00aa00bdce0b">
</object>
<button onclick="myDhelper.chooseColorDlg();">Show color dialog</button>
</body>
</html>
"Dialog Helper" JavaScript Collections
+----------------+--------------------------------------------------------------+
| JavaScript |blockFormats fonts |
+----------------+--------------------------------------------------------------+
"Dialog Helper" JavaScript Methods
+----------------+--------------------------------------------------------------+
| JavaScript |chooseColorDlg getCharset |
+----------------+--------------------------------------------------------------+
"Dialog Helper" Syntax and Note
Note:
Cccess to the color dialog box.
You can create this object using the <object> element, and
you can reference it in JavaScript through its id attribute value.
Syntax:
document.all.dialogHelperID.memberName