0

I'm trying to use the Stellar Jquery plugin to have a parallax scrolling on a background image, but it does not appear to be working, I've tried many different variables

<script
  src="https://code.jquery.com/jquery-3.3.1.min.js"
  integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8="
  crossorigin="anonymous"></script>
  <script src="js/jquery.stellar.min.js"></script>
<script src="js/script.js"></script>

I put my script tags after the body

<section class="hashtag" data-stellar-background-ratio="0.5">

This is the section I'm trying to apply the scrolling

I've done everything -> background-attachment:fixed; , $.stellar(); I cant find the issue , doc for reference -> Doc

DannyV
  • 220
  • 1
  • 6
  • Please [edit] your question to include a [mcve] that reproduces the issue. –  Sep 15 '18 at 15:46
  • Have you checked the browser's console for errors? – j08691 Sep 15 '18 at 16:11
  • @j08691 Uncaught TypeError: e.indexOf is not a function at w.fn.init.w.fn.load (jquery-3.3.1.min.js:2) at e.refresh (jquery.stellar.min.js:2) at e.init (jquery.stellar.min.js:2) at new e (jquery.stellar.min.js:2) at HTMLElement. (jquery.stellar.min.js:2) at Function.each (jquery-3.3.1.min.js:2) at w.fn.init.each (jquery-3.3.1.min.js:2) at w.fn.init.a.fn.(anonymous function) [as stellar] (file:///Users/DanV/Documents/brandUpdate/js/jquery.stellar.min.js:2:11959) at HTMLDocument. (script.js:11) at l (jquery-3.3.1.min.js:2) – DannyV Sep 15 '18 at 16:14

0 Answers0