JavaScript Clock


Topic author
maaax
Active Member
Active Member
Posts: 1
Joined: 21. April 2014 21:08

JavaScript Clock

Post by maaax » 21. April 2014 21:44

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

User avatar

heiner
Valued Contributor
Valued Contributor
Posts: 56
Joined: 29. November 2012 18:11
phpBB.de User: HirschHeinrich
phpBB.com User: HirschHeinrich
Location: D-19061 Schwerin

Re: JavaScript Clock

Post by heiner » 22. April 2014 20:27

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".

Return to “Released Modifications”