Difference between revisions of "Widget:Twitter"
Jump to navigation
Jump to search
(42 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: '', | ||
height: | subject: 'Twitter Updates:', | ||
width: '<!--{$width|default:'auto'|escape:'urlpathinfo'}-->', | |||
height: 300, | |||
theme: { | theme: { | ||
shell: { | shell: { | ||
background: '# | background: '#dfe8f3', | ||
color: '# | color: '#000000' | ||
}, | }, | ||
tweets: { | tweets: { | ||
background: '# | background: '#dfe8f3', | ||
color: '# | color: '#000000', | ||
links: '# | links: '#1747e6' | ||
} | } | ||
}, | }, | ||
Line 33: | Line 25: | ||
loop: false, | loop: false, | ||
live: false, | live: false, | ||
hashtags: | hashtags: true, | ||
timestamp: true, | timestamp: true, | ||
avatars: false, | avatars: false, | ||
behavior: 'all' | behavior: 'all' | ||
} | } | ||
}).render().setUser('<!--{$user|escape:' | }).render().setUser('<!--{$user|escape:'urlpathinfo'}-->').start(); | ||
</script></includeonly> | </script></includeonly> |