I am trying to create a pull cord effect in jQuery similar to this tutorial http://buildinternet.com/live/curtains/. I have been playing around with the code in this demo and added an animate to pull the cord backup.
However I would like to know if it is possible to create a ‘Pull’ action by dragging it down with the mouse and then it self-recoiling back up.
As an extra bit, is it possible to limit the amount of times it can be pulled?
So, this is what you wanted?
http://jsfiddle.net/DerekL/GyfSQ/