Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Clicking too fast on an option
Message
De
27/09/2012 10:09:24
 
 
À
27/09/2012 09:40:21
Information générale
Forum:
HTML5
Catégorie:
HTML
Divers
Thread ID:
01553735
Message ID:
01553752
Vues:
39
>Ahhh.. the old "Click once or you'll be charged multiple times". Disable the option. Update the UI. Enable the option.

Yes, this is exactly what I have been working on since I posted this message. So, wherever a function applies, I have something like this:
function Skip()
{
   if (loDiv)
   {
      loDiv.disabled=true
   }
   ...
}
This is an example from one function. What I like about this is that during the processing time of the round trip to the server, which is launched at the end of the Skip() function, I see my entire DIV get greyed out. And, then it reappears updated. So, I like that better than to make it disappear and reappear. The later option is more like a blink. Having it disabled shows that something is in process, additionnally to the browser circling processing object, and in a fraction of a section, an update is being done.
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform