Created
July 3, 2012 15:06
-
-
Save johnnyfreeman/3040308 to your computer and use it in GitHub Desktop.
Revolver.js Transition: None
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
#my_slider { | |
width: 720px; | |
height: 300px; | |
overflow: hidden; | |
position: relative; | |
} | |
#my_slider .slide { | |
left: 0; | |
position: absolute; | |
top: 0; | |
} | |
#my_slider .hidden { | |
display: none; | |
} |
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 id="my_slider"> | |
<img class="slide" src="../assets/img/1.png" alt="" /> | |
<img class="slide hidden" src="../assets/img/2.png" alt="" /> | |
<img class="slide hidden" src="../assets/img/3.png" alt="" /> | |
<img class="slide hidden" src="../assets/img/4.png" alt="" /> | |
<img class="slide hidden" src="../assets/img/5.png" alt="" /> | |
<img class="slide hidden" src="../assets/img/6.png" alt="" /> | |
</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
$('#my_slider').revolver({transition: {type: 'none'}}); |
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
$('my_slider').revolver({transition: {type: 'none'}}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment