HTML CSS Reference/HTML Tag Reference/object

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

"object" CSS Attributes and JavaScript Style Properties

   <source lang="html4strict">

Names noted with an asterisk (*) are JavaScript properties only. +----------------+--------------------------------------------------------------+ | CSS |background-position-x background-position-y | | Attributes |behavior border | | and |border-bottom border-bottom-color | | JavaScript |border-bottom-style border-bottom-width | | Style |border-color border- left | | Properties |border-left-color border-left-style | | |border-left-width border-right | | |border- right-color border-right-style | | |border-right-width border-style | | |border-top border-top-color | | |border-top-style border-top-width | | |border-width bottom | | |clear clip | | |cursor direction | | |display float | | |hasLayout(*) height | | |layout-grid layout- grid-mode | | |left margin | | |margin-bottom margin-left | | |margin-right margin-top | | |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 | | |scrollbar-darkshadow-color scrollbar-face-color | | |scrollbar-highlight-color scrollbar-shadow-color | | |scrollbar-track-color styleFloat(*) | | |text-autospace text- underline-position | | |top unicode-bidi | | |visibility word-wrap | | |zoom | +----------------+--------------------------------------------------------------+

     </source>
   
  


"object" Event Handlers

   <source lang="html4strict">

+----------------+--------------------------------------------------------------+ | Event |onActivate onAfterUpdate | | Handlers |onBeforeDeactivate onBeforeEditFocus | | |onBeforeUpdate onBlur | | |onCellChange onClick | | |onControlSelect onDataAvailable | | |onDatasetChanged onDatasetComplete | | |onDblClick onDeactivate | | |onDrag onDragEnd | | |onDragEnter onDragLeave | | |onDragOver onDragStart | | |onDrop onError | | |onErrorUpdate onFocus | | |onHelp onKeyDown | | |onKeyPress onKeyUp | | |onLoad onLoseCapture | | |onMouseDown onMouseMove | | |onMouseOut onMouseOver | | |onMouseUp onMove | | |onMoveEnd onMoveStart | | |onPropertyChange onReadyStateChange | | |onResize onResizeEnd | | |onResizeStart onRowEnter | | |onRowExit onRowsDelete | | |onRowsInserted onScroll | | |onSelectStart | +----------------+--------------------------------------------------------------+

     </source>
   
  


"object" Example

   <source lang="html4strict">
   

<html>

<OBJECT CLASSID="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95"> ActiveX control failed to load! -- Please check browser security settings. </OBJECT>

</html>


     </source>
   
  


"object" HTML Attributes

   <source lang="html4strict">

+----------------+--------------------------------------------------------------+ | HTML |accesskey align | | Attributes |alt archive | | |border class | | |classid code | | |codebase codetype | | |contenteditable data | | |declare dir | | |height hidefocus | | |hspace id | | |lang language | | |name standby | | |style tabindex | | |title type | | |unselectable usemap | | |vspace width | +----------------+--------------------------------------------------------------+

     </source>
   
  


"object" JavaScript Collections

   <source lang="html4strict">

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

     </source>
   
  


"object" JavaScript Methods

   <source lang="html4strict">

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

     </source>
   
  


"object" JavaScript Objects

   <source lang="html4strict">

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

     </source>
   
  


"object" JavaScript Properties

   <source lang="html4strict">

+----------------+--------------------------------------------------------------+ | JavaScript |accessKey align | | Properties |alt altHTML | | |archive BaseHref | | |border canHaveChildren | | |canHaveHTML classid | | |className clientHeight | | |clientLeft clientTop | | |clientWidth code | | |codeBase codeType | | |cursor data | | |declare dir | | |disabled fieldDelim | | |firstChild form | | |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 | | |recordset scopeName | | |scrollHeight scrollLeft | | |scrollTop scrollWidth | | |sourceIndex standby | | |tabIndex tagName | | |tagUrn title | | |type uniqueID | | |useMap vspace | | |width | +----------------+--------------------------------------------------------------+

     </source>
   
  


"object" Microsoft Behaviors

   <source lang="html4strict">

+----------------+--------------------------------------------------------------+ | Microsoft |clientCaps download | | Behaviors |homePage httpFolder | | |saveFavorite saveHistory | | |saveSnapshot userData | +----------------+--------------------------------------------------------------+

     </source>
   
  


"object" Microsoft Filters

   <source lang="html4strict">

+----------------+--------------------------------------------------------------+ | Microsoft |Alpha Barn | | Filters |BasicImage BlendTrans | | |Blinds Blur | | |CheckerBoard Chroma | | |Compositor DropShadow | | |Emboss Engrave | | |Fade FlipH | | |FlipV Glow | | |GradientWipe Gray | | |ICMFilter Inset | | |Invert Iris | | |Light MaskFilter | | |Matrix MotionBlur | | |Pixelate RadialWipe | | |RandomBars RandomDissolve | | |RevealTrans Shadow | | |Slide Spiral | | |Stretch Strips | | |Wave Wheel | | |Xray Zigzag | +----------------+--------------------------------------------------------------+

     </source>
   
  


"object" Syntax and Note

   <source lang="html4strict">

Note: This element inserts an object to the page. It can be used for an alternate to the <img> element. It provides an effective way to deal with new media while maintaining backward compatibility.

This element also controls the data and code in the created object. The text between the element"s opening and closing tags is displayed if the object cannot be loaded.

Syntax:

<object attributes events> . . . </object>


     </source>