Charles Albrecht wrote:


Personally, I'd just use S5 (http://www.meyerweb.com/eric/tools/s5/) which has 
navigation bound to the forward and back arrow keys, unless you need something 
in your setup that S5 doesn't offer.


Well, my original posting was seeking advice on how to get the remote to work with Safari -- not to solicit alternative technologies.

In any case, my colleague (fellow Phalanx hoplite), Marc Prewitt, came up with this Javascript which we've included in the POSTAMBLE file of Mark Jason Dominus's txt2slides.

<script><!--
document.getElementById("next").focus();
    document.onkeydown = function (evt) {
        var code = evt.keyCode;
        switch (code) {
        case 34:
        case 78:
            location.href = document.links["next"].href;
            break;
        case 33:
        case 80:
            location.href = document.links["prev"].href;
            break;
        case 72:
            location.href = document.links["home"].href;
            break;
        case 76:
            location.href = document.links["last"].href;
            break;
        }
        return true;
    };
--></script>

where we have 4 screen links, 2 of which we want to control from the wireless remote.

jimk

Reply via email to