Include the following Javascript in the HEAD section of your template.
Edit the key sections (or add new ones) as required to fit your needs.
In this example, pressing h will take us to whatever Home Page has been specified in Preferences, f goes to the PowerPoint FAQ page and n/p go to next/previous html pages respectively.
Keystrokes are not case-sensitive.
<SCRIPT LANGUAGE="JavaScript">
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->
<!-- Begin
var key = new Array(); // Define key launcher pages here
key['h'] = ":Prefs.HomePage:";
key['f'] = "http://www.rdpslides.com/pptfaq/";
key['n'] = ":Nav.Next:";
key['p'] = ":Nav.Previous:";
function getKey(keyStroke) {
isNetscape=(document.layers);
// Cross-browser key capture routine couresty
// of Randy Bennett (rbennett@thezone.net)
eventChooser = (isNetscape) ? keyStroke.which : event.keyCode;
which = String.fromCharCode(eventChooser).toLowerCase();
for (var i in key) if (which == i) window.location = key[i];
}
document.onkeypress = getKey;
// End -->
</script>
Supercharge your PPT Productivity with PPTools
Content authoring & site maintenance by |