Skip to content

Commit

Permalink
Add new Twitter Widget
Browse files Browse the repository at this point in the history
  • Loading branch information
chregu authored and chregu committed Jun 11, 2014
1 parent 42d7985 commit f75701a
Showing 1 changed file with 8 additions and 31 deletions.
39 changes: 8 additions & 31 deletions index.html.tmpl
Expand Up @@ -384,37 +384,14 @@ Thanks to Local.ch, which made all the groundwork for this. And thanks to Liip (
We can't provide support for this, but Pull Requests are always welcome. And use the <a href="https://github.com/liip/php-osx/issues">github issues page
</a> for filing bug reports.
</p>
<div style="position: absolute; top: 105px; left: 660px;"><script src="http://widgets.twimg.com/j/2/widget.js"></script>
<script>
new TWTR.Widget({
version: 2,
type: 'profile',
rpp: 10,
interval: 6000,
width: 250,
height: 400,
theme: {
shell: {
background: '#fff',
color: '#333'
},
tweets: {
background: '#ffffff',
color: '#333',
links: '#009bb4'
}
},
features: {
scrollbar: false,
loop: false,
live: false,
hashtags: true,
timestamp: true,
avatars: false,
behavior: 'all'
}
}).render().setUser('php_osx').start();
</script>
<div style="position: absolute; top: 195px; left: 660px;"><script src="http://widgets.twimg.com/j/2/widget.js"></script>
<a class="twitter-timeline" href="https://twitter.com/php_osx" data-widget-id="476656214785290240">Tweets by @php_osx</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>





</div>
<h2 id="latest">Latest releases
</h2>
Expand Down

0 comments on commit f75701a

Please sign in to comment.