Conduit API
Case Study
HTML Apps -> ChangeWidth
 
This function is used to set the width for the HTML component or gadget window.
 
ChangeWidth(newWidth)
 
Parameter Description Range Type
newWidth The new width (in pixels) of the HTML component or gadget >= 0 int
 
None.
 
This function can be used both with the HTML component and with the gadget window.
*Notice: API methods must be invoked after the web page has triggered the "onload" event.
 
This example contains two icons. Clicking on the first icon  ChangeWidth  will cause the HTML component's width to increase by 10px. Clicking on the second icon  ChangeWidth  will cause the HTML component's width to decrease by 10px.