javascript - How to use slider project from GitHub? -
i use following project on github website: https://github.com/andreruffert/rangeslider.js. first me please bare me have looked @ threads , can't pinpoint code wrong.
<head> <title> slider </title> <link type="text/css" rel="stylesheet" href="https://github.com/andreruffert/rangeslider.js/blob/develop/src/rangeslider.scss" /> <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script> <script src = "http://andreruffert.github.io/rangeslider.js/assets/rangeslider.js/dist/rangeslider.min.js"> </script>
then in body section have:
<input type="range" min="10" max="1000" step="10" value="300"> <script> $('input[type="range"]').rangeslider({ polyfill: false }); </script>
with code, cant see slider on page. doing wrong?
i've been testing on internet explorer , chrome.
i have installed files both zip file download , npm install.
i found solution problem, , in case struggling similar.. there seemed issue links.. here using , works:
"https://cdnjs.cloudflare.com/ajax/libs/rangeslider.js/1.2.2/rangeslider.min.css"
"//code.jquery.com/jquery-1.11.3.min.js"
"http://andreruffert.github.io/rangeslider.js/assets/rangeslider.js/dist/rangeslider.min.js">
Comments
Post a Comment