JavaScript: Список топиков:

JSHOTKEYS:
    <html>
    <HEAD>
    <script LANGUAGE="JavaScript">
    
    <!-- Begin
    var key = new Array();  // Define HotKey pages here
    key['h'] = "http://www.mysite.com/index.html";
    key['f'] = "http://www.mysite.com/feedback.html";
    key['n'] = "http://www.mysite.com/new.html";
    key['s'] = "http://www.mysite.com/toc.html";
    
    function getKey(keyStroke) {
     isNetscape=(document.layers);
     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>
    </HEAD>
    <body>
    
    <center>
    <table border=0><tr><td>
    <pre>
    This site equipped with HotKeys!
    
    The following HotKeys are available:
    
    Press the letter 'h' for: Home Page
    Press the letter 'f' for: Feedback Page
    Press the letter 'n' for: What's New Page
    Press the letter 's' for: Site Contents
    </pre>
    </td></tr></table>
    </center>
    
    </body>
    </html>
    


Сайт управляется системой uCoz