views:

15

answers:

1

In this website, an anchor link (right blue arrow) is activated with the right arrow key. I'm not sure if a new page is loaded when that anchor link is activated.

How can I accomplish that effect?

The page also goes to the top when the up (upper?) arrow key is pressed. How can I accomplish that too?

+1  A: 

It's all done through javascript. I didn't look too far into the pages javascript files but the basic concept is to use the javascript onkeypress event to call a change to the current url. This can also be done with jquery .keypress() if you want to use that instead. The same idea goes for the up arrow key function which would possibly just press the page up key for you which can be done with the sendkeys method.

James Santiago