Iframe in sencha Touch -
i need use facebook button iframe in android app...if use code see on pc desktop don't see in android.
do know why , if exist method display button in android? i'm using sencha architect , touch 2.3 thank you
<iframe src="//www.facebook.com/plugins/likebox.php?href=https%3a%2f%2fwww.facebook.com%2ffacebookdevelopers&width&height=62&colorscheme=light&show_faces=false&header=false&stream=false&show_border=false&appid=780849738633803" scrolling="no" frameborder="0" style="border:none; overflow:hidden; height:62px;" allowtransparency="true"></iframe>
it you.
this code:
htmlstrbase1 = '<iframe src="//www.facebook.com/plugins/like.php?href=https%3a%2f%2fwww.facebook.com%2fopticaltrend12345%2f&width&layout=button&action=like&show_faces=false&share=false&height=35&appid=780849738633803" scrolling="no" frameborder="0" style="border:none; overflow:hidden; height:35px;" allowtransparency="true"></iframe>'; component.add({ xtype: 'container', id: 'fb-root', width: 50, height: 20, flex:1, listeners: { initialize : function (container) { (function(d, s, id) { var js, fjs = d.getelementsbytagname(s)[0]; if (d.getelementbyid(id)) return; js = d.createelement(s); js.id = id; js.src = "//connect.facebook.net/en_us/all.js"; fjs.parentnode.insertbefore(js, fjs); }(document, 'script', 'facebook-jssdk')); container.sethtml(htmlstrbase); } } });
Comments
Post a Comment