Add twitter widget into extjs panel
I am new to ExtJs. I have created a twitter widget on twitter. It just
works fine on simple html page. As twitter says you just need to include
<a class="twitter-timeline" href="https://twitter.com/search?q=%23certain"
data-widget-id="widget-id">Tweets about "#certain"</a>
<script>!function(d,s,id){var
js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
Putting this to an html creates a beautiful widget on UI but i want this
to include into an extjs panel. It only creates a hyperlink and not
widget. Can anyone help me.
No comments:
Post a Comment