-
24 Jul 2012 5:50 AM #1
how arrive email function with tabpanel option?
how arrive email function with tabpanel option?
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 :
Code: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'} ] } });Code: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
-
25 Jul 2012 11:53 PM #2
Does no one have an idea for this point?
For I see often this kind of action in the movable applications.
The one of has you t it already used this action kind for I do not see the function sencha touch for that.
Thank you
-
26 Jul 2012 3:40 AM #3Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,684
- Vote Rating
- 435
Try having the colon after the mailto in the anchor tag
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
-
26 Jul 2012 8:18 AM #4
I tried these cases but unsuccessfully,
Code: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: 'morecard' }, { xtype: 'mainpanel'}, { title: 'email', html: 'mailto:contact@mysite.com',iconCls: 'home' }, { title: 'email', html: 'contact@mysite.com',iconCls: 'home' }, { title: 'email', mailto: 'contact@mysite.com',iconCls: 'home' } ] } });
i don't search <a href="mailto:contact@mysite.com?subject..">email</a>.


Reply With Quote