sns 공유하기 팝업으로 코드 수정

This commit is contained in:
chicpro
2013-05-13 15:26:27 +09:00
parent 0cfc7de653
commit 8995ce6e19
16 changed files with 89 additions and 60 deletions

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;
});
});