forked from kenwheeler/slick
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
12 additions
and
130 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,45 +3,20 @@ slick | |
|
||
[1]: <https://github.com/kenwheeler/slick> | ||
|
||
_the last carousel you'll ever need_ | ||
_the last carousel you'll ever need--without the fonts or loading png files_ | ||
|
||
#### Demo | ||
|
||
[http://kenwheeler.github.io/slick](http://kenwheeler.github.io/slick/) | ||
|
||
#### CDN | ||
|
||
To start working with Slick right away, there's a couple of CDN choices available | ||
to serve the files as close, and fast as possible to your users: | ||
|
||
- https://cdnjs.com/libraries/slick-carousel | ||
- https://www.jsdelivr.com/projects/jquery.slick | ||
|
||
##### Example using jsDelivr | ||
|
||
Just add a link to the css file in your `<head>`: | ||
|
||
```html | ||
<!-- Add the slick-theme.css if you want default styling --> | ||
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/[email protected]/slick/slick.css"/> | ||
<!-- Add the slick-theme.css if you want default styling --> | ||
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/[email protected]/slick/slick-theme.css"/> | ||
``` | ||
|
||
Then, before your closing ```<body>``` tag add: | ||
|
||
```html | ||
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/[email protected]/slick/slick.min.js"></script> | ||
``` | ||
|
||
#### Package Managers | ||
|
||
```sh | ||
# Bower | ||
bower install --save slick-carousel | ||
bower install --save slick-carousel-no-font-no-png | ||
|
||
# NPM | ||
npm install slick-carousel | ||
npm install slick-carousel-no-font-no-png | ||
``` | ||
|
||
#### Contributing | ||
|
@@ -265,8 +240,6 @@ $(element).slick('unslick'); | |
Variable | Type | Default | Description | ||
------ | ---- | ------- | ----------- | ||
$slick-font-path | string | "./fonts/" | Directory path for the slick icon font | ||
$slick-font-family | string | "slick" | Font-family for slick icon font | ||
$slick-loader-path | string | "./" | Directory path for the loader image | ||
$slick-arrow-color | color | white | Color of the left/right arrow icons | ||
$slick-dot-color | color | black | Color of the navigation dots | ||
$slick-dot-color-active | color | $slick-dot-color | Color of the active navigation dot | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
{ | ||
"name": "slick-carousel", | ||
"name": "slick-carousel-no-font-no-png", | ||
"version": "1.8.1", | ||
"description": "the last carousel you'll ever need", | ||
"description": "the last carousel you'll ever need--without the fonts or loading png files", | ||
"main": "slick/slick.js", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/kenwheeler/slick.git" | ||
"url": "https://github.com/teckel12/slick.git" | ||
}, | ||
"keywords": [ | ||
"carousel", | ||
|
@@ -38,11 +38,15 @@ | |
{ | ||
"name": "ashley mcknight", | ||
"email": "[email protected]" | ||
}, | ||
{ | ||
"name": "tim eckel", | ||
"email": "[email protected]" | ||
} | ||
], | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/kenwheeler/slick/issues" | ||
"url": "https://github.com/teckel12/slick/issues" | ||
}, | ||
"peerDependencies": { | ||
"jquery": ">=1.8.0" | ||
|
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters