Team:UCLA/anuved verma ucla2014 workspace/Javascript

From 2014.igem.org

(Difference between revisions)
Line 175: Line 175:
         }
         }
     });
     });
-
 
+
    $('.slider_right').click(function(){
 +
        //if(count < total){
 +
            $('.slider_imgs').stop(true,true).animate({ left: '-=500px'}, 250);
 +
            count += 1;
 +
        //} else{
 +
            $('.slider_imgs').stop(true,true).animate({ left: '+=1500px'}, 250);
 +
            count = 0'
 +
        //}
 +
    });
   });
   });
</script>
</script>
</html>
</html>

Revision as of 08:09, 20 September 2014