Css attribute styles, events, collections, filters, methods, objects, Styles

Source: Internet
Author: User

 
Tag attributes/attributes
Action
Set
Event
Filter
Method
Object
Style
Label property description
ALIGN align sets or obtains the table arrangement.
ALLOWTRANSPARENCY allowTransparency setting or getting whether the object can be transparent.
APPLICATION indicates whether the object content is an html application (HTA) to avoid browser security mode.
ATOMICSELECTION specifies whether the element and its content can be selected in an invisible unit.
BEGIN begin sets or obtains the delay time before the time series play on this element.
BORDER border sets or obtains the space between frames, including 3D borders.
CanHaveChildren obtains the value indicating whether the object can contain sub-objects.
CanHaveHTML indicates whether the object can contain rich HTML tag values.
CLASS className specifies or obtains the CLASS of the object.
ContentWindow: obtains the window object of the specified frame or iframe.
Dataworks sets or obtains the fields bound to the specified data source of the specified object specified by the dataSrc attribute.
DATASRC dataSrc sets or obtains the data source used for data binding.
Gets the value that indicates whether the user can interact with the object.
END end is set or obtained to indicate the END time of the element, or the element is set to a simple continuous termination time that is repeated.
FirstChild gets the reference of the first child object in the childNodes set of the object.
FRAMEBORDER frameBorder sets or obtains whether to display the frame border.
HasMedia obtains a Boolean value indicating whether the element is an HTML + TIME media element.
Set or retrieve the object HEIGHT.
HIDEFOCUS hideFocus is set or retrieved to indicate whether the object explicitly indicates the focus value.
Set or obtain the horizontal margin of an object.
ID.
InnerText sets or retrieves the text in the object's start and end labels.
IsContentEditable obtains the value indicating whether the user can edit the object content.
IsDisabled indicates whether the user can interact with the object.
IsMultiLine retrieval indicates whether the object content contains values of one or multiple rows.
IsTextEdit to determine whether a TextRange object can be created using this object.
Set or obtain the language to use in LANG lang.
Set or obtain the LANGUAGE used for writing the current script.
LastChild obtains the reference of the last child object in the childNodes set of this object.
LongDesc sets or obtains the Uniform Resource Identifier (URI) of the long description of an object ).
MARGINHEIGHT marginHeight sets or gets the margin height before the text in the display frame.
Set MARGINWIDTH marginWidth or obtain the left and right margin width before the text in the display frame.
Set or obtain the framework NAME.
NextSibling gets a reference to the next sibling object of this object.
NodeName gets the name of a specific node type.
Obtain the type of the required node from nodeType.
Nodue sets or obtains the node value.
OffsetHeight gets the height of the object relative to the layout or the parent coordinate specified by the parent coordinate offsetParent attribute.
OffsetLeft obtains the left position of the object relative to the layout or the parent coordinate specified by the offsetParent attribute.
OffsetParent gets the reference of the container Object Defining the offsetTop and offsetLeft attributes of the object.
OffsetTop obtains the top position of an object relative to the layout or the parent coordinate specified by the offsetTop attribute.
OffsetWidth gets the width of the object relative to the layout or the parent coordinate specified by the parent coordinate offsetParent attribute.
OnOffBehavior: gets the object that indicates whether the specified Microsoft & reg; DirectAnimation & reg; action is running.
OuterHTML sets or obtains the HTML format of the object and its content.
OuterText sets or retrieves the object text.
OwnerDocument sets or obtains the document Object associated with the node.
ParentElement obtains the parent object in the object hierarchy.
ParentNode obtains the parent object in the document level.
ParentTextEdit obtains the document level and can be used to create a TextRange container object containing the original object.
Previussibling gets a reference to the previous sibling object of this object.
ReadyState: Get the current state of the object.
Obtain the value indicating the current state of the object.
RecordNumber gets the original records of the objects generated in the dataset.
ScopeName gets the namespace defined for this element.
SCROLLING scrolling sets or obtains whether the framework can be rolled.
SECURITY gets whether the source file of frame or iframe has applied the specific SECURITY restriction value.
SourceIndex obtains the sequential position of objects in the source order, that is, the order in which objects appear in the all set of documents.
SRC src sets or gets the URL to be loaded by the object.
STYLE sets an embedded STYLE for this setting element.
SYNCMASTER syncMaster sets or obtains whether the time container must play back this element synchronously.
SYSTEMBITRATE obtains the bps of the available bandwidth in the system.
SYSTEMCAPTION indicates whether to display text to replace the audio part of the demo.
SYSTEMLANGUAGE indicates whether the specified language is selected in the option settings on the user's computer.
SYSTEMOVERDUBORSUBTITLE specifies whether to render dubbing or subtitles for users who are watching the demo but are not familiar with the language used by the played audio.
TABINDEX tabIndex is used to set or retrieve the index of the Tab sequence of the defined object.
The tagName obtains the Tag Name of the object.
Set the tagUrn or obtain the unified Resource Name (URN) specified in the namespace declaration ).
TIMECONTAINER timeContainer sets or obtains the timeline type associated with the element.
Set the TITLE title TITLE or obtain the consultation information of the object (tooltip ).
UniqueID is the unique identifier automatically generated by the object.
UNSELECTABLE specifies that this element cannot be selected.
VSPACE vspace sets or obtains the vertical margin of an object.
WIDTH width: set or obtain the WIDTH of an object.

 


