JavaScript Reference/Javascript Objects/Dialog Helper

Материал из Web эксперт
Перейти к: навигация, поиск

"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