Page 1 of 1

JavaScript Clock

Posted: 21. April 2014 21:44
by maaax
Hi guys,

I just developed a clone of your flash clock to get rid of the "you have to install flash"-warnings of my browser. The clock has almost the same design like the original one.

The advantages of using a JavaScript clock instead of a flash clock is that almost every browser (AND mobile browsers!) supports javascript but not flash.

Please feel free to include this clock into the board3-source (it's GPLv2). I won't provide an full example how to integrate the clock into the portal because I don't know your coding style and where to push the js files. I think it's wrong to push any JavaScript-source into the style-directory, but do whatever you want. The phpBB file structure already is very random and the source code is full of surprising things :D

You can download the javascript source from here: https://gist.github.com/magcks/11153513
Example: http://m9x.de/projects/clock/
This one has the same size like the original one and should be easily includable into board3: http://m9x.de/projects/clock/simple.html

Have fun
Max

Re: JavaScript Clock

Posted: 22. April 2014 20:27
by heiner
perhaps also this http://www.emanueleferonato.com/2010/12 ... nd-no-css/ - as another possibility for javascript-analog-clock, here without "no images and no CSS".