sync
[bootswatch] / Eshopper / js / main.js
diff --git a/Eshopper/js/main.js b/Eshopper/js/main.js
new file mode 100755 (executable)
index 0000000..7cf72fc
--- /dev/null
@@ -0,0 +1,30 @@
+/*price range*/\r
+\r
+ $('#sl2').slider();\r
+\r
+       var RGBChange = function() {\r
+         $('#RGB').css('background', 'rgb('+r.getValue()+','+g.getValue()+','+b.getValue()+')')\r
+       };      \r
+               \r
+/*scroll to top*/\r
+\r
+$(document).ready(function(){\r
+       $(function () {\r
+               $.scrollUp({\r
+               scrollName: 'scrollUp', // Element ID\r
+               scrollDistance: 300, // Distance from top/bottom before showing element (px)\r
+               scrollFrom: 'top', // 'top' or 'bottom'\r
+               scrollSpeed: 300, // Speed back to top (ms)\r
+               easingType: 'linear', // Scroll to top easing (see http://easings.net/)\r
+               animation: 'fade', // Fade, slide, none\r
+               animationSpeed: 200, // Animation in speed (ms)\r
+               scrollTrigger: false, // Set a custom triggering element. Can be an HTML string or jQuery object\r
+                                       //scrollTarget: false, // Set a custom target element for scrolling to the top\r
+               scrollText: '<i class="fa fa-angle-up"></i>', // Text for element, can contain HTML\r
+               scrollTitle: false, // Set a custom <a> title if required.\r
+               scrollImg: false, // Set true to use image\r
+               activeOverlay: false, // Set CSS color to display scrollUp active point, e.g '#00FFFF'\r
+               zIndex: 2147483647 // Z-Index for the overlay\r
+               });\r
+       });\r
+});\r