girtskazus Posted February 25, 2011 Share Posted February 25, 2011 How to create code so that it is possible to open next and previous image by pressing arrow keys on keyboard? Quote Link to comment Share on other sites More sharing options...
codefossa Posted February 25, 2011 Share Posted February 25, 2011 Detect the key has been pressed: http://api.jquery.com/keydown/ Load next image into the div: http://api.jquery.com/load/ Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.