GetDotted Domains

Viewing Thread:
"Web Site query"

The "Freeola Customer Forum" forum, which includes Retro Game Reviews, has been archived and is now read-only. You cannot post here or create a new thread or review on this forum.

Thu 15/05/03 at 16:43
Regular
Posts: 787
Is it possible (using JavaScript) to set up keys on the keayboard to activate certain links on a web page??

For example, I have a series of photos in a Gallery, and when each one is shown in full, there is are "Previous | Home | Next" links for the respective pictures.

Is it possible for say, the 'N' on the keyboard to activate the Next Link, the 'P' for the previous link and 'H' for the Home link??

Thanks to anyone for any details.
Thu 15/05/03 at 22:06
Regular
"You've upset me"
Posts: 21,152
cjh wrote:
> Perfect :)
>
> Thanks for that, and from everyone else.
>
> Does exactly as I'd hoped for :)

*tips hat*

Pleasure t'elp, guvna.
Thu 15/05/03 at 19:36
Regular
"It goes so quickly"
Posts: 4,083
Perfect :)

Thanks for that, and from everyone else.

Does exactly as I'd hoped for :)
Thu 15/05/03 at 19:22
Regular
"You've upset me"
Posts: 21,152
Oh, should probably just mention that this doesn't work for the numbers on the pad on the right or any "special" keys (full stop, comma etc). Although strangely it does work for the numbers along the top... hmm...
Thu 15/05/03 at 19:17
Regular
"You've upset me"
Posts: 21,152




....

All you need to do is (if){then} for the keys and change thre href as necessary.
Thu 15/05/03 at 18:25
Regular
"tinycurve.gif"
Posts: 5,857
Yes, this is possible. I was playign around with it once when I read how to do it. I suppose I could dig it out for oyu if I can find it . . .
Thu 15/05/03 at 17:28
Regular
Posts: 10,437
AH, N is 49, H is 35 and P is 25, I think.

Hope that helps.
Thu 15/05/03 at 17:24
Regular
Posts: 10,437
I would think that's possible.

You'd probably just need to use if(event.button==[key number here]){ and then just direct it to a webpage.

If you don't know how to get the key numbers, I could probably find them, too.
Thu 15/05/03 at 17:14
Regular
"It goes so quickly"
Posts: 4,083
No worries, thanks for the reply :)
Thu 15/05/03 at 17:09
Regular
"Pouch Ape"
Posts: 14,499
*folds arms, puts cap backwards and raps*

"It was a bit unsightly, if I remember rightly"

Sorry...
Thu 15/05/03 at 16:59
Regular
"It goes so quickly"
Posts: 4,083
Can you remember if it took much code to do?

Freeola & GetDotted are rated 5 Stars

Check out some of our customer reviews below:

The coolest ISP ever!
In my opinion, the ISP is the best I have ever used. They guarantee 'first time connection - everytime', which they have never let me down on.
Thank you very much for your help!
Top service for free - excellent - thank you very much for your help.

View More Reviews

Need some help? Give us a call on 01376 55 60 60

Go to Support Centre

It appears you are using an old browser, as such, some parts of the Freeola and Getdotted site will not work as intended. Using the latest version of your browser, or another browser such as Google Chrome, Mozilla Firefox, or Opera will provide a better, safer browsing experience for you.