Create a timer using Web Workers/Javascript

Random ramblings

If you don’t know about web workers learn them here:

Disclaimer: Might not follow strict coding standards, this is just a demo.

This post basically shows how you can use webworkers to display a timer. For this I will be using the following files:
a. index.php
b. worker.js

Inside your index.php, lets write some javascript.

View original post

Par défaut