1. #1
    Sencha User
    Join Date
    Oct 2011
    Posts
    3
    Vote Rating
    1
    arpandhar is on a distinguished road

      0  

    Default 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.....

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,791
    Answers
    3465
    Vote Rating
    833
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Do you have to have a <div> with a certain id for it to render?
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    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 in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User
    Join Date
    Apr 2012
    Posts
    4
    Vote Rating
    0
    elitemaks is on a distinguished road

      0  

    Default


    Hi,

    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.

Thread Participants: 2

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi