#fcleft"> |
|
| | | | | | | | | | |
By using quickkeys, you can make your site so that people can access links with the push of a button. Try pressing "N" and then press back after the page loads. By pressing "N", you went to my main page. This is great if you want to have people quickly go to your main page from your sub-pages. If you are a little more advanced at programming, you can make it go back and forward in history, or even design your whole page to be push compatible. This is definitely a must-have for your page.
The source..
<script language="Javascript1.2">
<!--
// please keep these lines on when you copy the source
// made by: Nicolas - http://www.javascript-page.com
var quickkey = 110
var url = "http://www.javascript-page.com"
if(navigator.appName == "Netscape") {
document.captureEvents(Event.KEYPRESS);
}
function qk(keyp){
if(navigator.appName == "Netscape") {
if (keyp.which == quickkey) window.location = url;
}
if (navigator.appVersion.indexOf("MSIE") != -1){
if (event.keyCode == quickkey) window.location = url;
}
}
document.onkeypress = qk
//-->
</script>
Color Coding...
This is the special code of the character that you want the viewer to press so that he can go to another page. Use the conversion tool below this section to find what you need to place there. BTW - If you want to use "N" as your quick key, don't change this.
This is the URL that you want the viewer of your page to go when he presses the quick key.
This
banner was supplied by SAFE Audit