Appframe Knowledge Base


1 hits
1

Using af.controls.Dialog - Showing an article or an external page in a dialog

var vDialog = new af.controls.Dialog({
    overlay: { clickCloses: true }, // does what you'd expect
    buttons: { close: true }, // enables the close button in the header
    title: "Omega", width: 1200, height: 650,
    content: "http://www.omega.no/",
    destroyOnClose: true // will dispose of the dialog after it closes

});

vDialog.show();

common web · Perma link post comment Posted by: Jan Henrik H. Meling (14-mai-2012)