Tag attributes/attributes

Action

Action Description
ClientCaps provides information about features supported by Internet Explorer and out-of-the-box installation methods.
Download the downloaded file and notify a specified callback function after the download is complete.
HomePage contains information about the user homePage.
Time provides an active timeline for HTML elements.
Time2 provides an active timeline for HTML elements or a group of elements.

Set

Set description
All returns the reference of the element set contained in the object.
Attributes obtains the set of OBJECT tag attributes.
BehaviorUrns returns a set of unified resource names (URN) strings that are appended to the behavior of the element.
ChildNodes obtains the set of HTML elements and TextNode objects that are directly descendant of a specified object.
Children obtains the set of DHTML objects that are directly descendant of objects.

Event

Event Description
Onactivate is triggered when the object is set to an active element.
Onafterupdate is triggered when the associated object in the data source object is updated successfully on the Data Binding object.
Onbeforedeactivate is triggered immediately before activeElement changes from the current object to another object in the parent document.
Onbeforeupdate is triggered on the Data Binding object before the associated objects in the data source object are successfully updated.
Onblur is triggered when the object loses the input focus.
Oncontrolselect is triggered when you want to create a control area for this object.
Ondeactivate is triggered when activeElement changes from the current object to another object in the parent document.
Onerrorupdate is triggered when an error occurs while updating the associated data in the data source object.
Onfocus is triggered when the object obtains the focus.
Onload is triggered immediately after the browser completes object loading.
Onmove is triggered when the object is moved.
Onmoveend is triggered when the object is stopped.
Onmovestart is triggered when the object begins to move.
Onreadystatechange is triggered when the object state changes.
Onresizeend is triggered when you change the object size in the selected area of the control.
Onresizestart is triggered when you start to change the object size in the selected area of the control.
Ontimeerror is triggered unconditionally when an error occurs at a specific time. It is usually caused by setting the attribute to an invalid value.

Filter

Filter attribute description
Alpha adjusts the opacity of the object content.
AlphaImageLoader displays an image between the boundary of an object and between the object background and content. It can be used to crop or scale the image size. When a portable network image (PNG) is mounted, the transparency from 0 to 100% is supported.
Barn displays the object's new content in the form of opening or closing the door.
BasicImage adjusts the color processing, image rotation, or opacity of the object content.
BlendTrans displays the new content of an object in the form of gradually hiding the original content.
Blinds displays new content of an object in the form of opening or closing blind spots.
Blur the content of an object to make it look focused.
CheckerBoard displays the new content of an object in the form of a CheckerBoard covering the original content.
Chroma displays the Specified Color of the object as transparent.
Compositor displays the new content of an object in the form of a logical color combination of the New and Old content. The color and alpha values of each version are calculated to determine the final color of the output image.
The object shadow created by DropShadow. The offset is in the specified direction. This will make the content appear floating, so it will produce a shadow.
Emboss uses grayscale values to display objects in embossed textures.
Engrave uses grayscale values to display objects in carved textures.
Fade displays the new content of an object in the form of a gradually hidden original content.
FlipH displays the object content in the horizontal direction.
FlipV displays the object content in the vertical direction.
Glow adds a halo outside the edge of the object to make it look luminous.
Gradient displays a Gradient color surface between the background and content of the object.
GradientWipe displays the new content of an object in the form of a gradient in the original content.
Gray displays the object content in Gray scale.
ICMFilter converts the color content of an object based on the Image Color Management (ICM) configuration file. This allows you to improve the display performance of specified content, or simulate display on hardware devices such as printers or monitors.
Inset displays the object's new content in the diagonal line.
Invert reverses the color, saturation, and brightness of the object content.
Iris displays the object's new content in a rainbow effect, similar to opening the camera aperture.
Light creates a Light effect on the object content.
MaskFilter displays transparent pixels of object content as color masks and non-transparent pixels as transparent.
Matrix uses a Matrix to transform, scale, rotate, or display the content of an object.
MotionBlur displays the object content in a motion blur effect.
Pixelate shows the content of an object as a color square. Its color depends on the average color value of the area to be replaced by this square. This filter display can be used for switching.
RadialWipe shows the object's new content in the form of a radiation erasure.
RandomBars displays the object's new content in the form of random pixel line explosion.
RandomDissolve displays the object's new content in the form of random pixel explosion.
Redirect is not currently supported.
RevealTrans uses 24 predefined switching effects to display new content of an object.
The object Shadow creates an object Shadow. The offset is in the specified direction. This creates a shadow effect.
Slide shows the object's new content in the form of image slides.
Spiral shows the object's new content in the form of Spiral motion.
Stretch shows the object's new content in the form of stretching and overwriting the original content. There is an option like converting a cube from one surface to another.
Strips displays the original content of the object in the form of a bar covering, as if a saw the original content.
Wave performs a vertical sine Wave distortion on the object content.
Wheel shows the object's new content in the form of rotation, as if the Wheel rolled over the original content.
Xray changes the color depth of the object content to display it in black and white.
Zigzag moves the new content of the object back and forth to overwrite the original content.
 
