dynapi.api.DynDocument - Quick Reference
Constructor
- DynDocument(frame)
- ...
Events
- load
- ...
- resize
- ...
- precreate?
- ...
- create?
- ...
Public Methods
- addHTML(html)
- .....
Before the page loads you can use addHTML to add regular html/text to the document. This will behave similar to the document.write() function in both NS4 and other browsers. After the page loads the addHTML() function will behave differently in NS4 than in other browsers. All HTML content added after the page has been loaded in NS4 will appear at location 0,0 while in other browsers it will be appended to the end of the document. It's best to use the addHTML() to add inline layers to the document after a page load.
- getBgColor()
- ...
- getX()
- getY()
- getPageX()
- getPageY()
- dynapi.functions.Zero
- getWidth()
- ...
- getHeight()
- ...
- findDimensions()
- ...
- setBgColor(color)
- ...
- setFgColor(color)
- ...
- insertChild(c,pos,usebp)
- c - (DynLayer)
pos - (String) Position of layer. Values: relative, absolute or fixed
(ignored by ns4)
usebp - (Boolean) Use Blueprint
- insertAllChildren(usebp,bpsrc)
- usebp - (Boolean) Use Blueprint
bpsrc - (String) JavaScript source file containing blueprint
layers
- destroyAllChildren()
- ...
- getCursor()
- ...
- setCursor(c)
- ...
- setTextSelectable(b)
- ...
- showScrollBars(b)
- ...
Private Methods
- _remove()
- ...
- _create()
- ...
- _destroy()
- ...
- _handleResize()
- ...
Static Methods
[none]