System.Gadget.Flyout.file Property
Gets or sets the HTML filename for the gadget Flyout user interface (UI).
This property is read/write.
Syntax
propVal = System.Gadget.Flyout.file(strFlyoutUI)
System.Gadget.Flyout.file(strFlyoutUI)
= propVal
Parameters
strFlyoutUI [in]
strFlyoutUI [out]
Sets or retrieves the HTML filename.
Remarks
A gadget Flyout is shown with a call to show.
A gadget has one Flyout available at any time. The content of the Flyout can modified dynamically using the document object or by specifying a new HTML file with the file property.
Examples
The following example demonstrates how to set the gadget Flyout UI from the gadget script file.
// --------------------------------------------------------------------
// Initialize the gadget.
// --------------------------------------------------------------------
function Init()
{
// Specify the flyout root.
System.Gadget.Flyout.file = "example.html";
// Initialize the Flyout state display.
if (!System.Gadget.Flyout.show)
{
sFlyoutFeedback.innerText = "Flyout hidden.";
}
}
Requirements
Minimum supported client | Windows Vista |
Minimum supported server | Windows Server 2008 |
IDL | Sidebar.idl |
DLL | Sidebar.Exe version 1.00 or later |
See Also
Send comments about this topic to Microsoft
Build date: 2/24/2010
Build type: SDK