Created
May 15, 2013 15:29
-
-
Save dvdpearson/5584842 to your computer and use it in GitHub Desktop.
Unslider
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
<script src="//code.jquery.com/jquery-latest.min.js"></script> | |
<script src="//unslider.com/unslider.min.js"></script> | |
<div class="banner"> | |
<ul> | |
<li>This is a slide.</li> | |
<li>This is another slide.</li> | |
<li>This is a final slide.</li> | |
</ul> | |
</div> |
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
.banner { position: relative; overflow: auto; } | |
.banner li { list-style: none; } | |
.banner ul li { float: left; } |
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
$(function() { | |
$('.banner').unslider(); | |
}); |
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
http://unslider.com/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment