Hey JP,
Sure, you can use it. In order to exclude butons from opening in a popup just add
.not("li.shariff-button.xxxxxxxxx a")
where xxxxxxx is the css class name of the button you like to exclude.
For example to exclude Facebook from opening in a popup, use:
<!-- Shariff Popup -->
<script>jQuery.noConflict(),jQuery(document).ready(function(e){e(".shariff a").not("li.shariff-button.facebook a").click(function(n){n.preventDefault();var t=e(this).attr("href"),o=screen.width/2-275,r=screen.height/2-200;return window.open(t,"_blank","height=400, width=550, status=yes, toolbar=no, menubar=no, location=no, top="+r+", left="+o),!1})});</script>
To exclude more buttons use:
<!-- Shariff Popup -->
<script>jQuery.noConflict(),jQuery(document).ready(function(e){e(".shariff a").not("li.shariff-button.xxxxx-1 a").not("li.shariff-button.xxxxx-2 a").not("li.shariff-button.xxxxx-3 a").click(function(n){n.preventDefault();var t=e(this).attr("href"),o=screen.width/2-275,r=screen.height/2-200;return window.open(t,"_blank","height=400, width=550, status=yes, toolbar=no, menubar=no, location=no, top="+r+", left="+o),!1})});</script>
Since I only use FB, G+, Twitter and reddit buttons, I did not need to exclude a service yet.
Hope that helps.
BR
Nils
-
This reply was modified 8 years, 6 months ago by
jackennils.