gizmoone
24 Jul 2012, 5:50 AM
hello,
How to activate direction the email since the icon of a tabpanel.
example while clicking on the icon I arrive direction on the function email of the iphone or ipad with the subject and the body already full meadow
i arrive with :
Ext.define('proto.view.Main', { extend: 'Ext.TabPanel',
requires: [
'proto.view.Home',
'proto.view.More',
'proto.view.Fonction'
],
config: {
tabBar: {
docked: 'bottom',
layout: {
pack: 'center'
}
},
items: [
{ xtype: 'homecard' },
{ xtype: 'contact' },
{ xtype: 'mainpanel'}
]
}
});
Ext.define('proto.view.Home', { extend: 'Ext.TabPanel',
xtype: 'homecard',
config: {
iconCls: 'home',
title: 'home',
defaults: {
styleHtmlContent: true
},
items: [{
title: 'TabPanels',
scrollable: 'vertical',
html: '<p><a href="mailtomyemail@gmail.com?subject=test_me&body=simple_text">email</a>.</p>'
},{
title: 'Toolbars',
scrollable: 'vertical',
html: '<p>Toolbars can be used as a title bar or as a container for buttons, or you can mix and match both of these functions.</p>'
}]
}
});
but i don't display a html sheet before
thanks
How to activate direction the email since the icon of a tabpanel.
example while clicking on the icon I arrive direction on the function email of the iphone or ipad with the subject and the body already full meadow
i arrive with :
Ext.define('proto.view.Main', { extend: 'Ext.TabPanel',
requires: [
'proto.view.Home',
'proto.view.More',
'proto.view.Fonction'
],
config: {
tabBar: {
docked: 'bottom',
layout: {
pack: 'center'
}
},
items: [
{ xtype: 'homecard' },
{ xtype: 'contact' },
{ xtype: 'mainpanel'}
]
}
});
Ext.define('proto.view.Home', { extend: 'Ext.TabPanel',
xtype: 'homecard',
config: {
iconCls: 'home',
title: 'home',
defaults: {
styleHtmlContent: true
},
items: [{
title: 'TabPanels',
scrollable: 'vertical',
html: '<p><a href="mailtomyemail@gmail.com?subject=test_me&body=simple_text">email</a>.</p>'
},{
title: 'Toolbars',
scrollable: 'vertical',
html: '<p>Toolbars can be used as a title bar or as a container for buttons, or you can mix and match both of these functions.</p>'
}]
}
});
but i don't display a html sheet before
thanks