This repository has been archived by the owner on May 5, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 159
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
5 changed files
with
58 additions
and
8 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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Ideal Image Slider Changelog | ||
|
||
Version 1.0.0 - 2014.09.02 | ||
-------------------------- | ||
* Initial release |
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"name": "ideal-image-slider", | ||
"main": "ideal-image-slider.js", | ||
"version": "1.0.0", | ||
"homepage": "https://github.com/gilbitron/Ideal-Image-Slider", | ||
"authors": [ | ||
"Gilbert Pellegrom <[email protected]>" | ||
], | ||
"description": "Quite simply the ideal Image Slider in vanilla JS", | ||
"keywords": [ | ||
"image", | ||
"slider", | ||
"javascript", | ||
"vanilla" | ||
], | ||
"license": "MIT", | ||
"ignore": [ | ||
"**/.*", | ||
"node_modules", | ||
"bower_components", | ||
"tests" | ||
] | ||
} |
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 |
---|---|---|
|
@@ -6,29 +6,29 @@ | |
<title>Ideal Image Slider Example</title> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<link rel="stylesheet" href="css/normalize.css"> | ||
<link rel="stylesheet" href="css/style.css"> | ||
<link rel="stylesheet" href="../ideal-image-slider.css"> | ||
<link rel="stylesheet" href="../themes/default/default.css"> | ||
<style media="screen"> | ||
.slider { | ||
#slider { | ||
max-width: 900px; | ||
margin: 50px auto; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
|
||
<div class="slider"> | ||
<img src="img/1.jpg" data-src-2x="img/[email protected]" alt="" /> | ||
<img data-src="img/2.jpg" data-src-2x="img/[email protected]" src="" alt="" /> | ||
<img data-src="img/3.jpg" data-src-2x="img/[email protected]" src="" alt="" /> | ||
<img data-src="img/4.jpg" data-src-2x="img/[email protected]" src="" alt="" /> | ||
<div id="slider"> | ||
<img src="img/1.jpg" data-src-2x="img/[email protected]" alt="Slide 1" /> | ||
<img data-src="img/2.jpg" data-src-2x="img/[email protected]" src="" alt="Slide 2" /> | ||
<img data-src="img/3.jpg" data-src-2x="img/[email protected]" src="" alt="Slide 3" /> | ||
<img data-src="img/4.jpg" data-src-2x="img/[email protected]" src="" alt="Slide 4" /> | ||
<img data-src="img/5.jpg" src="" alt="" /> | ||
</div> | ||
|
||
<script src="../ideal-image-slider.js"></script> | ||
<script> | ||
var slider = new IdealImageSlider.Slider({ | ||
selector: '.slider' | ||
selector: '#slider' | ||
}); | ||
slider.start(); | ||
</script> | ||
|
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