Skip to content
This repository has been archived by the owner on Sep 26, 2022. It is now read-only.

Latest commit

 

History

History
22 lines (15 loc) · 601 Bytes

README.md

File metadata and controls

22 lines (15 loc) · 601 Bytes

JsAnimScroll

Webpage element scroll animation using pure javascript without jquery

easeInOutQuad method has been copied from https://gist.github.com/andjosh/6764939 thanks for andjosh.

@edit 2017-12-02 00:01

I resigned from the andjoshs' function.

I read this:

and I checked this:

and I wrote own cubic bezier methods.

Example of use in html file:

function onClickFunction(){ jsAnimScroll.linear(window, 1750, 3000); }