Skip to content

Instantly share code, notes, and snippets.

View gatapia's full-sized avatar

Guido Tapia gatapia

View GitHub Profile
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title>Drag example</title>
<script src="http://code.jquery.com/jquery-latest.js"></script>
<script src="http://jeffrey.reactiveextensions.net/rx.js" type="text/javascript"></script>
<script src="http://jeffrey.reactiveextensions.net/rx.jQuery.js" type="text/javascript"></script>
<script type="text/javascript">
function drag(dragTarget) {