Unanswered: Using addthis share tool in sencha touch
Unanswered: Using addthis share tool in sencha touch
Hi,
I am new to sencha touch & developing a sencha touch application where I need to use the addthis tool(share tool), what I am doing.....
{ xtype:'panel',
html:'',
height: 100,
listeners:{
'render': function(panel) {
var html = '<div class="addthis_toolbox addthis_default_style "><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a><a class="addthis_counter addthis_bubble_style"></a></div><script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=ra-4e68c0060770fbd6"></script>';
panel.update(html, true, function() {
// called after the scripts are loaded. this is an optional param
});
}
}
},
but without any success, I am unable to see the share button. Can anybody tell me what I am doing wrong ? how can I get addthis tool working with sencha touch. thanks arpan.....
I have a problem with AddThis too. I'm using Sencha Touch 2 and when I try to paste AddThis code to my app the following happens - buttons are displayed correctly and on desktop everything is working perfectly, but, on iPad when I tap any share button it becomes highlighted (like hover state) and nothing more happens. It is not an issue of my particular app, because I tried to paste AddThis to one of the sencha example app and the result is the same.
Maybe it's an issue of sencha or maybe I do something wrong. Looking forward for your answer. Thanks in advance.