Hi Jannis, Thanks! This is exactly what I needed.
David On Jul 24, 2010, at 12:08 PM, Jannis Froese wrote: > > Hi, > I'm not exactly an roundcube developer, but in case you haven't got > the > answer yet: > In program/js/list.js you find the function "use_arrow_key" (row 455) > which > does exactly what you want. Just look at it to see how to do it. > Regards > Jannis > > > On Fri, 23 Jul 2010 11:50:27 -0500, David Harris <[email protected]> > wrote: >> Hi, >> >> [[ I'm happy to work with a consultant to answer this and other >> questions, as per my previous email. However, Thomas suggested I send >> some questions to the dev list, so I'm doing that. ]] >> >> I want to create a button to move to the next or previous message in >> a mailbox listing page. And if we're at the last message in a page >> and someone clicks to go to the next message, then we will move to >> the first message in the next page. >> >> I've found: >> rcmail.command('nextmessage'); >> rcmail.command('previousmessage'); >> but they only appear to work on message listing page. >> >> For the mailbox listing page, I've found these functions to move back >> and forward through the page list: >> rcmail.command('previouspage'); >> rcmail.command('nextpage'); >> >> Is there a command to do this? >> >> I see that the down and up arrow seem to do what I want. Do you have >> a keypress handler doing this that calls a command? (I can't find >> it.) >> >> Thanks, >> >> David Harris >> DRH Internet Inc. >> 972-572-0900 >> >> >> >> >> _______________________________________________ >> List info: http://lists.roundcube.net/dev/ _______________________________________________ List info: http://lists.roundcube.net/dev/
