HTML CSS Reference/HTML Tag Reference/frame

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

"frame" CSS Attributes and JavaScript Style Properties

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                    display                       |
|                |filter                          height                        |
|                |layout-grid                     layout-grid-mode              |
|                |padding                         padding-bottom                |
|                |padding-left                    padding-right                 |
|                |padding-top                     pixelBottom(*)                |
|                |pixelHeight(*)                  pixelLeft(*)                  |
|                |pixelRight(*)                   pixelTop(*)                   |
|                |pixelWidth(*)                   posBottom(*)                  |
|                |posHeight(*)                    posLeft(*)                    |
|                |posRight(*)                     posTop(*)                     |
|                |posWidth(*)                     text-autospace                |
|                |zoom                                                          |
+----------------+--------------------------------------------------------------+



"frame" Event Handlers

+----------------+--------------------------------------------------------------+
| Event          |onActivate                      onAfterUpdate                 |
| Handlers       |onBeforeDeactivate              onBeforeUpdate                |
|                |onBlur                          onClick                       |
|                |onControlSelect                 onDblClick                    |
|                |onDeactivate                    onErrorUpdate                 |
|                |onFocus                         onLoad                        |
|                |onMove                          onMoveEnd                     |
|                |onMoveStart                     onResize                      |
|                |onResizeEnd                     onResizeStart                 |
+----------------+--------------------------------------------------------------+



"frame" Example

    
<html>
<head>
<title>frame element example</title>
</head>
<frameset rows="33%, 33%, *" cols="33%, 33%, *">
    <frame name="frame_1" src="frame1.html">
    <frame name="frame_2" src="frame2.html">
    <frame name="frame_3" src="frame3.html">
    <frame name="frame_4" src="frame4.html">
    <frame name="frame_5" src="frame5.html">
    <frame name="frame_6" src="frame6.html">
    <frame name="frame_7" src="frame7.html">
    <frame name="frame_8" src="frame8.html">
    <frame name="frame_9" src="frame9.html">
</frameset>
<noframes>Your system doesn"t support frames.</noframes>
</html>



"frame" HTML Attributes

+----------------+--------------------------------------------------------------+
| HTML           |allowtransparency               application                   |
| Attributes     |bordercolor                     class                         |
|                |datafld                         datasrc                       |
|                |frameborder                     height                        |
|                |hidefocus                       id                            |
|                |lang                            language                      |
|                |marginheight                    marginwidth                   |
|                |name                            noresize                      |
|                |scrolling                       security                      |
|                |src                             style                         |
|                |tabindex                        title                         |
|                |unselectable                    width                         |
+----------------+--------------------------------------------------------------+



"frame" JavaScript Collections

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



"frame" JavaScript Methods

+----------------+--------------------------------------------------------------+
| JavaScript     |addBehavior                     appendChild                   |
| Methods        |applyElement                    attachEvent                   |
|                |blur                            clearAttributes               |
|                |cloneNode                       componentFromPoint            |
|                |contains                        detachEvent                   |
|                |dragDrop                        fireEvent                     |
|                |focus                           getAdjacentText               |
|                |getAttribute                    getAttributeNode              |
|                |getElementsByTagName            hasChildNodes                 |
|                |insertAdjacentElement           insertBefore                  |
|                |mergeAttributes                 normalize                     |
|                |removeAttribute                 removeAttributeNode           |
|                |removeBehavior                  removeChild                   |
|                |replaceAdjacentText             replaceChild                  |
|                |setActive                       setAttribute                  |
|                |setAttributeNode                swapNode                      |
+----------------+--------------------------------------------------------------+



"frame" JavaScript Objects

+----------------+--------------------------------------------------------------+
| JavaScript     |runtimeStyle                    style                         |
+----------------+--------------------------------------------------------------+



"frame" JavaScript Properties

+----------------+--------------------------------------------------------------+
| JavaScript     |allowTransparency               borderColor                   |
| Properties     |canHaveHTML                     className                     |
|                |clientHeight                    clientWidth                   |
|                |contentWindow                   dataFld                       |
|                |datasrc                         dir                           |
|                |disabled                        firstChild                    |
|                |frameBorder                     height                        |
|                |hideFocus                       id                            |
|                |innerHTML                       isContentEditable             |
|                |isDisabled                      isMultiLine                   |
|                |isTextEdit                      lang                          |
|                |language                        lastChild                     |
|                |longDesc                        name                          |
|                |nextSibling                     nodeName                      |
|                |nodeType                        nodeValue                     |
|                |noResize                        offsetHeight                  |
|                |offsetLeft                      offsetParent                  |
|                |offsetTop                       offsetWidth                   |
|                |ownerDocument                   parentElement                 |
|                |parentNode                      parentTextEdit                |
|                |previousSibling                 readyState                    |
|                |recordNumber                    scopeName                     |
|                |scrollHeight                    scrollLeft                    |
|                |scrollTop                       scrollWidth                   |
|                |self                            sourceIndex                   |
|                |src                             tabIndex                      |
|                |tagName                         tagUrn                        |
|                |title                           uniqueID                      |
|                |width                                                         |
+----------------+--------------------------------------------------------------+



"frame" Microsoft Behaviors

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



"frame" Microsoft Filters

+----------------+--------------------------------------------------------------+
| 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                        |
+----------------+--------------------------------------------------------------+



"frame" Syntax and Note

Note:
This element creates a single frame within the <frameset> element. 
Frameset divides the browser window into multiple windows.
Frame can be nested.
The <frameset> tag replaces the <body> tag.
    
Syntax:
    
<frame attributes events>