not compatible with jQuery 1.9

Hi, 
I tried your nice script and it didn't work for me hence I am using jQuery 1.9 and it seems that the deprecated .live() function is no longer supported. By using  .on() instead, it also works quite well with recent jQuery versions.

Cheers, 
Sascha