facebook share button added
This commit is contained in:
parent
112958ac18
commit
0587c118d1
Binary file not shown.
After Width: | Height: | Size: 4.1 KiB |
|
@ -39,3 +39,12 @@
|
|||
</div>
|
||||
|
||||
<%= share_links(@bulletin, 'announcement') %>
|
||||
<a href="" target="_blank" class="fb-share-button">
|
||||
<%= image_tag("announcement/fbn.png",:width=>30, :height=>30) %>
|
||||
</a>
|
||||
|
||||
<script type="text/javascript">
|
||||
(function(){
|
||||
$(".fb-share-button").attr("href","https://www.facebook.com/sharer/sharer.php?u=" + window.location.href);
|
||||
})();
|
||||
</script>
|
Loading…
Reference in New Issue