View Full Version : Using addthis share tool in sencha touch

27 Jan 2012, 5:17 AM
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',
height: 100,
'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.....