May 19th, 2010 — 10:54pm
Just for fun, I thought I would have a play around with some WebKit CSS transitions and the HTML5 <audio> tag to see if I could simulate the TARDIS landing
Here’s what I came up with (currently only works in Safari): TARDIS, HTML5 and CSS3 WebKit Transitions
Comment » | web
April 24th, 2010 — 10:12pm
I’ve been playing around with the JavaScript Notifications API recently – or to be a bit more specific the WebKit Notifications API – and put together this little demo using Flickr and JSONP:
- You search Flickr by entering a tag
- The JSONP callback function then displays the first few photos returned using the Notifications API
- Each notification is cancelled after 10 seconds (there is no Dismiss button, like there is when you use the API on
localhost)
You’ll need to grant notification permissions first to be able to view the notifications – you should see an info bar like the one below the first time you click on Search:

After that, you should see the notifications stack up in the bottom right-hand corner of your screen:

At the time of writing, you’ll need to be using Google Chrome for the demo to work (although I’m pretty sure that support for the Notifications API in Safari is imminent).
And, as an aside, I managed to throw a bit of HTML 5 into the demo as well with some autofocus and placeholder attributes on the <input type="text" /> field, just for good measure
Comment » | javascript
October 16th, 2009 — 8:57pm
I often use a couple of paragraphs of Lipsum when testing forms containing <textarea> tags and have had this bookmarklet I cobbled together sitting on my Bookmarks Toolbar for a while now.
Anyway, I thought it might be fun to hook it up to a HTML 5 form to let you customise how many paragraphs of Lipsum you want each time you click it. So that’s what I went and did:
Lorem Ipsum Bookmarklet Generator
Hopefully it’ll save you a few mouse clicks next time you’re testing some forms.
(Please note that the form used in the generator uses the <input type="range" /> HTML 5 tag which currently works best in the latest version of Opera. YMMV when using other browsers).
Comment » | devtools