jqueryjquery-uijquery-pluginsuser-interfaceperception

jQuery: Increase Perceived Responsiveness During the Ready Event


Question:

How can I increase perceived responsiveness during the ready event?

For example:


Solution

  • Every feedback that you give to the user will result in better perceived responsiveness. A loading image is classic - and well known (i.e. consistent with the user mind model). The thickbox may be rather annoying by itself - but if you combine it with a loading message, as most people in the game industry have already discovered, it will yield much better results by simultaneously educating the user and providing feedback.

    [edit]

    Something like this:

    $(function() {
        tb_show(caption, url, imageGroup); // show thickbox
    
        /* lengthy operation here */
    
        tb_remove(); // remove thickbox
    });
    

    [/edit]