With the launch of Windows Live yesterday, I decided I should try my hand at writing a Gadget (yes, I know Start.com has been doing the Gadget thing for a while, and Live.com is nothing more than a re-branded Start.com). What better than a simple Analog Clock? Thanks to the JavaScript VectorGraphics library folks for an awesome DHTML drawing library.
The Analog Clock Gadget works with both Live.com and Start.com.
To install (cribbed from Microsoft Gadgets' installation instructions):
- Copy
http://www.daishar.com/gadgets/AnalogClock/AnalogClock.xml
to your clipboard. - On Live.com, select Add Content on the sidebar and then Advanced.
- Paste the Gadget URL into the Add a Gadget by URL textbox.
- Select the Add button.
Srinath
Cool gadget! I've been thinking of doing something similar but was too lazy to write my own javascript graphics library :) (didn't know about the one you used).
Why don't you add it to microsoftgadgets.com? That way more people would be able to find it and use.
Todd
Thanks. I just did a search for "DHTML drawing" and that was the first result, so I used it.
As for putting it on microsoftgadgets.com, I'm waiting for the Xbox 360 contest to run out since I'm not eligible to enter. Besides, deleting and creating hundreds of divs every second to redraw the clock drives up IE's memory usage very quickly. I may be able to reduce the growth rate somewhat by using an image as a background, but the clock hands still require a fair number of divs so memory will continue to grow unbounded.
This is really a novelty rather than something you'd want to keep running for a long time.
Walter
Hi Daishar, amazing work on the livetris gadget. I would love to know when you get it working for Firefox as well, is this something I could make available on my personal website? I'd give you compensation of course for the source code.
let me know:) sincerely, walter.