/    Sign up×
Community /Pin to ProfileBookmark

Keyboard Home Link

Has Anyone got or can generate for me, a simple javascript code that links to a html page by pressing the ‘home’ button on a regular keyboard? I’m desperate!!!?

to post a comment
JavaScript

4 Comments(s)

Copy linkTweet thisAlerts:
@JonaMay 08.2003 — You have to use a hotkey like "h" or something. You can't use Home (I don't think that is possible).
Copy linkTweet thisAlerts:
@NevermoreMay 08.2003 — The keycode for the home key is 36. All you need is a function to detect it.
Copy linkTweet thisAlerts:
@JonaMay 08.2003 — Pardon my ignorance. :p I forgot that the "Home" key was keycoded differently than normal keys, so at first I figured it was impossible.
Copy linkTweet thisAlerts:
@NevermoreMay 08.2003 — IE doesn't treat it in the same way, either, so it is hard to call functions from it. Darn difficult, that's what it's being...
×

Success!

Help @bren_gillatt spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...