Created
April 8, 2018 17:17
-
-
Save tonysaffo/e679163d44cb79b6a8aed91ac18a0ab8 to your computer and use it in GitHub Desktop.
Slider Image HTML
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
<div class="saffslider"> | |
<div class="saffslider__slide" style="background-image: url(img/slide-test.jpg);"></div> | |
<div class="saffslider__slide" style="background-image: url(img/wrapper-background.jpg);"></div> | |
<div class="saffslider__slide" style="background-image: url(img/slide-test.jpg);"></div> | |
</div> | |
<script src="libs/jquery-3.3.1.min.js"></script> | |
<script src="libs/saffslider/saffslider.js"></script> | |
<script> | |
$('.saffslider').myfunction({ | |
transition: 1000, | |
changeDelay: 5000, | |
isLooping: true | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment