Advertisement
Guest User

Untitled

a guest
Oct 31st, 2014
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.90 KB | None | 0 0
  1. J'essaie de mettre ça en place : https://github.com/carrot/share-button/wiki/Configuration-Options
  2.  
  3. si je fais ça ça marche :
  4.  
  5. --
  6. jQuery(document).ready(function($){
  7. config = {
  8. networks: {
  9. google_plus: {
  10. enabled: false
  11. },
  12. facebook: {
  13. app_id: "abc123"
  14. },
  15. pinterest: {
  16. enabled: false
  17. },
  18. email: {
  19. enabled: false
  20. }
  21. }
  22. }
  23.  
  24. var share = new Share('.share-button', config);
  25. });
  26. ---
  27.  
  28. Si je fais ça ça marche pas :
  29.  
  30. ---
  31. jQuery(document).ready(function($){
  32. config = {
  33. ui: {
  34. flyout:
  35. button_font:
  36. button_text:
  37. icon_font:
  38. },
  39. networks: {
  40. google_plus: {
  41. enabled: false
  42. },
  43. facebook: {
  44. app_id: "abc123"
  45. },
  46. pinterest: {
  47. enabled: false
  48. },
  49. email: {
  50. enabled: false
  51. }
  52. }
  53. }
  54.  
  55. var share = new Share('.share-button', config);
  56. });
  57. ---
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement