Index...
Centrallix Documentation
|
widget/frameset
frameset :: A visual container used to create a DHTML frameset within which page widgets can be placed
Metadata:
type: | widget/frameset |
visual: | yes |
container: | yes |
form element: | no |
Overview:
The frameset widget provides the ability to construct a page consisting of multiple (potentially resizeable) frames.It is one of two possible top-level widgets (the page widget is the other one). Framesets can consist of one or more frames, arranged either in rows or columns.
Usage:
The frameset can either be a top-level widget, or can be contained within a frameset (for subframes).The frameset widget should not be used anywhere else in an application. The frameset should contain only other framesets and/or pages.
Properties:
Property | Type | Description |
title |
string |
Title of the frameset for an html page. |
borderwidth |
integer |
Number of pixels wide the border(s) between the frame(s) are. Can be set to zero. |
direction |
string |
Whether the frames are arranged in rows or columns. Set this attribute to "rows" or "columns"respectively. |
Child Properties:
(of any child widgets)
Property | Type | Description |
framesize |
integer/string |
large this frame will be.Can either be expressed as an integer, which represents "50%". |
marginwidth |
integer |
width, in pixels, of the margins of the frame. |
Sample Code:
$Version=2$
// Example of a page with three frames on it.
//
BigFrameset "widget/frameset"
{
title = "MyTitle";
direction = "rows";
borderwidth = 3;
TopFrameset "widget/frameset"
{
framesize = "40%";
direction = "columns";
borderwidth = 3;
TopLeftDocument "widget/page"
{
framesize = "50%";
}
TopRightDocument "widget/page"
{
framesize = "50%";
}
}
BottomDocument "widget/page"
{
framesize = "60%";
}
}
Comments...
(none yet)
Add a Comment...
|