Loading ...
Sorry, an error occurred while loading the content.

7976Re: KeyListener problems

Expand Messages
  • itsallaboutyui
    Dec 29, 2006
      Thanks for the quick response. I will test your solution tomorrow!

      I was confused in part by the fact that the slider uses code such as

      handleKeyPress: function(e) {
      if (this.enableKeys) {
      var Event = YAHOO.util.Event;
      var kc = Event.getCharCode(e);
      switch (kc) {
      case 0x25: // left
      case 0x26: // up
      case 0x27: // right
      case 0x28: // down
      case 0x24: // home
      case 0x23: // end

      - but now I understand the difference between that code and mine.
      Thanks again.
    • Show all 7 messages in this topic