Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(document).ready(function() {
- $(".carousel").swiperight(function() {
- $(this).carousel('prev');
- });
- $(".carousel").swipeleft(function() {
- $(this).carousel('next');
- });
- });
- $(function(){
- $( ".news-slide-content-img" ).on( "swipeleft", swipeleftHandler );
- $( ".news-slide-content-img" ).on( "swiperight", swiperightHandler );
- function swipeleftHandler( ){
- plusSlides(1).css('display', 'block');
- }
- function swiperightHandler( ){
- plusSlides(-1).css('display', 'none');
- }
- });
Add Comment
Please, Sign In to add comment