Advertisement
Guest User

Untitled

a guest
Mar 24th, 2014
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.80 KB | None | 0 0
  1. var previewSrc = "";
  2. var sample = '';
  3.  
  4. var content = '<br /><br />';
  5.  
  6. var description = '';
  7.  
  8. if(selectedText != '') {
  9. content = selectedText;
  10. }
  11.  
  12. xt_wpShortcodeAtts={
  13. attributes:[
  14. {
  15. label:"Style",
  16. id:"style",
  17. help:"The navigation can be normal (top), center and bottom.",
  18. controlType:"select-control",
  19. selectValues:['normal', 'center', 'bottom']
  20. },
  21. {
  22. label:"Scroll",
  23. id:"scroll",
  24. help: "How many items scroll per scroll."
  25. },
  26. {
  27. label:"Visible",
  28. id:"visible",
  29. help:"Minimum of items that MUST be displayed in normal resolution."
  30. },
  31. {
  32. label:"(Optional) Tablet Visible",
  33. id:"ipad",
  34. help:"Items visible at tablet resolution"
  35. },
  36. {
  37. label:"(Optional) Landscape Visible",
  38. id:"land",
  39. help:"Items visible at mobile Landscape resolution"
  40. },
  41. {
  42. label:"(Optional) Portrait Visible",
  43. id:"portrait",
  44. help:"Items visible at mobile Portrait resolution"
  45. },
  46. {
  47. label:"Enable Mouse Wheel Scrolling?",
  48. id:"mousewheel",
  49. help:"Enable or disable mouse wheel scroll.",
  50. controlType:"select-control",
  51. selectValues:['true', 'false']
  52. },
  53. {
  54. label:"Enable Navigation?",
  55. id:"navigation",
  56. help:"Enable or disable navigation.",
  57. controlType:"select-control",
  58. selectValues:['true', 'false']
  59. },
  60. {
  61. label:"Enable Timer?",
  62. id:"timer",
  63. help:"Enable or disable timer.",
  64. controlType:"select-control",
  65. selectValues:['false', 'true']
  66. },
  67. {
  68. label:"Duration",
  69. id:"duration",
  70. help:"Duration of timer or autoslide. Default: 800"
  71. },
  72. {
  73. label:"Autoplay?",
  74. id:"autoplay",
  75. help:"Enable or disable autoslide (autoplay)?",
  76. controlType:"select-control",
  77. selectValues:['true', 'false']
  78. }
  79. ],
  80. defaultContent:content,
  81. shortcode:"carousel"
  82. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement