Handle User Internet Disconnections Nicely With Offline.js

Post pobrano z: Handle User Internet Disconnections Nicely With Offline.js


It is sometimes the network our the computer but losing the internet connection happens to everyone.

And, when this happens to the users while they are browsing your website, we can inform them nicely so that they easily know “the problem is not about the site”.

Offline.js, a simple JavaScript library, detects the disconnection and presents an alert to the users about it.

Offline.js

Also, it re-sends any failed Ajax requests once the connection is back so that the users are not affected at all.

The library is plug ‘n’ play with no setup and it comes with multiple good-looking themes.Advertisements:
ioDeck, a self-hosted and awesome PHP form generator.
Professional XHTML Admin Template ($15 Discount With The Code: WRD.)
SSLmatic – Cheap SSL Certificates (from $19.99/year)

Dodaj komentarz