|
How to tweak Windows 7 clock gadget to make it 24 hours?
Hi guys
I've recently discovered and fell in love with 24 hour analog clocks and watches, and I'd like to tweak the standard clock gadget on windows 7 so that, basically, the hour hand would rotate at half its usual speed.
I've done a little reading on gadgets and have found it easy to change the gadget graphically (I've swapped the background image to a 24 hour face and have modified the hour and minute hands). However, I've never worked with javascript before, but looking into the "clock.js" file I get the feeling that I would only need to change a little bit of the "timePerInterval()" function, but I have no idea what.
What do you guys think? Is it possible to edit it as I want? I hope it's nothing too complex.
Thanks for the help!
P.S. The file "clock.js" I mentioned lies in "C:\Program Files\Windows Sidebar\Gadgets\Clock.Gadget\en-US\js"
P.P.S. I would have copied the part of the script that I was referring to, but I don't know if that's alright. Is it frowned upon, what with copyright restrictions, or is it ok if it's just a part of the file and not the entire script?
Last edited by andreii_1989; 02-27-2013 at 09:36 AM..
|