ContextMenu

Traditional context menu allowing user to select items associated with another element or when right clicking on a page. It has a WebService enabled sibling (WSContextMenu) that can bind directly to a server to load data dynamically.
Also see how the context menu can be used with TreeView and WSTreeView here.



Basic example
Fit.Events.AddHandler(document, "contextmenu", function(e)
{
    var ctx = new Fit.Controls.ContextMenu();
    ctx.AddChild(new Fit.Controls.ContextMenu.Item("Create user", "USER"));
    ctx.AddChild(new Fit.Controls.ContextMenu.Item("Create page", "PAGE"));
    ctx.AddChild(new Fit.Controls.ContextMenu.Item("Create form", "FORM"));
    ctx.OnSelect(function(sender, item)
    {
        alert("Title: " + item.Title() + "Value:" + item.Value());
        ctx.Hide();
    });
    ctx.Show();
    Fit.Events.PreventDefault(e);
});
Fit.UI is open source (LGPL) - download or fork it on GitHub - website powered by Sitemagic CMS