demos: draggable - Contrain movement, prevent horizontal scrollbar

This commit is contained in:
Richard Worth 2009-03-03 09:27:22 +00:00
parent 9d5fcaf5a4
commit 4caba8e574

View File

@ -12,7 +12,7 @@
#draggable, #draggable2 { margin-bottom:20px; }
#draggable { cursor: n-resize; }
#draggable2 { cursor: e-resize; }
#containment-wrapper { width:100%; height:150px; border:2px solid #ccc; padding: 10px;}
#containment-wrapper { width: 95%; height:150px; border:2px solid #ccc; padding: 10px;}
</style>
<script type="text/javascript">
$(function() {