Orbit/public/desktop_widgets/twitter/index.html.erb

32 lines
636 B
Plaintext

<script charset="utf-8" src="http://widgets.twimg.com/j/2/widget.js"></script>
<div id="twitter">
<script>
new TWTR.Widget({
version: 2,
type: 'search',
search: 'rainbow',
interval: 30000,
title: 'It\'s a double rainbow',
subject: 'Across the sky',
width: 250,
height: 300,
theme: {
shell: {
background: '#8ec1da',
color: '#ffffff'
},
tweets: {
background: '#ffffff',
color: '#444444',
links: '#1985b5'
}
},
features: {
scrollbar: false,
loop: true,
live: true,
behavior: 'default'
}
}).render().start();
</script>
</div>