Share icons open dialog
g+ icon works and all 3 open in a dialog
This commit is contained in:
parent
aa1fa8b445
commit
2bd73d696a
15
post.hbs
15
post.hbs
|
@ -41,9 +41,18 @@
|
||||||
|
|
||||||
<section class="share">
|
<section class="share">
|
||||||
<h4>Share this post</h4>
|
<h4>Share this post</h4>
|
||||||
<a class="icon-twitter" href="http://twitter.com/share?text={{title}}&url={{url absolute="true"}}"><span class="hidden">Twitter</span></a>
|
<a class="icon-twitter" href="http://twitter.com/share?text={{title}}&url={{url absolute="true"}}"
|
||||||
<a class="icon-facebook" href="http://www.facebook.com/sharer.php?u={{url absolute="true"}}"><span class="hidden">Facebook</span></a>
|
onclick="window.open(this.href, 'twitter-share', 'width=550,height=235');return false;">
|
||||||
<a class="icon-google-plus" href="https://plus.google.com/share?url={{url absolute="true"}}"><span class="hidden">Google+</span></a>
|
<span class="hidden">Twitter</span>
|
||||||
|
</a>
|
||||||
|
<a class="icon-facebook" href="https://www.facebook.com/sharer/sharer.php?u={{url absolute="true"}}"
|
||||||
|
onclick="window.open(this.href, 'facebook-share','width=580,height=296');return false;">
|
||||||
|
<span class="hidden">Facebook</span>
|
||||||
|
</a>
|
||||||
|
<a class="icon-google-plus" href="https://plus.google.com/share?url={{url absolute="true"}}"
|
||||||
|
onclick="window.open(this.href, 'google-plus-share', 'width=490,height=530');return false;">
|
||||||
|
<span class="hidden">Google+</span>
|
||||||
|
</a>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
</footer>
|
</footer>
|
||||||
|
|
Loading…
Reference in New Issue