View Single Post
Old 08-21-2007, 02:38 PM   #28
ns66
Connoisseur
ns66 doesn't litterns66 doesn't litter
 
Posts: 78
Karma: 156
Join Date: Jul 2007
Device: sony reader
with this code:

var keyCode2 = part.key.charCodeAt(0);
var keyCode = part.key.charCodeAt(0);
e = this.countPages();

if (keyCode == 0x30) {
this.setPage(Math.round((e*10)/11));
}
else if (keyCode == 0x31) {
this.bubble("doDigit");
}
else if (keyCode == 0x32) {
this.digit(part);
}
else if (keyCode == 0x33) {
this.getModel().doDigit(part);
}
else if (keyCode == 0x34) {
this.setPage(Math.round((e*4)/11));
}

in book list section, 0, 4 works, 1, 2 nothing happened, 3 got a "-" failed indicator for a sec
so it seems the problem is the function to call old code is not any of those
ns66 is offline   Reply With Quote