You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -94,7 +94,7 @@ The following snippet is the base skeleton of a slider.
94
94
95
95
By default, each slide will have an **auto width and height**.
96
96
You can specify a fixed width and height in CSS yourself,
97
-
or [change some variables](src/scss/_variables.scss) if you are compiling SCSS.
97
+
or [change some variables](https://github.com/codezero-be/jquery-slider/blob/master/src/scss/_variables.scss) if you are compiling SCSS.
98
98
99
99
If you want every slide to take up 100% width of the viewport, simply add the `slide-full-width` class to the `.slider`.
100
100
Or if you want only specific slides to be 100% wide, you can add the `slide-full-width` class to that `.slide`.
@@ -106,11 +106,11 @@ Remember the `.slide` is a `flex` child, so you might want to wrap your content
106
106
in another `<div>` for easier styling or positioning...
107
107
108
108
### Slide Backgrounds
109
-
You can [change some variables](src/scss/_variables.scss) to choose default backgrounds for your slides,
109
+
You can [change some variables](https://github.com/codezero-be/jquery-slider/blob/master/src/scss/_variables.scss) to choose default backgrounds for your slides,
110
110
write your own styles or use a `data-background` attribute to set a specific background image on a slide.
111
111
112
112
If you want the background to zoom in when you hover over it, use `data-zoom-background` instead.
113
-
You can set your own zoom effect in the [variables file](src/scss/_variables.scss),
113
+
You can set your own zoom effect in the [variables file](https://github.com/codezero-be/jquery-slider/blob/master/src/scss/_variables.scss),
114
114
as long as it's a valid CSS `transform` value.
115
115
116
116
```html
@@ -138,7 +138,7 @@ The only thing you might want to hook up yourself is any lightbox you prefer.
138
138
139
139
#### Auto Width Image Slides
140
140
To restrain the image size, you might want to specify a `max-height` for the `<img>`.
141
-
If you set the `$slide-height`[variable in SCSS](src/scss/_variables.scss),
141
+
If you set the `$slide-height`[variable in SCSS](https://github.com/codezero-be/jquery-slider/blob/master/src/scss/_variables.scss),
142
142
this is done automatically.
143
143
144
144
```html
@@ -261,10 +261,10 @@ Same as the hoverlay, if you would like to display an image caption, just add th
261
261
## Options
262
262
If you are using SASS/SCSS, there are a bunch of variables you can tweak to change the behavior of the slider.
263
263
I have added comments, so I hope it will be clear what each option will do.
264
-
Just take a look at the [variables file](src/scss/_variables.scss).
264
+
Just take a look at the [variables file](https://github.com/codezero-be/jquery-slider/blob/master/src/scss/_variables.scss).
265
265
266
266
The javascript side also has some options. These are also commented so I would again suggest to
267
-
take a look at the `defaults` object in the [javascript source file](src/js/slider.js).
267
+
take a look at the `defaults` object in the [javascript source file](https://github.com/codezero-be/jquery-slider/blob/master/src/js/slider.js).
268
268
269
269
Overriding the defaults would take the form of:
270
270
@@ -284,7 +284,7 @@ Make sure you have the latest version of [NodeJS](https://nodejs.org/en/) instal
284
284
- To compile for production (minify/uglify) run `npm run production`.
285
285
286
286
## License
287
-
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.
287
+
The MIT License (MIT). Please see [License File](https://github.com/codezero-be/jquery-slider/blob/master/LICENSE.md) for more information.
0 commit comments