Skip to content

Commit f14cadd

Browse files
committed
and twitter too
1 parent ccb4dbf commit f14cadd

1 file changed

Lines changed: 32 additions & 1 deletion

File tree

views/index.haml

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,38 @@
4040
%br/
4141
%hr{:style => "height:1px;background-color:#000"}/
4242
%div{:style => "padding-top:1em"}
43-
<iframe src="http://www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.facebook.com%2Fpages%2FHackety-Hack%2F155257947836619&amp;width=292&amp;connections=10&amp;stream=true&amp;header=true&amp;height=587" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:292px; height:587px;" allowTransparency="true"></iframe>
43+
<iframe src="http://www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.facebook.com%2Fpages%2FHackety-Hack%2F155257947836619&amp;width=292&amp;connections=10&amp;stream=true&amp;header=true&amp;height=587" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:292px; height:587px;float:left" allowTransparency="true"></iframe>
44+
<script src="http://widgets.twimg.com/j/2/widget.js"></script>
45+
:javascript
46+
new TWTR.Widget({
47+
version: 2,
48+
type: 'profile',
49+
rpp: 4,
50+
interval: 6000,
51+
width: 250,
52+
height: 300,
53+
theme: {
54+
shell: {
55+
background: '#333333',
56+
color: '#ffffff'
57+
},
58+
tweets: {
59+
background: '#000000',
60+
color: '#ffffff',
61+
links: '#4aed05'
62+
}
63+
},
64+
features: {
65+
scrollbar: false,
66+
loop: false,
67+
live: false,
68+
hashtags: true,
69+
timestamp: true,
70+
avatars: false,
71+
behavior: 'all'
72+
}
73+
}).render().setUser('hacketyhack').start();
74+
4475

4576

4677

0 commit comments

Comments
 (0)