page-scroll-indicator | A very simple JS plugin to display how far a page | Plugin library
kandi X-RAY | page-scroll-indicator Summary
kandi X-RAY | page-scroll-indicator Summary
An simple JS plugin to fix a small progress bar to the top of a page that tracks how far the user has scrolled vertically.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of page-scroll-indicator
page-scroll-indicator Key Features
page-scroll-indicator Examples and Code Snippets
Community Discussions
Trending Discussions on page-scroll-indicator
QUESTION
I'm trying to get the JQuery Ripple effect to work on a container within my page (#middle-container) but for some reason its not working and I've looked at resources and I'm pretty sure I'm using the right code, but I'm making it in Squarespace so I'm not sure if that makes a notable difference.
Here is a link to the website: Solace
The password is: solace (private until I've finished with it)
Below is a direct snippet of my code:
...ANSWER
Answered 2021-Mar-03 at 13:47It looks like the two scripts (the one for JQuery and the one for Ripples) are not present on the home page of the site in question.
It looks like you added them to your /home
page here, but that page is not set as your actual home page. You may be aware of that, but thought it was worth mentioning. Because I work with Squarespace a lot, I knew to look for that, but others here on StackOverflow would not know to go to /home
to see what you're referring to. Keep that in mind.
In any case, to fix the issue, move your JavaScript code (from the first snippet in your question above) to Footer code injection instead of Header code injection. It must be in Footer code injection because, otherwise, it executes before your .ripples
element is present, and so therefore the code does nothing.
So, move it to Footer code injection so that, when it runs, the element with class="ripples"
is present.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install page-scroll-indicator
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page