navigation with PgDown,PgUp,Home,End

navigation with PgDown,PgUp,Home,End

PROpheTPROpheT Posts: 12Questions: 0Answers: 0
edited July 2011 in KeyTable
Is this possible? or only with keys combination?

Replies

  • PROpheTPROpheT Posts: 12Questions: 0Answers: 0
    very quick solution (in keyTable.min.js - _fnKey() function)
    [code]
    case 34: /* page down arrow */
    I = c;
    O = (a < H - 10) ? (a + 10) : (a + (H-1-a));
    break;
    case 33: /* page up arrow */
    I = c;
    O = (a > 10) ? (a - 10) : 0;
    break;
    case 36: /* home arrow */
    if (a > 0 ) {
    I = c;
    O = 0;} else {return false;}break;
    case 35: /* end arrow */
    if (a < H - 1) {
    I = c;
    O = a + H - 1;} else {return false;}break;[/code]
This discussion has been closed.