faqts : Computers : Programming : Languages : JavaScript

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

2 of 3 people (67%) answered Yes
Recently 2 of 3 people (67%) answered Yes

Entry

can u please send me the code for implementation of shortcut key ALT + HOME ->takes to Home Page

Apr 8th, 2008 17:54
ha mo, Colin Fraser, deepak a l,


Sorry, that would be far too easy and you would not learn anything, so
you may want to look at this code for starters:
http://www.faqts.com/knowledge_base/view.phtml/aid/2140/fid/145
to get some idea of how the whole idea of how trapping key strokes work. 
There is also:
http://www.faqts.com/knowledge_base/view.phtml/aid/1189/fid/145
to give you an idea of how to do it using cross browser scripting
also:
http://www.faqts.com/knowledge_base/view.phtml/aid/10312/fid/145
to let you know what all the key codes are.
and this one to trim all that code down a bit:
http://www.faqts.com/knowledge_base/view.phtml/aid/11802/fid/145
There are probably other snippets around that will help, and they are
all here.
http://www.businessian.com
http://www.computerstan.com
http://www.financestan.com
http://www.healthstan.com
http://www.internetstan.com
http://www.moneyenews.com
http://www.technologystan.com
http://www.zobab.com
http://www.healthinhealth.com