HTMLIFrameElement Class Reference
from PyKDE4.khtml import *
Inherits: DOM.HTMLElement → DOM.Element → DOM.Node
Namespace: DOM
Detailed Description
Inline subwindows. See the <a
href="http://www.w3.org/TR/REC-html40/present/frames.html#edef-IFRAME">
IFRAME element definition  in HTML 4.0.
| 
 Methods | 
|  | __init__ (self) | 
|  | __init__ (self, DOM.HTMLIFrameElement other) | 
|  | __init__ (self, DOM.Node other) | 
|  | __init__ (self, HTMLIFrameElementImpl impl) | 
| DOM.DOMString | align (self) | 
| DOM.Document | contentDocument (self) | 
| DOM.DOMString | frameBorder (self) | 
| DOM.DOMString | height (self) | 
| DOM.DOMString | longDesc (self) | 
| DOM.DOMString | marginHeight (self) | 
| DOM.DOMString | marginWidth (self) | 
| DOM.DOMString | name (self) | 
| DOM.DOMString | scrolling (self) | 
|  | setAlign (self, DOM.DOMString a0) | 
|  | setFrameBorder (self, DOM.DOMString a0) | 
|  | setHeight (self, DOM.DOMString a0) | 
|  | setLongDesc (self, DOM.DOMString a0) | 
|  | setMarginHeight (self, DOM.DOMString a0) | 
|  | setMarginWidth (self, DOM.DOMString a0) | 
|  | setName (self, DOM.DOMString a0) | 
|  | setScrolling (self, DOM.DOMString a0) | 
|  | setSrc (self, DOM.DOMString a0) | 
|  | setWidth (self, DOM.DOMString a0) | 
| DOM.DOMString | src (self) | 
| DOM.DOMString | width (self) | 
Method Documentation
| __init__ | ( | self, |  | 
|  |  | HTMLIFrameElementImpl | impl | 
|  | ) |  |  |  | 
 
 
Aligns this object (vertically or horizontally) with respect to
its surrounding text. See the <a
href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-align-IMG">
align attribute definition  in HTML 4.0. This attribute is
deprecated in HTML 4.0.
 
Introduced in DOM Level 2
Returns the document this iframe contains, if there is any and
it is available, a Null document otherwise. The attribute is
read-only.
- Returns:
-  The content Document if available.
 
Request frame borders. See the <a
href="http://www.w3.org/TR/REC-html40/present/frames.html#adef-frameborder">
frameborder attribute definition  in HTML 4.0.
 
Frame height. See the <a
href="http://www.w3.org/TR/REC-html40/present/frames.html#adef-height-IFRAME">
height attribute definition  in HTML 4.0.
 
URI designating a long description of this image or frame. See
the <a
href="http://www.w3.org/TR/REC-html40/present/frames.html#adef-longdesc-IFRAME">
longdesc attribute definition  in HTML 4.0.
 
Frame margin height, in pixels. See the <a
href="http://www.w3.org/TR/REC-html40/present/frames.html#adef-marginheight">
marginheight attribute definition  in HTML 4.0.
 
Frame margin width, in pixels. See the <a
href="http://www.w3.org/TR/REC-html40/present/frames.html#adef-marginwidth">
marginwidth attribute definition  in HTML 4.0.
 
The frame name (object of the target attribute).
See the <a
href="http://www.w3.org/TR/REC-html40/present/frames.html#adef-name-IFRAME">
name attribute definition  in HTML 4.0.
 
Specify whether or not the frame should have scrollbars. See
the <a
href="http://www.w3.org/TR/REC-html40/present/frames.html#adef-scrolling">
scrolling attribute definition  in HTML 4.0.
 
A URI designating the initial frame contents. See the <a
href="http://www.w3.org/TR/REC-html40/present/frames.html#adef-src-FRAME">
src attribute definition  in HTML 4.0.
 
Frame width. See the <a
href="http://www.w3.org/TR/REC-html40/present/frames.html#adef-width-IFRAME">
width attribute definition  in HTML 4.0.