mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
demos: draggable - Contrain movement, prevent horizontal scrollbar
This commit is contained in:
parent
9d5fcaf5a4
commit
4caba8e574
@ -12,7 +12,7 @@
|
|||||||
#draggable, #draggable2 { margin-bottom:20px; }
|
#draggable, #draggable2 { margin-bottom:20px; }
|
||||||
#draggable { cursor: n-resize; }
|
#draggable { cursor: n-resize; }
|
||||||
#draggable2 { cursor: e-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>
|
</style>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
$(function() {
|
$(function() {
|
||||||
|
Loading…
Reference in New Issue
Block a user