Add an autoplay effect to a portfolio page using layout hover background.
- 7.0
-
Squarespace plan that supports JavaScript.
- Not Applicable
-
Add the following to Website > Pages > Website Tools > Code Injection > HEADER.
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>
-
Site-wide
- Add code from file portfolio page hover background autoplay.html to Website > Pages > Website Tools > Code Injection > FOOTER.
-
Page Specific
- Add code from file portfolio page hover background autoplay.html to Portfolio Settings > Advanced > Page Header Code Injection for the portfolio page. Please see per-page code injection.
-
Read the code for any instructions within.
You can see a demo of this effect here.
Please consider making a donation.
-
2023-05-26
- initial version