IFRAME element | IFRAME object

Source: Internet
Author: User
IFRAME element | IFRAME object

Create an embedded floating framework.

Member table

The following table listsIFRAMEObject. Click the label on the left to select the member type you want to view.

  Tag attributes/attributes  
Display:
Tag attributes/attributes
Action
Set
Event
Filter
Method
Object
Style
Tag attributes Attribute Description
Align Align Set or obtain the table arrangement.
Allowtransparency Allowtransparency Sets or obtains whether the object can be transparent.
Application Application Indicates whether the object content is an HTML Application (HTA), so as 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 timeline is played on this element.
Border Border Set or obtain the space between frames, including a 3D border.
Canhavechildren Obtain the value indicating whether the object can contain sub-objects.
Canhavehtml Obtain the value indicating whether the object can contain rich HTML tags.
Class Classname Sets or obtains the class of the object.
ContentWindow Obtains the specified frame orIFRAMEWindow object.
Dataworks Dataworks Sets or obtains the fields bound to the specified data source specified by the datasrc attribute.
Datasrc Datasrc Set or obtain the data source used for data binding.
Disabled Obtain the value indicating whether the user can interact with the object.
End End Set or obtain the value indicating the end time of the element, or set the element to a simple continuous termination time that is repeated.
Firstchild Obtains 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 Returns a Boolean value indicating whether the element is an HTML + time media element.
Height Height Sets or obtains the height of an object.
Hidefocus Hidefocus Set or obtain the value indicating whether the object explicitly indicates the focus.
Hspace Hspace Sets or obtains the horizontal margin of an object.
ID ID Gets the string that identifies the object.
Innertext Set or obtain the text in the start and end labels of the object.
Iscontenteditable Obtain the value indicating whether the user can edit the object content.
Isdisabled Obtain the value indicating whether the user can interact with the object.
Ismultiline Obtain the value indicating whether the object contains one or multiple rows.
Istextedit Obtain whether to use this object to create a textrange object.
Lang Lang Set or obtain the language to use.
Language Language Set or obtain the language used for writing the current script.
Lastchild Get this objectChildnodesThe reference of the last child object in the collection.
Longdesc Sets or obtains the Uniform Resource Identifier (URI) of the long description of an object ).
Marginheight Marginheight Set or obtain the margin height before the text in the display frame.
Marginwidth Marginwidth Set or obtain the width of the left and right margin before the text in the display frame.
Name Name Set or obtain the framework name.
Nextsibling Obtains the reference of the next sibling object of this object.
Nodename Obtain the name of a specific node type.
Nodetype Obtain the type of the required node.
Nodevalue Set or obtain the node value.
Offsetheight Obtains the height of an object relative to the layout or the parent coordinate specified by the parent coordinate offsetparent attribute.
Offsetleft Obtains an object relative to a layout orOffsetparentThe left side of the calculation of the parent coordinate specified by the property.
Offsetparent Gets the reference of the container Object Defining the offsettop and offsetleft attributes.
Offsettop Obtains an object relative to a layout orOffsettopThe top position of the parent coordinate specified by the property.
Offsetwidth Obtains the coordinates of an object relative to the layout or by the parent coordinate.OffsetparentThe width of the parent coordinate specified by the property.
Onoffbehavior Obtain the object that indicates whether the specified Microsoft DirectAnimation action is running.
Outerhtml Sets or obtains the HTML format of the object and its content.
Outertext Sets or retrieves the object text.
Ownerdocument Set or obtain the document object associated with the node.
Parentelement Obtain the parent object in the object hierarchy.
Parentnode Obtain the parent object in the document hierarchy.
Parenttextedit The obtained document level can be used to createTextrange.
Previussibling Obtains the reference of the previous sibling object of this object.
Readystate Obtains the current status of an object.
Readystate Obtain the value indicating the current status of the object.
Recordnumber Obtain the original records of the objects generated in the dataset.
Scopename Obtain the namespace defined for this element.
Scrolling Scrolling Sets or obtains whether the frame can be rolled.
Security Security IndicateFrameOrIFRAMEWhether the specified security limit value is applied to the source file.
Sourceindex Obtains the sequential position of an object in the source order, that is, the order in which the object appears in the all set of the document.
SRC SRC Set or obtain the URL to be loaded by the object.
Style Set an embedded style for this setting element.
Syncmaster Syncmaster Sets or obtains whether the time container must play back this element synchronously.
Systembitrate Obtain the BPS of the available bandwidth in the system.
Systemcaption Indicates whether to display text instead of the demo audio.
Systemlanguage Indicates whether the specified language is selected in the option settings on the user's computer.
Systemoverduborsubtitle Specifies whether rendering is required for users who are watching the demo but are not familiar with the language used by the played audio.DubbingOrSubtitle.
Tabindex Tabindex Set or obtain the index of the tab sequence of the defined object.
Tagname Obtains the tag name of an object.
Tagurn Set or obtain the Uniform Resource Name (URN) specified in the namespace declaration ).
Timecontainer Timecontainer Set or obtain the timeline type associated with the element.
Title Title Sets or obtains the contact information of an object (tooltip ).
Uniqueid Obtain the unique identifier automatically generated by the object.
Unselectable 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 Download the 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 a reference to the element set contained in an object.
Attributes Obtains the set of OBJECT tag attributes.
Behaviorurns Returns a set of unified resource names (URN) strings that are appended to the element action.
Childnodes Obtains the set of HTML elements and textnode objects that are directly inherited from a specified object.
Children Obtains the set of DHTML objects directly inherited from objects.

