We are no longer developing Opera Widgets. Read more.

Login| Sign up

Opera Software ASA

Widgets » Time and Date » Simple SVG Clock

  • 14 downloads last 7 days
  • 8,319 total downloads
  • Rating: 0 (login to vote)
Simple SVG Clock, Opera application V2.2 Aug 29, 2010 5:04:17 AM

Simple SVG Clock

A simple SVG clock with a stop watch.
Just click the clock face to show or hide the second hand.
Click the line around the dial to show or hide.
Click the weekday or day to show or hide.
Hover the 10 millisecond or second or minute face to show.
Click the 10 millisecond or second or minute face to start
or stop or reset the stop watch.

It works only with Opera 10.5x or later.
Never forget it is an SVG format, it can be zoomed in or out as you like it.

If you want to embed this widget into your website, add the
following HTML code:
<object data="http://sites.google.com/site/tsihonglau/simple_svg_clock.svg" type="image/svg+xml" height="116" width="116"></object>
Only Firefox, Chrome, Safari, and Opera are compatible.
For more information, visit my blog.

Changelog:
1.1
Click the line around the dial to show or hide.
Click the weekday or day to show or hide.
Use setTimeout instead of setInterval in the clock function.

1.2
Change the font into Courier New.
Fixed the bug that the second hand does not show at launch.
Now all the lines around the dial can be hidden.
Add the pointer cursor to the elements that can be hidden.

2.0
Add borders.
The stop watch faces are auto-hidden now.
There are only 4 configurations of the lines around the dial (more natural).

2.1
Add icon.
Use CSS.

2.2
Change the font into bold.
Separate the functions to update the hour and minute hands.


Comments 4 posts

Log in at the top of the page to post a comment.

1 - 4 of 4

Great! I miss hour numbers though... SVG rules!

By Bucic , # Jan 27, 2011 9:05:57 PM

Thanks! I will update it! But I think transparency is annoying!

By tsihonglau , # Dec 11, 2010 1:34:23 PM

Would be nice if there were easier way to discover where to click, like something on hover. And transparency.

By Cygnus , # Dec 4, 2010 12:04:20 PM

This better than the other one... for me at least :smile:

By Telefoane , # May 1, 2010 1:48:45 PM