How can i open Url in Bogus Window or Tab Window ?
Can you please tell me how can i open url in Bogus Window,tab windows?
example i need to open www.google.com (http://www.google.com) in Bogus Window or Tab Window
Thanx
H@ri
for example see this
menu: {
items:[{
text: 'Google',
iconCls:'bogus',
handler : this.createWindow,
scope: this,
windowId: windowIndex
}
here what attribute must i add or change to see :www.google.com opened in a bogus window
similary here also:
createWindow : function(){
var desktop = this.app.getDesktop();
var win = desktop.getWindow('tab-win');
if(!win){
win = desktop.createWindow({
id: 'tab-win',
title:'Tab Window',
width:740,
height:480,
iconCls: 'tabs',
shim:false,
animCollapse:false,
border:false,
constrainHeader:true,
layout: 'fit',
items:
new Ext.TabPanel({
activeTab:0,
items: [{
title: 'Tab Text 1',
header:false,
html : '
Something useful would be in here.
',border:false
},{
title: 'Tab Text 2',
header:false,
html : '
Something useful would be in here.
',border:false
},{
title: 'Tab Text 3',
header:false,
html : '
Something useful would be in here.
',border:false
},{
title: 'Tab Text 4',
header:false,
html : '
Something useful would be in here.
',border:false
}]
})
});
}
win.show();
i want to see different urls in different tab window.
waiting for your reply
regards,
Hari
You can find the ux and samples here. (http://extjs.com/forum/showthread.php?t=16590)
#If you have any other info about this subject , Please add it free.# |