Main menu

Rotating knobs jQuery plugin

Published by superuser on Sun, 03/18/2012 - 15:30 in

Tags 

jQuery, plugin, UI

I have in mind a long-term project for which I need some rotating knobs. Rather than approach these on a case-by-case basis I've made a jQuery plugin that makes it super-easy to do. All you need are some buttons from something like KnobMan, and apply the plugin to a simple HTML text input.

Where do toys come from?

Published by superuser on Sat, 10/01/2011 - 23:34 in

My eldest daughter (aged 7) asked where toys come from. Challenge accepted, I thought.

So I said hey, think of any toy you can dream of, and draw a picture for me. I sketched it up in Google Sketchup. After some tweaking, I sent the 3D model to iMaterialize to be printed.

This is the result:

Unbricking a Vivifi - Just add cable.

Published by superuser on Sun, 06/19/2011 - 20:40 in

When I bricked my Vivifi by enabling bridged mode, I immediately realised the sensible thing to do would be to send it back for a service; with the right story they'd probably even send a straight-out replacement device.

Luckily for the internet, I am not and nor have I ever been sensible.

My first "hit" while researching a solution was this article: http://hackspot.net/iSpotBlog/?p=11

HTML solitaire just got raunchy

Published by superuser on Wed, 05/04/2011 - 16:20 in

So what started out as a learning exercise in HTML5 and CSS standards became slightly more lecherous, with the addition of naked women to the backs of the playing cards. The code is somewhat more stable than before, thought it still requires some tweaking. Also I am seriously considering losing the background music - it seemed like a good idea at the time.

Anyway, here's the latest version: Click here to play!

Have fun!

Use jquery to turn form labels into placeholder text

Published by superuser on Thu, 03/24/2011 - 20:50 in

Check out my nice new jQuery plugin (with drupal module included) at http://www.dhmedia.com.au/blog/nice-placeholders-jquery

What does it do? It converts form field labels into dynamic placeholders (the kind that disappear when you click on the field and come back if you don't enter any text).

While it's not a HTML5 placeholder, it does do a grand job of simplifying the process of adding placeholder text especially to drupal web forms.