File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ Key-features are:
22
22
```
23
23
With external hosted file:
24
24
``` html
25
- <script src =" https://cdnjs.cloudflare.com/ajax/libs/scrollEvent.js/ 1.0.1/scrollEvent.min.js" ></script >
25
+ <script src =" https://cdn.jsdelivr.net/npm/scrolleventjs@ 1.0.1/src /scrollEvent.min.js" ></script >
26
26
```
27
27
2 . Now add ScrollEvent listener to an element:
28
28
Original file line number Diff line number Diff line change 4
4
< meta charset ="utf-8 " />
5
5
< meta name ="viewport " content ="width=device-width, initial-scale=1.0 " />
6
6
< title > scrollEvent.js – Fast and lightweight scroll event listener JS library</ title >
7
- < script src ="https://raw.githubusercontent.com/bitnulleins/scrollEvent.js/master /src/scrollEvent.min.js "> </ script >
7
+ < script src ="https://cdn.jsdelivr.net/npm/scrolleventjs@1.0.1 /src/scrollEvent.min.js "> </ script >
8
8
< script src ="https://code.jquery.com/jquery-1.12.4.min.js " integrity ="sha256-ZosEbRLbNQzLpnKIkEdrPv7lOy9C27hHQ+Xp8a4MxAQ= " crossorigin ="anonymous "> </ script >
9
9
< style type ="text/css ">
10
10
@import url ('https://fonts.googleapis.com/css?family=Open+Sans&display=swap' );
You can’t perform that action at this time.
0 commit comments