pav
10/2/2013 - 8:50 PM

draggable.css

$(document).ready(function(){
    //Make the <div> with id 'dragme' draggable here 
    $('#dragme').draggable()
});
<!DOCTYPE html>
<html>
    <head>
    <script 
    src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.18/jquery-ui.min.js"
type="text/javascript">    
</script>
<script src="script.js"></script>
<link rel="stylesheet" href="style.css" type="text/css"/>
    </head>
	<body>

    <div id="dragme">
        Drag me around
    </div>

     
	</body>
</html>
#dragme{ 
width: 150px; 
height: 150px; 
background-color: blue;
}