r1330 - trunk/demos/draggable
Author: rdworth
Date: Tue Dec 30 08:04:01 2008
New Revision: 1330
Modified:
trunk/demos/draggable/containment.html
Log:
demos/draggable/containment.html: set window to not scroll to highlight
difference between it and document when inside iframe
Modified: trunk/demos/draggable/containment.html
==============================================================================
--- trunk/demos/draggable/containment.html (original)
+++ trunk/demos/draggable/containment.html Tue Dec 30 08:04:01 2008
@@ -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' });
});