Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
KeyCode support in Firefox
Message
De
06/02/2012 11:14:17
 
 
À
06/02/2012 11:10:05
Information générale
Forum:
Javascript
Catégorie:
Autre
Divers
Thread ID:
01534560
Message ID:
01534561
Vues:
50
This small adjusment does it:
function WindowKeyPress(toEvent)
{
   if (window.event)
   {
      Key=window.event.keyCode
   }
   else
   {
      if (toEvent)
      {
         if (toEvent.keyCode)
         {
            Key=toEvent.keyCode
         }
         else
         {
            Key=toEvent.charCode
         }
      }
      else
      {
      }
   }
}
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform