Nov 01, 2009, 5:25 PM
RE: Coolite Examples Explorer
Bernard Jourdain (3/13/2009)Hy,
Maybe you should look at the TreePanel Site map sample. Each node contains an URL and the function
Maybe you should look at the TreePanel Site map sample. Each node contains an URL and the function
eg
var loadPage = function(tabPanel, node) {
var tab = tabPanel.getItem(node.id);
if (!tab) {
tab = tabPanel.add({
id: node.id,
title: node.text,
tabTip: node.attributes.qtip,
closable: true,
iconCls: node.attributes.iconCls,
autoLoad: {
showMask: true,
url: node.attributes.href,
mode: 'iframe',
maskMsg: 'loading ' + node.text + '...'
}
});
}
tabPanel.setActiveTab(tab);
}
rgds