This commit is contained in:
whitedot
2013-05-13 16:05:57 +09:00
parent 1937e6d638
commit deb767b0d9

16
js/sns.js Normal file
View File

@ -0,0 +1,16 @@
$(function() {
$(".share-facebook").click(function() {
window.open($(this).attr("href"), "win_facebook", "menubar=1,resizable=1,width=600,height=400");
return false;
});
$(".share-twitter").click(function() {
window.open($(this).attr("href"), "win_twitter", "menubar=1,resizable=1,width=600,height=350");
return false;
});
$(".share-googleplus").click(function() {
window.open($(this).attr("href"), "win_googleplus", "menubar=1,resizable=1,width=600,height=600");
return false;
});
});