| Parameter |
Description |
Range |
Type |
| URL |
The URL that the gadget will contain. |
Valid URL |
string |
| Width |
The width (in pixels) of the new gadget window |
>0 |
int |
| Height |
The height (in pixels) of the new gadget window |
>0 |
int |
| Features |
String that contains a list of items separated by commas.
Each item consists of an option and a value, separated by an
equals sign (for example, " resizable=yes, scrollbars=yes").
See supported features below. |
String or Null |
string |
The following features are supported:
resizable = { yes | no | 1 | 0 }
Specifies whether to display resize handles at the corners of the window. The default is yes.
hscroll = = { yes | no | 1 | 0 }
Specifies whether to display horizontal scroll bar. The default is yes.
vscroll = = { yes | no | 1 | 0 }
Specifies whether to display vertical scroll bar. The default is yes.
titlebar = { yes | no | 1 | 0 }
Specifies whether to display a Title Bar for the window. The default is yes.
closeonexternalclick = { yes | no | 1 | 0 }
Specifies whether the gadget behaves like a regular window or like a menu and is closed when focus is lost. The default is no.
closebutton = { yes | no | 1 | 0 }
Specifies whether to display the close button. The default is yes.
savelocation = { yes | no | 1 | 0 }
Specifies whether to save the location the gadget was last opened. The default is yes.
saveresizedsize = { yes | no | 1 | 0 }
Specifies whether to save the size the gadget was last manually resized to. The default is yes.
openposition = { click | alignment:(T;B;L;R) | center | offset:(x;y) }
Specifies where the gadget should open. The default is click.
alignment values can be: T(top), B (bottom) ,R (right), L (left). T/B are mutually exclusive. L/R are mutually exclusive.
Offset is the number of pixels from the top of the container (x,y)
Notice: when using the openposition feature, always add savelocation=0 to the features list to overrun the default behavior.