I am trying to implement a star plugin, and as far as I can see, I have included all the necessary js. However, in the dev tool console, I keep getting "Uncaught TypeError: $ (...). Stellar is not a function."
This is what I have in the headers:
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UFT-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>QE | Welcome</title> <link rel="stylesheet" href="css/foundation.css" /> <link rel="stylesheet" href="css/stuff.css"/> <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script> <link rel="stylesheet" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.2/themes/smoothness/jquery-ui.css" /> <script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.2/jquery-ui.min.js"></script> <script src="js/jquery.stellar.js"></script> <script src="js/scrip.js"></script> <script src="js/jquery.nicescroll.js"></script>
And this is the scrip.js file referenced by the error:
$(document).ready(function() { $(window).stellar(); }); $(document).ready( function() { $("html").niceScroll({ cursorcolor:"rgba(30,30,30,.5)", zindex:999, scrollspeed:100, mousescrollstep:50, cursorborder:"0px solid #fff", }); });
Please help me
javascript jquery html
Seb
source share