Jump to content

LukasEriksen

Member
  • Posts

    28
  • Joined

  • Last visited

Reputation Activity

  1. Like
    LukasEriksen reacted to provenform in Slow/smooth scroll   
    @LukasEriksen This works when inserted into Settings->Advanced->Code Injection:

    You can test by scrolling with your up/down arrow keys and see how it's smooth vs choppy without it.
    <script src="https://code.nath.co/src/jQuery.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/smoothscroll/1.4.10/SmoothScroll.min.js"></script> <script>SmoothScroll({ // Scrolling Core animationTime : 2000, // [ms] stepSize : 100, // [px] // Acceleration accelerationDelta : 50, // 50 accelerationMax : 3, // 3 // Keyboard Settings keyboardSupport : true, // option arrowScroll : 50, // [px] // Pulse (less tweakable) // ratio of "tail" to "acceleration" pulseAlgorithm : true, pulseScale : 4, pulseNormalize : 1, // Other touchpadSupport : false, // ignore touchpad by default fixedBackground : true, excluded : '' })</script>  
  2. Like
    LukasEriksen got a reaction from Beyondspace in Slow/smooth scroll   
    Found another smooth scroll plugin which seems to work even better: https://github.com/gblazex/smoothscroll-for-websites
    No idea how to install it though 😞
  3. Like
    LukasEriksen got a reaction from kika.tuff in Add Confetti to a page   
    @tuanphan this code: <script src="https://www.wpromotions.eu/confetti.min.js"></script><script>confetti.start()</script>
×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.