abrahamwinchester Posted October 22, 2010 Share Posted October 22, 2010 I am working on a gallery. I want to assign accesskey to the Back and Forward button on my keyboard so that when pressed, it will go to next slide. Any idea will very much be appreciated. URGENT Link to comment https://forums.phpfreaks.com/topic/216586-how-can-i-assign-html-accesskey-to-back-and-forward-button/ Share on other sites More sharing options...
mentalist Posted October 26, 2010 Share Posted October 26, 2010 You need the HTML 'onkeypress' attribute, but then to use JS. http://www.w3schools.com/jsref/event_onkeypress.asp Link to comment https://forums.phpfreaks.com/topic/216586-how-can-i-assign-html-accesskey-to-back-and-forward-button/#findComment-1126598 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.