$("body").keydown(function(e) { if(e.keyCode == 37) { // left $("#showroom").animate({ left: "-=980" }); } else if(e.keyCode == 39) { // right $("#showroom").animate({ left: "+=980" }); } });
2.1m questions
2.1m answers
60 comments
57.0k users