Sunday, July 1, 2012

Ubuntu Countdown widget now HTML5 for browsers other than IE

Hello all, today I just added a new Ubuntu countdown widget, based upon HTML5, to the Ubuntu countdown widget area. If you are using IE, you will just see the previous countdown widget.

If you inspect the widget's code, you'll see that there are two if IE tags. One is a style tag, one for the old countdown widget. The Style tag hides the HTML5 widget, because all you will see is Ubuntu (version counting down to), and the background. The old countdown widget is also in a if IE tag, so it only displays for IE browsers.

If you are using a newer browser with at least HTML5 canvas support, you'll see the widget. Of course, I will be taking feedback in the comments below.