Skip to content

Commit e7e59af

Browse files
committed
update readme
1 parent f04a205 commit e7e59af

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

README.md

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,18 @@
11
# jquery-scroll-direction-plugin
2-
A jQuery plugin to detect scroll direction.
2+
A lightweight jQuery plugin to detect scroll direction.
33

4-
## CDN
4+
## Getting started
5+
6+
### 1. Include Scroll Direction Plugin to your site.
7+
8+
**Direct Download**
9+
10+
You can [download the plugin directly from Github](https://raw.githubusercontent.com/phucbm/jquery-scroll-direction-plugin/main/jquery.scroll-direction.js).
511

612
```html
7-
<script src="https://cdn.jsdelivr.net/gh/phucbm/jquery-scroll-direction-plugin/jquery.scroll-direction.js"></script>
13+
<script src="your-path/jquery.scroll-direction.js"></script>
814
```
15+
16+
**CDN** [![](https://data.jsdelivr.com/v1/package/gh/phucbm/jquery-scroll-direction-plugin/badge)](https://www.jsdelivr.com/package/gh/phucbm/jquery-scroll-direction-plugin)
17+
18+
You can also browse for the latest version by visiting [Scroll Direction Plugin on jsDelivr](https://cdn.jsdelivr.net/gh/phucbm/jquery-scroll-direction-plugin/)

0 commit comments

Comments
 (0)