Smoothwall Firewall project

Friday, 2 April 2010

Creating the Ubuntu countdown banner for my site

I couldn't wait for the official release of the countdown banner so I decided to use my own:

I looked at this site for the banner images https://wiki.ubuntu.com/Website/LucidCountdownBanners I would use.

Thanks to Immanuel Peratoner's Design, as I liked that one the best.

I then borrowed the javascript code from the countdown banner that was used for Ubuntu 9.10 and then modified it.

Here is the javascript that I'm using for the Ubuntu banner on my blog


IMPORTANT NOTE: - To get a good picture of the code I had to shorten the "document.write" line. Everything from the "alt" parameter on the line below should be moved back up onto the line above to make it complete again, I hope that makes sense.

For those of you with programming experience will notice that I have had to set the month variable manually which is odd, but it kept reporting it is still March (3).

Anyway, on Chromium installed on Ubuntu 9.10 32 bit , this now works perfectly, please let me know it doesn't for you.

No comments: