UnThreaded | Threaded | Whole Thread (25) | Ignore Thread Prev | Next
Author: snaray Big red star, 1000 posts Old School Fool Add to my Favorite Fools Ignore this person (you won't see their posts anymore) Number: of 190803  
Subject: Re: Enter=Next Date: 1/9/2002 10:39 PM
Post New | Post Reply | Reply Later | Create Poll Report this Post | Recommend it!
Recommendations: 0

Also < is "prev" and > is "next" if you do them with shift (i.e., comma and period).

Not using the shift key with the comma/period appears to work too.

Looking back at that JavaScript code, these are the keys that the script checks for:

13 = Enter - (next)
220 = "\" - (prev)
188 = "," (aka the "<" key) - (prev)
190 = "." (aka ">") - (next)

Note, after some experimentation, pressing Shift-Period (to get a ">") generates 2 keycode events: 16 for the Shift key (which is ignored) and 190 for the period key (".") which the script uses. Similar for Shift-Comma, generating a 16 and 188.


  - Sri


Post New | Post Reply | Reply Later | Create Poll Report this Post | Recommend it!
Print the post  
UnThreaded | Threaded | Whole Thread (25) | Ignore Thread Prev | Next

Announcements

Foolanthropy 2014!
By working with young, first-time moms, Nurse-Family Partnership is able to truly change lives – for generations to come.
When Life Gives You Lemons
We all have had hardships and made poor decisions. The important thing is how we respond and grow. Read the story of a Fool who started from nothing, and looks to gain everything.
Post of the Day:
Macro Economics

The Story Behind the Story
What was Your Dumbest Investment?
Share it with us -- and learn from others' stories of flubs.
Community Home
Speak Your Mind, Start Your Blog, Rate Your Stocks

Community Team Fools - who are those TMF's?
Contact Us
Contact Customer Service and other Fool departments here.
Work for Fools?
Winner of the Washingtonian great places to work, and "#1 Media Company to Work For" (BusinessInsider 2011)! Have access to all of TMF's online and email products for FREE, and be paid for your contributions to TMF! Click the link and start your Fool career.
Advertisement