You are here

README.txt in Page Load Progress 7

Same filename and directory in other branches
  1. 8 README.txt
CONTENTS OF THIS FILE
---------------------


 * Introduction
 * Configuration
 * Caveats


INTRODUCTION
------------


Current maintainer: Mariano Asselborn <marianoasselborn@gmail.com>

This module will allow you to set a screen lock showing a spinner when the user
clicks on an element that triggers a time consuming task.

The module will work amazingly in cases where, for example, the user submits a
form that takes a long time to post and stays in the current page avoiding the
submitter the chance to poke around the page while waiting.


CONFIGURATION
------------


To configure the behavior of this module go to
admin/config/user-interface/page_load_progress. The last field, "Elements that
will trigger the throbber", takes HTML elements, classes or ids, separated by
commas, and assigns the behavior when they are clicked.


CAVEATS
-------


Even though the behavior assignment is configurable, I recommend its
usage only for form submits. If you must, assign the behavior to "A" elements
carefully. "A" elements can be opened in a new browser tab or window, which
would leave the original window locked waiting for reload. Also, "A" elements
are sometimes used with modals, so make sure that you identify what classes
trigger modal windows and you use :not() to avoid them, or you use specific
classes when assigning the behavior (example "a.not-modal").

File

README.txt
View source
  1. CONTENTS OF THIS FILE
  2. ---------------------
  3. * Introduction
  4. * Configuration
  5. * Caveats
  6. INTRODUCTION
  7. ------------
  8. Current maintainer: Mariano Asselborn
  9. This module will allow you to set a screen lock showing a spinner when the user
  10. clicks on an element that triggers a time consuming task.
  11. The module will work amazingly in cases where, for example, the user submits a
  12. form that takes a long time to post and stays in the current page avoiding the
  13. submitter the chance to poke around the page while waiting.
  14. CONFIGURATION
  15. ------------
  16. To configure the behavior of this module go to
  17. admin/config/user-interface/page_load_progress. The last field, "Elements that
  18. will trigger the throbber", takes HTML elements, classes or ids, separated by
  19. commas, and assigns the behavior when they are clicked.
  20. CAVEATS
  21. -------
  22. Even though the behavior assignment is configurable, I recommend its
  23. usage only for form submits. If you must, assign the behavior to "A" elements
  24. carefully. "A" elements can be opened in a new browser tab or window, which
  25. would leave the original window locked waiting for reload. Also, "A" elements
  26. are sometimes used with modals, so make sure that you identify what classes
  27. trigger modal windows and you use :not() to avoid them, or you use specific
  28. classes when assigning the behavior (example "a.not-modal").