Difference between revisions of "Widget:Twitter"
Jump to navigation
Jump to search
(22 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
new TWTR.Widget({ | new TWTR.Widget({ | ||
version: 2, | version: 2, | ||
type: ' | type: 'profile', | ||
rpp: 3, | rpp: 3, | ||
interval: 6000, | interval: 6000, | ||
title: '', | title: '', | ||
subject: 'Twitter Updates:', | subject: 'Twitter Updates:', | ||
width: 'auto', | width: '<!--{$width|default:'auto'|escape:'urlpathinfo'}-->', | ||
height: | height: 300, | ||
theme: { | theme: { | ||
shell: { | shell: { | ||
background: '# | background: '#dfe8f3', | ||
color: '# | color: '#000000' | ||
}, | }, | ||
tweets: { | tweets: { | ||
background: '# | background: '#dfe8f3', | ||
color: '# | color: '#000000', | ||
links: '# | links: '#1747e6' | ||
} | } | ||
}, | }, | ||
Line 25: | Line 25: | ||
loop: false, | loop: false, | ||
live: false, | live: false, | ||
hashtags: | hashtags: true, | ||
timestamp: | timestamp: true, | ||
avatars: false, | avatars: false, | ||
behavior: 'all' | behavior: 'all' | ||
} | } | ||
}).render(). | }).render().setUser('<!--{$user|escape:'urlpathinfo'}-->').start(); | ||
</script></includeonly> | </script></includeonly> |