Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 09-21-2010, 07:35 AM   #1
iaw4
Junior Member
iaw4 began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Sep 2010
Device: kindle
browser app --- forward backward keys?

I would like to write a web application for a kindle. I would also like it to use the forward and backward keys in the browser itself (e.g., to go to another page). is this possible? what are the keys assigned to while in the browser?

sincerely,

/iaw
iaw4 is offline   Reply With Quote
Old 10-29-2010, 02:47 PM   #2
Acorn
Connoisseur
Acorn is on a distinguished road
 
Posts: 56
Karma: 74
Join Date: Oct 2010
Device: Kindle 3
The keycode for the back button is 33 and the forward button is 34.

I found out by using the tool at the bottom of this page: http://www.quirksmode.org/js/keys.html

All you would need to do is capture those key events [s]and stop them from doing their normal function[/s] which can easily be done using javascript/jquery.

Edit: I can't seem to find a way to stop the buttons from scrolling the page, so you need to make sure the page doesn't go over the window, or just don't worry about it scrolling if it doesn't effect what you're trying to do.

Last edited by Acorn; 10-29-2010 at 03:22 PM.
Acorn is offline   Reply With Quote
Advert
Reply

Tags
browser


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Doing things backward lol, HI!!! AFK_Matrix Introduce Yourself 7 02-17-2010 09:59 AM
Going backward to 500? revfish Sony Reader 21 10-24-2008 07:50 AM
Science Fiction Bellamy, Edward: Looking Backward, v.1, 2 May 2008. Patricia IMP Books 0 05-01-2008 07:58 PM
Science Fiction Bellamy, Edward: Looking Backward, v.1, 2 May 2008. Patricia Kindle Books 0 05-01-2008 07:57 PM
Science Fiction Bellamy, Edward: Looking Backward, v.1, 2 May 2008. Patricia BBeB/LRF Books 0 05-01-2008 07:53 PM


All times are GMT -4. The time now is 06:11 PM.


MobileRead.com is a privately owned, operated and funded community.