PDA

View Full Version : change the theme



sugen
8 Mar 2009, 6:45 PM
How can i to change the theme in the iframe .when i change the theme .the main screen has changed,but the iframe can not .who can help me and please give me the solution.
Thank you Very much!!!
var c1=new Ext.tree.TreeNode({
id:'c1',
text:'information',
listeners:{
'click':function(node, event) {
event.stopEvent();
var n = tab.getComponent(node.id);
if (!n) {
n = tab.add({
'id':node.id,
'title':node.text,
closable:true,
html:'<iframe scrolling="auto" frameborder="0" width="100%" height="100%" src="created.html"></iframe>'
});
}
tab.setActiveTab(n);
}
}
});

1239112392

sugen
9 Mar 2009, 7:28 PM
nobody can help me ?:s