Conduit API
Case Study
HTML Apps -> SelfNavigate
 
This function navigates an HTML component or gadget to a specified URL. Optionally, the width of the component can also be changed.
 
SelfNavigate(url, newWidth)
 
Parameter Description Range Type
url The URL for the HTML component or gadget window. not null or empty string
newWidth The new width (in pixels) for the HTML component or for the gadget window. This parameter is optional. >0 int
 
null
 
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 an icon  SelfNavigate  that when clicked, will navigate you to the URL of the main frame.