sync
[bootswatch] / Eshopper / js / main.js
1 /*price range*/\r
2 \r
3  $('#sl2').slider();\r
4 \r
5         var RGBChange = function() {\r
6           $('#RGB').css('background', 'rgb('+r.getValue()+','+g.getValue()+','+b.getValue()+')')\r
7         };      \r
8                 \r
9 /*scroll to top*/\r
10 \r
11 $(document).ready(function(){\r
12         $(function () {\r
13                 $.scrollUp({\r
14                 scrollName: 'scrollUp', // Element ID\r
15                 scrollDistance: 300, // Distance from top/bottom before showing element (px)\r
16                 scrollFrom: 'top', // 'top' or 'bottom'\r
17                 scrollSpeed: 300, // Speed back to top (ms)\r
18                 easingType: 'linear', // Scroll to top easing (see http://easings.net/)\r
19                 animation: 'fade', // Fade, slide, none\r
20                 animationSpeed: 200, // Animation in speed (ms)\r
21                 scrollTrigger: false, // Set a custom triggering element. Can be an HTML string or jQuery object\r
22                                         //scrollTarget: false, // Set a custom target element for scrolling to the top\r
23                 scrollText: '<i class="fa fa-angle-up"></i>', // Text for element, can contain HTML\r
24                 scrollTitle: false, // Set a custom <a> title if required.\r
25                 scrollImg: false, // Set true to use image\r
26                 activeOverlay: false, // Set CSS color to display scrollUp active point, e.g '#00FFFF'\r
27                 zIndex: 2147483647 // Z-Index for the overlay\r
28                 });\r
29         });\r
30 });\r