Difference between revisions of "Widget:Twitter"
Jump to navigation
Jump to search
(Created page with '<noinclude>__NOTOC__ This widget allows you to embed '''[http://twitter.com/widgets/html_widget Twitter feed]''' (HTML version) on your wiki page. Created by [http://www.mediawi…') |
|||
(43 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><script src="http://widgets.twimg.com/j/2/widget.js"></script> | |||
<script> | <script> | ||
new TWTR.Widget({ | new TWTR.Widget({ | ||
version: 2, | version: 2, | ||
type: 'profile', | type: 'profile', | ||
rpp: | rpp: 3, | ||
interval: 6000, | interval: 6000, | ||
width: | title: '', | ||
subject: 'Twitter Updates:', | |||
width: '<!--{$width|default:'auto'|escape:'urlpathinfo'}-->', | |||
height: 300, | height: 300, | ||
theme: { | theme: { | ||
shell: { | shell: { | ||
background: '# | background: '#dfe8f3', | ||
color: '# | color: '#000000' | ||
}, | }, | ||
tweets: { | tweets: { | ||
background: '# | background: '#dfe8f3', | ||
color: '# | color: '#000000', | ||
links: '# | links: '#1747e6' | ||
} | } | ||
}, | }, | ||
Line 38: | Line 30: | ||
behavior: 'all' | behavior: 'all' | ||
} | } | ||
}).render().setUser('<!--{$user|escape:' | }).render().setUser('<!--{$user|escape:'urlpathinfo'}-->').start(); | ||
</script></includeonly> | </script></includeonly> |