====== behavior: frame ====== Standard behavior of element. After loading of document into the frame its root element (html) will be set as a single child of the frame element as if it was declared this way: ... ... ... ===== Elements ===== that have this behavior applied by default (see [[master_style_sheet]]): * '''' ===== Attributes ===== that this behavior knows about: * ''src="url.html"'' - url of the document that will be loaded into this frame. * ''content-style="url.css"'' - url of style sheet that will be appended to styles defined in the document. That allows host to [re-]define some styles defined in the document. While loading frame element gets :busy flags that can be used for presenting load-in-progress state. ===== Methods ===== The frame behavior supports following ''xcall()'' methods (see dom::element::xcall() function): * ''xcall("load", url:string)'' - starts loading content of the url into the frame; * ''xcall("clear")'' - clears content of the frame (by loading blank document); Note that in CSSS! or TIScript/Sciter you can access these methods simply as: theFrame.load("http://something.com");