Method

Method description
AddBehavior attaches an action to an element.
AppendChild adds a child element to the object.
ApplyElement makes the element a child or parent element of other elements.
AttachEvent binds a specified function to an event so that the function is called whenever the event is triggered on an object.
Blur causes the element to lose focus and triggers the onblur event.
ClearAttributes deletes all tag attributes and values from the object.
CloneNode copies references to objects at the document level.
ComponentFromPoint returns the position of the object under the specified coordinate through a specific event.
Contains checks whether the object contains the given element.
DetachEvent unbinds the specified function from the event, so that the function will not receive notifications when the event is triggered.
DragDrop initializes the drag event.
The specified event of the fireEvent trigger object.
Focus enables the element to get the focus and execute the code specified by the onfocus event.
GetAdjacentText returns the adjacent text string.
GetAttribute gets the value of the specified tag attribute.
GetAttributeNode obtains the attribute object referenced by the attribute. name attribute.
GetElementsByTagName obtains the object set based on the specified element name.
Getexpression_r gets the expression of the given attribute.
HasChildNodes indicates whether the object has a sub-object value.
InsertAdjacentElement inserts an element at the specified position.
InsertAdjacentHTML inserts the specified HTML text into the element at the specified position.
InsertAdjacentText inserts the specified text at the specified position.
InsertBefore inserts an element into the document hierarchy as a child node of the parent object.
MergeAttributes copies all read/write tag attributes to the specified element.
Normalize merges adjacent TextNode objects to generate a regular Document Object Model.
RemoveAttribute deletes the given tag attribute of an object.
RemoveAttributeNode deletes the attribute object from the object.
RemoveBehavior separates the behavior of elements.
RemoveChild deletes the child node from the element.
Removeexpression_r deletes an expression from a specified attribute.
RemoveNode deletes objects from the document level.
ReplaceAdjacentText replaces the adjacent Text of the element.
ReplaceChild replaces the existing child element with the new child element.
ReplaceNode replaces objects with other elements.
ScrollIntoView scrolls the object to the visible range and arranges it to the top or bottom of the window.
SetActive sets the object as the current object without focusing the object.
SetAttribute sets the value of the specified tag attribute.
SetAttributeNode sets attribute objects as part of objects.
Setexpression_r sets the expression of the specified object.
The location of two objects in the swapNode switch document hierarchy.

Object

Object Description
RuntimeStyle indicates the format and style of objects that reside on the global style table, embedded style, and HTML Tag attribute.
Style represents the current settings of all possible embedded styles for a given element.

Style

