demos/draggable/containment.html: set window to not scroll to highlight difference between it and document when inside iframe

This commit is contained in:
Richard Worth 2008-12-30 16:04:01 +00:00
parent 39707941f5
commit 47db3e4593

View File

@ -12,7 +12,7 @@
</style>
<script type="text/javascript">
$(function() {
$("#draggable").draggable({ containment: 'window' });
$("#draggable").draggable({ containment: 'window', scroll: false });
$("#draggable2").draggable({ containment: 'document' });
$("#draggable3").draggable({ containment: 'parent' });
});