revolution-slider-shop-electronics.js 3.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. var tpj = jQuery;
  2. var revapi490;
  3. tpj(document).ready(function() {
  4. if (tpj("#rev_slider_1").revolution == undefined) {
  5. revslider_showDoubleJqueryError("#rev_slider_1");
  6. } else {
  7. revapi490 = tpj("#rev_slider_1").show().revolution({
  8. sliderType: "standard",
  9. jsFileLocation: "../../assets/vendor/revolution/js/",
  10. sliderLayout: "auto",
  11. fullScreenAutoWidth: "off",
  12. fullScreenAlignForce: "off",
  13. fullScreenOffsetContainer: ".header",
  14. dottedOverlay: "none",
  15. delay: 9000,
  16. navigation: {
  17. keyboardNavigation: "off",
  18. keyboard_direction: "horizontal",
  19. mouseScrollNavigation: "off",
  20. mouseScrollReverse: "default",
  21. onHoverStop: "on",
  22. touch: {
  23. touchenabled: "on",
  24. swipe_threshold: 75,
  25. swipe_min_touches: 50,
  26. swipe_direction: "horizontal",
  27. drag_block_vertical: false
  28. },
  29. arrows: {
  30. style: "zeus",
  31. enable: true,
  32. hide_onmobile: true,
  33. hide_under: 600,
  34. hide_onleave: true,
  35. hide_delay: 200,
  36. hide_delay_mobile: 1200,
  37. tmp: '<div class="tp-title-wrap"> <div class="tp-arr-imgholder"></div> </div>',
  38. left: {
  39. h_align: "left",
  40. v_align: "center",
  41. h_offset: 30,
  42. v_offset: 0
  43. },
  44. right: {
  45. h_align: "right",
  46. v_align: "center",
  47. h_offset: 30,
  48. v_offset: 0
  49. }
  50. },
  51. bullets: {
  52. enable: true,
  53. hide_onmobile: true,
  54. hide_under: 800,
  55. style: "zeus",
  56. hide_onleave: false,
  57. direction: "horizontal",
  58. h_align: "center",
  59. v_align: "bottom",
  60. h_offset: 0,
  61. v_offset: 30,
  62. space: 5,
  63. tmp: '<span class="tp-bullet-image"></span><span class="tp-bullet-imageoverlay"></span><span class="tp-bullet-title">{{title}}</span>'
  64. }
  65. },
  66. responsiveLevels: [1240, 1024, 778, 480],
  67. visibilityLevels: [1240, 1024, 778, 480],
  68. gridwidth: [1240, 1024, 778, 480],
  69. gridheight: [600, 500, 400, 300],
  70. lazyType: "none",
  71. parallax: {
  72. type: "mouse",
  73. origo: "slidercenter",
  74. speed: 2000,
  75. levels: [2, 3, 4, 5, 6, 7, 12, 16, 10, 50, 46, 47, 48, 49, 50, 55],
  76. type: "mouse",
  77. },
  78. shadow: 0,
  79. spinner: "off",
  80. autoHeight: "off",
  81. disableProgressBar: "on",
  82. hideThumbsOnMobile: "off",
  83. hideSliderAtLimit: 0,
  84. hideCaptionAtLimit: 0,
  85. hideAllCaptionAtLilmit: 0,
  86. debugMode: false,
  87. fallbacks: {
  88. simplifyAll: "off",
  89. disableFocusListener: false,
  90. }
  91. });
  92. }
  93. }); /*ready*/