use jquery 1.9 for example
start with cfurrow's source and example