Style label attribute style attribute description
ACCELERATOR accelerator sets or obtains a string indicating whether the object contains a shortcut key.
Background-attachment backgroundAttachment sets or gets how the background image is appended to an object in the document.
Background-color backgroundColor specifies the color after the object content is obtained.
Set background-position-x backgroundPositionX or obtain the x coordinate of the backgroundPosition attribute.
Set background-position-y backgroundPositionY or obtain the y coordinate of the backgroundPosition attribute.
Behavior: Specifies or obtains the location of DHTML behavior.
Border-bottom borderBottom sets or obtains the attributes of the border under an object.
Border-bottom-color borderBottomColor sets or gets the color of the bottom border of an object.
Border-bottom-style borderBottomStyle is used to set or retrieve the style of the border under an object.
Border-bottom-width borderBottomWidth sets or gets the width of the border under an object.
Border-color borderColor sets or obtains the border color of an object.
Border-left borderLeft is used to set or obtain the attribute of the left border of an object.
Border-left-color borderLeftColor is used to set or obtain the color of the left border of an object.
Border-left-style borderLeftStyle is used to set or retrieve the style of the left border of an object.
Border-left-width borderLeftWidth sets or gets the width of the left border of an object.
Border-right borderRight is used to set or obtain the attributes of the right border of an object.
Border-right-color borderRightColor sets or gets the color of the right border of an object.
Border-right-style borderRightStyle is used to set or retrieve the style of the right border of an object.
Border-right-width borderRightWidth is used to set or retrieve the width of the right border of an object.
Border-style borderStyle is used to set or obtain the style of the upper and lower sides of an object.
Border-top borderTop is used to set or obtain the border attributes of an object.
Border-top-color borderTopColor is used to set or obtain the border color of an object.
Border-top-style borderTopStyle is used to set or retrieve the style of the border on the object.
Border-top-width borderTopWidth sets or gets the width of the border on the object.
Border-width borderWidth is used to set or obtain the width of the upper, lower, and lower border of an object.
Bottom sets or obtains the position at the bottom of the positioning object relative to the object at the document level.
Clear allows you to set or obtain whether floating objects can be placed on the left, right, or both sides of an object to prevent the lower part of the text from being displayed on the floating object.
Clip sets or obtains which part of the target object is visible.
Cursor sets or obtains the mouse pointer used when the cursor points to an object.
Display to set or obtain whether the object is to be rendered.
Set or retrieve filters or filter sets applied to objects.
Set or retrieve the object height.
Layout-grid layoutGrid sets or obtains the combined document grid attribute of the specified text character layout.
Layout-grid-mode layoutGridMode setting or obtaining whether the text layout grid uses two-dimensional layout.
Left: sets or obtains the position of the left boundary between the object and the next positioning object in the document level.
Margin sets or obtains the top, bottom, and left margins of an object.
Margin-bottom marginBottom sets or obtains the bottom margin width of an object.
Set or obtain the left margin width of an object.
Set or obtain the right margin width of an object.
Set or retrieve the top margin width of an object.
Overflow-x overflowX sets or gets how to manage object content when the content exceeds the object width.
Overflow-y overflowY setting or getting how to manage object content when the content exceeds the object height.
PixelBottom sets or obtains the position below the object.
PixelHeight: sets or obtains the object height.
PixelLeft is used to set or obtain the left position of an object.
PixelRight is used to set or obtain the right position of an object.
PixelTop is used to set or obtain the top position of an object.
PixelWidth specifies or obtains the width of an object. PosBottom sets or gets the position below the object in the unit specified by the bottom label attribute.
PosHeight sets or gets the object height in the unit specified by the height label attribute.
Set position or obtain the positioning method used by the object.
PosLeft sets or gets the left position of the object in the unit specified by the left tag attribute.
PosRight is used to set or obtain the right position of the object in the unit specified by the right label attribute.
PosTop sets or gets the position above the object in the unit specified by the top tag attribute.
PosWidth sets or gets the object width in the unit specified by the width label attribute.
Right sets or gets the position of the right boundary of an object relative to the object located in the lower part of the document level.
Float styleFloat is used to set or obtain the side of the object to which the text is redirected.
Set text-autospace textAutospace or get the narrow space Width Adjustment of automatically left blank and text.
Top setting or getting the position of the upper boundary of the object relative to the next positioning object in the document level.
Visibility sets or gets whether the object content is displayed.
Z-index zIndex sets or obtains the stack order of the positioning object.
Zoom sets or obtains the zoom ratio of an object.

Note

The IFRAME element is the document in the document, or a floating FRAME ). The frames set provides access to IFRAME content. Use the frames set to read and write the elements contained in IFRAME. For example, if you want to access the backgroundColor style of the body object in iframe, the syntax should be:

SColor = document. frames ("sFrameName" 2.16.doc ument. body. style. backgroundColor;

Through the object model on the page where the iframe object is located, you can access the attributes of the iframe object, but cannot access its content. For example, the syntax for accessing the border style of an iframe object should be:

SBorderValue = document. all. oFrame. style. border;

Note that the iframe attribute must be accessed with the prefix document. all, for example, document. all. iframeId. marginWidth.
Internet Explorer 5.5 supports transparent content of floating frameworks. To define transparent content for a floating framework, the following conditions must be met.

The ALLOWTRANSPARENCY label attribute used with the IFRAME element must be set to true.
In the IFRAME content source document, the BGCOLOR label attribute of the background-color or BODY element must be set to transparent.
Refer to the transparent floating framework for more information.

This element is available in HTML and scripts of Microsoft & reg; Internet assumer4.0.

This element is a block element.

The label must be disabled for this element.

Example

The following example uses the IFRAME element to create a framework containing page sample.htm.

<Iframe id = IFrame1 FRAMEBORDER = 0 SCROLLING = no src = "sample.htm"> </IFRAME>

The following example returns a reference to the all set of documents contained in IFRAME.

Var collAll = document. frames ("IFrame1" 2.16.doc ument. all

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.