sns.js
This commit is contained in:
16
js/sns.js
Normal file
16
js/sns.js
Normal 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;
|
||||||
|
});
|
||||||
|
});
|
||||||
Reference in New Issue
Block a user