Skip to content

Commit

Permalink
Twitter share button added
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucas Bonomi committed Jan 20, 2015
1 parent 26302a8 commit e11d17a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 3 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -541,6 +541,9 @@ <h2>Menu to cross icon</h2>
</div>
<div>
<h3>A project of <a href="http://twitter.com/lukyvj">@LukyVj</a> and some other gitches folks.</h3>
<span class="cf"></span>
<a href="https://twitter.com/share" class="twitter-share-button" data-via="LukyVJ" data-related="bullgit">Tweet</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>

<div>
Expand All @@ -553,7 +556,6 @@ <h3>A project of <a href="http://twitter.com/lukyvj">@LukyVj</a> and some other

<script src="scripts/jquery.min.js"></script>
<script src="scripts/main.js"></script>
<script src="scripts/getCss.js"></script>
<script>
// Sample 1
document.getElementById('x').addEventListener('click', function () {
Expand Down
3 changes: 3 additions & 0 deletions scripts/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ http://lucasbonomi.com
// Unrelated to icons
$('.howmuch').empty().append($('section').length);

setTimeout(function(){
$('#twitter-widget-0').css('transform', 'scale(.8)')
}, 500)


$(document).keydown(function(e) {
Expand Down

0 comments on commit e11d17a

Please sign in to comment.