For effect you need jQuery UI
<link rel="stylesheet" href="http://code.jquery.com/ui/1.9.2/themes/base/jquery-ui.css " />
<script src="http://code.jquery.com/jquery-1.8.3.js "></script>
<script src="http://code.jquery.com/ui/1.9.2/jquery-ui.js "></script>
Also you need the transfer css like
.ui-effects-transfer { border: 2px dotted gray; }