Hotkey Script

Back to BuildingBlocks Index or press "h"

Insert the below into the <head> section of the page(s) you want to have the hotkey feature enabled:
<!-- START OF HOTKEY SCRIPT (h=HOTKEY) -->
<script language="JavaScript1.2">
<!-- Hide script from old browsers
var hotkey=104
var destination="___INSERT URL HERE - ABSOLUTE OR RELATIVE____"
if (document.layers)
document.captureEvents(Event.KEYPRESS)
function backhome(e){
if (document.layers){
if (e.which==hotkey)
}
else if (document.all){
if (event.keyCode==hotkey)
}
}
document.onkeypress=backhome
// End hiding script from old browsers -->
</script>
<!-- END OF HOTKEY SCRIPT (h=HOTKEY) -->

Back to BuildingBlocks Index or press "h"