I pieced together this block of code to advance the user further left/right than normally. It works well and I'd like the same for up/down. If someone is in the know, I'd be grateful for a reply! Thanks all.
$(document).keydown(function(e) {
if (e.keyCode == 37) {
var leftPos = $('.jcarousel').scrollLeft();
$(".jcarousel").animate({
scrollLeft: leftPos - 800
}, 800);
return false;
}
if (e.keyCode == 39) {
var leftPos = $('.jcarousel').scrollLeft();
$(".jcarousel").animate({
scrollLeft: leftPos + 800
}, 800);
return false;
}
if (e.keyCode == 40) {
var topPos = $('.wrapper').scrollTop();
// DO SOMETHING, BUT WHAT?
return false;
}
if (e.keyCode == 38) {
// DO SOMETHING, BUT WHAT?
return false;
}
});