HTML CSS Reference/HTML Tag Reference/applet — различия между версиями
Admin (обсуждение | вклад) м (1 версия) |
|
(нет различий)
|
Версия 12:21, 26 мая 2010
Содержание
- 1 "applet" CSS Attributes and JavaScript Style Properties
- 2 "applet" Event Handlers
- 3 "applet" Example
- 4 "applet" HTML Attributes
- 5 "applet" JavaScript Collections
- 6 "applet" JavaScript Methods
- 7 "applet" JavaScript Objects
- 8 "applet" JavaScript Properties
- 9 "applet" Microsoft Behaviors
- 10 "applet" Syntax and Note
"applet" CSS Attributes and JavaScript Style Properties
<source lang="html4strict">
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 | +----------------+--------------------------------------------------------------+
</source>
"applet" Event Handlers
<source lang="html4strict">
+----------------+--------------------------------------------------------------+ | 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 | +----------------+--------------------------------------------------------------+
</source>
"applet" Example
<source lang="html4strict">
<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>
</source>
"applet" HTML Attributes
<source lang="html4strict">
+----------------+--------------------------------------------------------------+ | 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 | +----------------+--------------------------------------------------------------+
</source>
"applet" JavaScript Collections
<source lang="html4strict">
+----------------+--------------------------------------------------------------+ | JavaScript |all attributes | | Collections |behaviorUrns childNodes | | |children | +----------------+--------------------------------------------------------------+
</source>
"applet" JavaScript Methods
<source lang="html4strict">
+----------------+--------------------------------------------------------------+ | 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 | +----------------+--------------------------------------------------------------+
</source>
"applet" JavaScript Objects
<source lang="html4strict">
+----------------+--------------------------------------------------------------+ | JavaScript |currentStyle runtimeStyle | | Objects |style | +----------------+--------------------------------------------------------------+
</source>
"applet" JavaScript Properties
<source lang="html4strict">
+----------------+--------------------------------------------------------------+ | 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 | +----------------+--------------------------------------------------------------+
</source>
"applet" Microsoft Behaviors
<source lang="html4strict">
+----------------+--------------------------------------------------------------+ | Microsoft |clientCaps download | | Behaviors |homePage | +----------------+--------------------------------------------------------------+
</source>
"applet" Syntax and Note
<source lang="html4strict">
Note: Used to invoke a Java application. Deprecated. Use <object> element instead.
Syntax:
<applet attributes events> . . . </applet>
</source>