Event

Event Description
Onactivate Triggered when the object is set as an active element.
Onafterupdate When the associated object in the data source object is updated successfully, it is triggered on the Data Binding object.
Onbeforedeactivate Triggered immediately before activeelement changes from the current object to other objects in the parent document.
Onbeforeupdate Triggered on the Data Binding object before the associated object in the data source object is successfully updated.
Onblur Triggered when the object loses the input focus.
Oncontrolselect This is triggered when you create a control area for this object.
Ondeactivate WhenActiveelementTriggered when the object changes from the current object to another object in the parent document.
Onerrorupdate An error occurred while updating the associated data in the data source object is triggered on the Data Binding object.
Onfocus Triggered when the object obtains the focus.
Onload Triggered immediately after the browser loads the object.
Onmove Triggered when the object is moved.
Onmoveend Triggered when the object is stopped.
Onmovestart Triggered when the object begins to move.
Onreadystatechange Triggered when the object status changes.
Onresizeend Triggered when you change the size of objects in the selected area of the control.
Onresizestart Triggered when you start to change the size of objects in the selected area of the control.
Ontimeerror Unconditional triggering when an error occurs at a specific time is usually caused by setting the attribute to an invalid value.

Filter

Filter attributes Description
Alpha Adjust the opacity of the object content.
Alphaimageloader The image is displayed between the boundary of the object and the background to the content. You can 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 open or close motion mode.
Basicimage Adjust the color processing, image rotation, or opacity of the object content.
Blendtrans Displays the new content of an object in the form of a gradually hidden original content.
Blinds Displays new content of an object in the form of opening or closing blind spots.
Blur Blur the content of an object to make it look focused.
Checkerboard Display the new content of an object in the form of a chessboard covering the original content.
Chroma Display the Specified Color of the object content 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.
Dropshadow Creates an object shadow. The offset is in the specified direction. This will make the content appear floating, so it will produce a shadow.
Emboss Use grayscale values to display objects in embossed textures.
Engrave Use the grayscale value to display the object in a carved texture.
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 Add a halo outside the edge of the object to make it look luminous.
Gradient A gradient color surface is displayed between the background and content of the object.
Gradientwipe The new content of the object is displayed in the form of overwriting the gradient band on 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 Display the new content of the object in the diagonal line.
Invert Reverses the color, saturation, and brightness of an object.
Iris Display the object's new content in a rainbow effect, similar to opening the camera aperture.
Light Create a light effect on the object content.
Maskfilter Display the transparent pixels of the object content as a color mask, and the non-transparent pixels as transparent.
Matrix Use a matrix to scale, rotate, or display the content of an object.
Motionblur Displays the object content in motion blur.
Pixelate Display the content of an object as a color Square. The color of the square depends on the average color value of the area to be replaced by the square. This filter display can be used for switching.
Radialwipe New Content of an object is displayed in the form of a radiation erasure.
Randombars New object content is displayed in the form of random pixel line explosion.
Randomdissolve Displays the object's new content in the form of random pixel explosion.
Redirect Not Supported currently.
Revealtrans Use 24 predefined switching effects to display new content of the object.
Shadow Creates an object shadow. The offset is in the specified direction. This creates a shadow effect.
Slide New Content of an object is displayed in the form of image slides.
Spiral New Content of an object is displayed in the form of spiral motion.
Stretch New Content of the object is displayed in the form of stretching and covering the original content. There is an option like converting a cube from one surface to another.
Strips The original content of the object is displayed in the form of a bar covering, as if there was a saw to split the original content.
Wave Perform a vertical sine wave distortion on the object content.
Wheel The new content of the object appears in the form of rotation, as if the wheel rolled over the original content.
Xray Change the color depth of the object content to display it in black and white.
Zigzag Move 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 Append a child element to the object.
Applyelement Make 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 Delete all tag attributes and values from an object.
Clonenode Copy the reference to the object from the document level.
Componentfrompoint Return the position of the object under the specified coordinate through a specific event.
Contains Check whether the object contains the given element.
Detachevent Unbind the specified function from the event, so that the function will not receive notifications when the event is triggered.
Dragdrop Initialize the drag event.
Fireevent Specifies the event of the trigger object.
Focus So that the element gets the focus and executes the code specified by the onfocus event.
Getadjacenttext Returns an adjacent text string.
Getattribute Obtains the attribute value of a specified tag.
Getattributenode ObtainAttributeAttribute object referenced by the. Name attribute.
Getelementsbytagname Obtains an object set based on the specified element name.
Getexpression Gets the expression of a given attribute.
Haschildnodes Returns the value indicating whether the object has sub-objects.
Insertadjacentelement Insert an element at the specified position.
Insertadjacenthtml Insert the specified HTML text into the element at the specified position.

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.