Untitled


SUBMITTED BY: Guest

DATE: Dec. 27, 2013, 5:03 a.m.

FORMAT: Text only

SIZE: 2.5 kB

HITS: 803

  1. exporting: {
  2. buttons: [
  3. {
  4. text: 'Download',
  5. x: -82,
  6. symbolFill: '#B5C9DF',
  7. hoverSymbolFill: 'red',
  8. menuItems: [
  9. {
  10. text: 'Print',
  11. onclick: function() {
  12. alert('blue menu 1');
  13. }
  14. },
  15. {
  16. text: 'Download as PNG',
  17. onclick: function() {
  18. alert('blue menu10000');
  19. }
  20. }
  21. ]
  22. },
  23. {
  24. text: 'Share',
  25. x: -10,
  26. symbolFill: '#B5C9DF',
  27. hoverSymbolFill: 'blue',
  28. menuItems: [{
  29. text: 'Share on facebook',
  30. onclick: function() {
  31. alert('Facebook Share');
  32. }},
  33. {
  34. text: 'Share on twitter',
  35. onclick: function() {
  36. alert('Twitter share');
  37. }}
  38. ]}]
  39. }
  40. exporting: {
  41. buttons: {
  42. contextButton: {
  43. menuItems: [{
  44. text: 'Export to PNG (small)',
  45. onclick: function() {
  46. alert('EXPORT PNG small');
  47. }
  48. }, {
  49. text: 'Export to PNG (large)',
  50. onclick: function() {
  51. alert('EXPORT PNG large');
  52. },
  53. separator: false
  54. }]
  55. },
  56. testButton: {
  57. symbol: 'diamond',
  58. x: -62,
  59. symbolFill: '#B5C9DF',
  60. hoverSymbolFill: '#779ABF',
  61. _titleKey: 'printButtonTitle',
  62. menuItems: [{
  63. text: 'Facebook',
  64. onclick: function() {
  65. alert('Facebook');
  66. },
  67. }, {
  68. text: 'Twitter',
  69. onclick: function() {
  70. alert('Twitter');
  71. },
  72. separator: false
  73. }]
  74. }
  75. }
  76. }

comments powered by Disqus