HTML CSS Reference/HTML Tag Reference/applet

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

"applet" CSS Attributes and JavaScript Style Properties

Names noted with an asterisk (*) are JavaScript properties only.
+----------------+--------------------------------------------------------------+
| CSS            |accelerator                     background-position-x         |
| Attributes     |background-position-y           behavior                      |
| and            |bottom                          clear                         |
| JavaScript     |clip                            color                         |
| Style          |cursor                          display                       |
| Properties     |float                           font-size                     |
|                |hasLayout(*)                    height                        |
|                |layout-grid                     layout-grid-mode              |
|                |left                            overflow                      |
|                |overflow-x                      overflow-y                    |
|                |padding                         padding-bottom                |
|                |padding-left                    padding-right                 |
|                |padding-top                     pixelBottom(*)                |
|                |pixelHeight(*)                  pixelLeft(*)                  |
|                |pixelRight(*)                   pixelTop(*)                   |
|                |pixelWidth(*)                   posBottom(*)                  |
|                |posHeight(*)                    position                      |
|                |posLeft(*)                      posRight(*)                   |
|                |posTop(*)                       posWidth(*)                   |
|                |right                           scrollbar-3dlight-color       |
|                |scrollbar-arrow-color           scrollbar-base-color          |
|                |scrollbardarkshadow-color       scrollbar-face-color          |
|                |scrollbar-highlight-color       scrollbar- shadow-color       |
|                |scrollbar-track-color           styleFloat(*)                 |
|                |text-autospace                  text-underline- position      |
|                |top                             visibility                    |
|                |width                           word-wrap                     |
|                |z-index                         zoom                          |
+----------------+--------------------------------------------------------------+



"applet" Event Handlers

+----------------+--------------------------------------------------------------+
| Event          |onActivate                      onAfterUpdate                 |
| Handlers       |onBeforeActivate                onBeforeCut                   |
|                |onBeforeDeactivate              onBeforeEditFocus             |
|                |onBeforePaste                   onBeforeUpdate                |
|                |onBlur                          onCellChange                  |
|                |onClick                         onContextMenu                 |
|                |onControlSelect                 onCut                         |
|                |onDataAvailable                 onDatasetChanged              |
|                |onDatasetComplete               onDblClick                    |
|                |onDeactivate                    onFocus                       |
|                |onFocusIn                       onFocusOut                    |
|                |onHelp                          onKeyDown                     |
|                |onKeyPress                      onKeyUp                       |
|                |onLoad                          onLoseCapture                 |
|                |onMouseDown                     onMouseEnter                  |
|                |onMouseLeave                    onMouseMove                   |
|                |onMouseOut                      onMouseOver                   |
|                |onMouseUp                       onMouseWheel                  |
|                |onMove                          onMoveEnd                     |
|                |onMoveStart                     onPaste                       |
|                |onPropertyChange                onReadyStateChange            |
|                |onResize                        onResizeEnd                   |
|                |onResizeStart                   onRowEnter                    |
|                |onRowExit                       onRowsDelete                  |
|                |onRowsInserted                  onScroll                      |
+----------------+--------------------------------------------------------------+



"applet" Example

    
<html>
<head>
<title>applet element example</title>
</head>
<body>
    <applet code="YourClass.class" width="350" height="260">
        <param name="image"     value="yourImage.jpg">
        <param name="border"    value="0">
    </applet>
</body>
</html>



"applet" HTML Attributes

+----------------+--------------------------------------------------------------+
| HTML           |accesskey                       align                         |
| Attributes     |alt                             archive                       |
|                |class                           code                          |
|                |codebase                        datafld                       |
|                |datasrc                         height                        |
|                |hidefocus                       hspace                        |
|                |id                              lang                          |
|                |language                        name                          |
|                |src                             style                         |
|                |tabindex                        title                         |
|                |unselectable                    vspace                        |
|                |width                                                         |
+----------------+--------------------------------------------------------------+



"applet" JavaScript Collections

+----------------+--------------------------------------------------------------+
| JavaScript     |all                             attributes                    |
| Collections    |behaviorUrns                    childNodes                    |
|                |children                                                      |
+----------------+--------------------------------------------------------------+



"applet" JavaScript Methods

+----------------+--------------------------------------------------------------+
| JavaScript     |addBehavior                     appendChild                   |
| Methods        |applyElement                    attachEvent                   |
|                |blur                            clearAttributes               |
|                |click                           cloneNode                     |
|                |componentFromPoint              contains                      |
|                |detachEvent                     fireEvent                     |
|                |focus                           getAdjacentText               |
|                |getAttribute                    getAttributeNode              |
|                |getBoundingClientRect           getClientRects                |
|                |getElementsByTagName            hasChildNodes                 |
|                |insertAdjacentElement           insertBefore                  |
|                |mergeAttributes                 namedRecordset                |
|                |normalize                       releaseCapture                |
|                |removeAttribute                 removeAttributeNode           |
|                |removeBehavior                  removeChild                   |
|                |removeExpression                replaceAdjacentText           |
|                |replaceChild                    scrollIntoView                |
|                |setActive                       setAttribute                  |
|                |setAttributeNode                setCapture                    |
|                |setExpression                   swapNode                      |
+----------------+--------------------------------------------------------------+



"applet" JavaScript Objects

+----------------+--------------------------------------------------------------+
| JavaScript     |currentStyle                    runtimeStyle                  |
| Objects        |style                                                         |
+----------------+--------------------------------------------------------------+



"applet" JavaScript Properties

+----------------+--------------------------------------------------------------+
| JavaScript     |accessKey                       align                         |
| Properties     |alt                             altHTML                       |
|                |archive                         canHaveHTML                   |
|                |className                       clientHeight                  |
|                |clientLeft                      clientTop                     |
|                |clientWidth                     code                          |
|                |codeBase                        cursor                        |
|                |dataFld                         datasrc                       |
|                |dir                             firstChild                    |
|                |hasLayout                       height                        |
|                |hideFocus                       hspace                        |
|                |id                              innerHTML                     |
|                |isContentEditable               isDisabled                    |
|                |isMultiLine                     isTextEdit                    |
|                |lang                            language                      |
|                |lastChild                       name                          |
|                |nextSibling                     nodeName                      |
|                |nodeType                        nodeValue                     |
|                |object                          offsetHeight                  |
|                |offsetLeft                      offsetParent                  |
|                |offsetTop                       offsetWidth                   |
|                |outerHTML                       outerText                     |
|                |ownerDocument                   parentElement                 |
|                |parentNode                      parentTextEdit                |
|                |previousSibling                 readyState                    |
|                |scopeName                       scrollHeight                  |
|                |scrollLeft                      scrollTop                     |
|                |scrollWidth                     sourceIndex                   |
|                |src                             tabIndex                      |
|                |tagName                         tagUrn                        |
|                |title                           uniqueID                      |
|                |vspace                          width                         |
+----------------+--------------------------------------------------------------+



"applet" Microsoft Behaviors

+----------------+--------------------------------------------------------------+
| Microsoft      |clientCaps                      download                      |
| Behaviors      |homePage                                                      |
+----------------+--------------------------------------------------------------+



"applet" Syntax and Note

Note:
Used to invoke a Java application. 
Deprecated.
Use <object> element instead.
   
Syntax:
    
<applet attributes events> . . . </applet>