jQuery custom lighbox
jQuery custom lighbox
Out of context: Reply #2
- Started
- Last post
- 30 Responses
- acescence0
here's how to detect if left/right key was pressed...
$(document).keydown(function(e){
switch(e.keyCode){
case 37:
alert('right');
break;
case 39:
alert('left');
break;
};
});