omf_web 1.2.4 → 1.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/omf-web/content/content_proxy.rb +18 -18
- data/lib/omf-web/content/file_repository.rb +6 -2
- data/lib/omf-web/content/git_repository.rb +4 -0
- data/lib/omf-web/content/repository.rb +11 -0
- data/lib/omf-web/data_source_proxy.rb +0 -13
- data/lib/omf-web/session_store.rb +8 -3
- data/lib/omf-web/theme/abstract_page.rb +2 -10
- data/{example → lib/omf-web/theme}/web_rtc/web_rtc.yaml +0 -0
- data/{example → lib/omf-web/theme}/web_rtc/webrtc-exp_1381786573.sq3 +0 -0
- data/lib/omf-web/version.rb +1 -1
- data/lib/omf-web/widget/data_widget.rb +2 -37
- data/lib/omf-web/widget/layout/one_column_layout.rb +4 -4
- data/lib/omf-web/widget/layout/stacked_layout.rb +6 -14
- data/lib/omf-web/widget/text/maruku/output/to_html.rb +4 -2
- data/lib/omf-web/widget/text/maruku.rb +1 -1
- data/lib/omf_web.rb +15 -15
- data/share/htdocs/graph/js/abstract_nv_chart.js +2 -2
- data/share/htdocs/graph/js/histogram2.js +5 -1
- data/share/htdocs/js/data_source3.js +2 -1
- data/share/htdocs/vendor/jquery-1.8.3/jquery.js +9472 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/css/smoothness/images/animated-overlay.gif +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/css/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/css/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/css/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/css/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/css/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/css/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/css/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/css/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/css/smoothness/images/ui-icons_222222_256x240.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/css/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/css/smoothness/images/ui-icons_454545_256x240.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/css/smoothness/images/ui-icons_888888_256x240.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/css/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/css/smoothness/jquery-ui-1.10.4.custom.css +558 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/css/smoothness/jquery-ui-1.10.4.custom.min.css +7 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/AUTHORS.txt +260 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/Gruntfile.js +240 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/MIT-LICENSE.txt +26 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/README.md +96 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/addClass/default.html +45 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/addClass/index.html +14 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/animate/default.html +55 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/animate/index.html +14 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/demos.css +19 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/draggable/constrain-movement.html +58 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/draggable/cursor-style.html +42 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/draggable/default.html +32 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/draggable/delay-start.html +38 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/draggable/events.html +70 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/draggable/handle.html +41 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/draggable/index.html +24 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/draggable/revert.html +37 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/draggable/scroll.html +44 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/draggable/snap-to.html +61 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/draggable/sortable.html +50 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/draggable/visual-feedback.html +70 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/droppable/accepted-elements.html +53 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/droppable/default.html +46 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/droppable/images/high_tatras.jpg +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/droppable/images/high_tatras2.jpg +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/droppable/images/high_tatras2_min.jpg +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/droppable/images/high_tatras3.jpg +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/droppable/images/high_tatras3_min.jpg +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/droppable/images/high_tatras4.jpg +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/droppable/images/high_tatras4_min.jpg +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/droppable/images/high_tatras_min.jpg +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/droppable/index.html +20 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/droppable/photo-manager.html +182 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/droppable/propagation.html +73 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/droppable/revert.html +54 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/droppable/shopping-cart.html +94 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/droppable/visual-feedback.html +72 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/effect/default.html +102 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/effect/easing.html +102 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/effect/index.html +15 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/hide/default.html +95 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/hide/index.html +14 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/images/calendar.gif +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/images/demo-config-on-tile.gif +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/images/demo-config-on.gif +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/images/demo-spindown-closed.gif +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/images/demo-spindown-open.gif +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/images/icon-docs-info.gif +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/images/pbar-ani.gif +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/index.html +29 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/position/cycler.html +107 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/position/default.html +137 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/position/images/earth.jpg +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/position/images/flight.jpg +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/position/images/rocket.jpg +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/position/index.html +15 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/removeClass/default.html +45 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/removeClass/index.html +14 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/resizable/animate.html +36 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/resizable/aspect-ratio.html +35 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/resizable/constrain-area.html +40 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/resizable/default.html +33 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/resizable/delay-start.html +45 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/resizable/helper.html +36 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/resizable/index.html +24 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/resizable/max-min.html +38 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/resizable/snap-to-grid.html +35 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/resizable/synchronous-resize.html +42 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/resizable/textarea.html +34 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/resizable/visual-feedback.html +36 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/selectable/default.html +43 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/selectable/display-grid.html +48 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/selectable/index.html +16 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/selectable/serialize.html +54 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/show/default.html +97 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/show/index.html +14 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/sortable/connect-lists-through-tabs.html +72 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/sortable/connect-lists.html +52 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/sortable/default.html +45 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/sortable/delay-start.html +61 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/sortable/display-grid.html +48 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/sortable/empty-lists.html +63 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/sortable/index.html +22 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/sortable/items.html +64 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/sortable/placeholder.html +50 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/sortable/portlets.html +115 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/switchClass/default.html +40 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/switchClass/index.html +14 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/toggle/default.html +103 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/toggle/index.html +14 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/toggleClass/default.html +39 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/toggleClass/index.html +14 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/widget/default.html +178 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/widget/index.html +14 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/docs/blind-effect.html +58 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/docs/bounce-effect.html +61 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/docs/clip-effect.html +55 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/docs/draggable.html +741 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/docs/drop-effect.html +55 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/docs/droppable.html +548 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/docs/explode-effect.html +52 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/docs/fade-effect.html +43 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/docs/fold-effect.html +61 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/docs/highlight-effect.html +52 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/docs/jQuery.widget.html +611 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/docs/mouse.html +216 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/docs/position.html +116 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/docs/puff-effect.html +52 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/docs/pulsate-effect.html +52 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/docs/resizable.html +685 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/docs/scale-effect.html +82 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/docs/selectable.html +498 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/docs/shake-effect.html +66 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/docs/size-effect.html +65 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/docs/slide-effect.html +59 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/docs/sortable.html +1450 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/docs/transfer-effect.html +61 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/external/globalize.culture.de-DE.js +81 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/external/globalize.culture.ja-JP.js +100 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/external/globalize.js +1585 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/external/jquery.mousewheel.js +101 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/external/jshint.js +4835 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/external/qunit.css +244 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/external/qunit.js +2152 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/jquery-1.10.2.js +9789 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/package.json +73 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/images/animated-overlay.gif +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/images/ui-icons_222222_256x240.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/images/ui-icons_2e83ff_256x240.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/images/ui-icons_454545_256x240.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/images/ui-icons_888888_256x240.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/jquery-ui.css +557 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/jquery.ui.all.css +12 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/jquery.ui.base.css +25 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/jquery.ui.core.css +93 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/jquery.ui.resizable.css +76 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/jquery.ui.selectable.css +13 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/jquery.ui.theme.css +410 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/minified/images/animated-overlay.gif +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/minified/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/minified/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/minified/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/minified/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/minified/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/minified/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/minified/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/minified/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/minified/images/ui-icons_222222_256x240.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/minified/images/ui-icons_2e83ff_256x240.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/minified/images/ui-icons_454545_256x240.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/minified/images/ui-icons_888888_256x240.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/minified/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/minified/jquery-ui.min.css +7 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/minified/jquery.ui.core.min.css +5 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/minified/jquery.ui.resizable.min.css +5 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/minified/jquery.ui.selectable.min.css +5 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/minified/jquery.ui.theme.min.css +5 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/images/animated-overlay.gif +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/images/ui-icons_222222_256x240.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/images/ui-icons_454545_256x240.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/images/ui-icons_888888_256x240.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/jquery-ui.css +558 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/jquery.ui.all.css +12 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/jquery.ui.base.css +25 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/jquery.ui.core.css +93 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/jquery.ui.resizable.css +76 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/jquery.ui.selectable.css +13 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/jquery.ui.theme.css +410 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/minified/images/animated-overlay.gif +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/minified/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/minified/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/minified/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/minified/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/minified/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/minified/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/minified/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/minified/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/minified/images/ui-icons_222222_256x240.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/minified/images/ui-icons_2e83ff_256x240.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/minified/images/ui-icons_454545_256x240.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/minified/images/ui-icons_888888_256x240.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/minified/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/minified/jquery-ui.min.css +7 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/minified/jquery.ui.core.min.css +5 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/minified/jquery.ui.resizable.min.css +5 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/minified/jquery.ui.selectable.min.css +5 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/minified/jquery.ui.theme.min.css +5 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/jquery-ui.custom.js +7544 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/jquery.ui.core.js +320 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/jquery.ui.draggable.js +958 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/jquery.ui.droppable.js +389 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/jquery.ui.effect-blind.js +82 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/jquery.ui.effect-bounce.js +113 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/jquery.ui.effect-clip.js +67 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/jquery.ui.effect-drop.js +65 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/jquery.ui.effect-explode.js +97 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/jquery.ui.effect-fade.js +30 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/jquery.ui.effect-fold.js +76 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/jquery.ui.effect-highlight.js +50 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/jquery.ui.effect-pulsate.js +63 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/jquery.ui.effect-scale.js +318 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/jquery.ui.effect-shake.js +74 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/jquery.ui.effect-slide.js +64 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/jquery.ui.effect-transfer.js +47 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/jquery.ui.effect.js +1289 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/jquery.ui.mouse.js +169 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/jquery.ui.position.js +501 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/jquery.ui.resizable.js +978 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/jquery.ui.selectable.js +277 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/jquery.ui.sortable.js +1289 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/jquery.ui.widget.js +521 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/minified/jquery-ui.custom.min.js +6 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.core.min.js +5 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.draggable.min.js +5 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.droppable.min.js +5 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.effect-blind.min.js +5 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.effect-bounce.min.js +5 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.effect-clip.min.js +5 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.effect-drop.min.js +5 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.effect-explode.min.js +5 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.effect-fade.min.js +5 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.effect-fold.min.js +5 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.effect-highlight.min.js +5 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.effect-pulsate.min.js +5 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.effect-scale.min.js +5 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.effect-shake.min.js +5 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.effect-slide.min.js +5 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.effect-transfer.min.js +5 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.effect.min.js +5 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.mouse.min.js +5 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.position.min.js +5 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.resizable.min.js +5 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.selectable.min.js +5 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.sortable.min.js +5 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.widget.min.js +5 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui.core.jquery.json +61 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui.draggable.jquery.json +66 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui.droppable.jquery.json +67 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui.effect-blind.jquery.json +65 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui.effect-bounce.jquery.json +65 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui.effect-clip.jquery.json +65 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui.effect-drop.jquery.json +65 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui.effect-explode.jquery.json +65 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui.effect-fade.jquery.json +65 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui.effect-fold.jquery.json +65 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui.effect-highlight.jquery.json +65 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui.effect-pulsate.jquery.json +65 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui.effect-scale.jquery.json +65 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui.effect-shake.jquery.json +65 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui.effect-slide.jquery.json +65 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui.effect-transfer.jquery.json +63 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui.effect.jquery.json +68 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui.mouse.jquery.json +64 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui.position.jquery.json +66 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui.resizable.jquery.json +65 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui.selectable.jquery.json +65 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui.sortable.jquery.json +66 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui.widget.jquery.json +64 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/index.html +301 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/js/jquery-1.10.2.js +9789 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/js/jquery-ui-1.10.4.custom.js +7544 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/js/jquery-ui-1.10.4.custom.min.js +6 -0
- metadata +302 -4
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<title>jQuery UI Effects - Animate demo</title>
|
|
6
|
+
<link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
|
|
7
|
+
<script src="../../jquery-1.10.2.js"></script>
|
|
8
|
+
<script src="../../ui/jquery.ui.effect.js"></script>
|
|
9
|
+
<link rel="stylesheet" href="../demos.css">
|
|
10
|
+
<style>
|
|
11
|
+
.toggler { width: 500px; height: 200px; position: relative; }
|
|
12
|
+
#button { padding: .5em 1em; text-decoration: none; }
|
|
13
|
+
#effect { width: 240px; height: 135px; padding: 0.4em; position: relative; background: #fff; }
|
|
14
|
+
#effect h3 { margin: 0; padding: 0.4em; text-align: center; }
|
|
15
|
+
</style>
|
|
16
|
+
<script>
|
|
17
|
+
$(function() {
|
|
18
|
+
var state = true;
|
|
19
|
+
$( "#button" ).click(function() {
|
|
20
|
+
if ( state ) {
|
|
21
|
+
$( "#effect" ).animate({
|
|
22
|
+
backgroundColor: "#aa0000",
|
|
23
|
+
color: "#fff",
|
|
24
|
+
width: 500
|
|
25
|
+
}, 1000 );
|
|
26
|
+
} else {
|
|
27
|
+
$( "#effect" ).animate({
|
|
28
|
+
backgroundColor: "#fff",
|
|
29
|
+
color: "#000",
|
|
30
|
+
width: 240
|
|
31
|
+
}, 1000 );
|
|
32
|
+
}
|
|
33
|
+
state = !state;
|
|
34
|
+
});
|
|
35
|
+
});
|
|
36
|
+
</script>
|
|
37
|
+
</head>
|
|
38
|
+
<body>
|
|
39
|
+
|
|
40
|
+
<div class="toggler">
|
|
41
|
+
<div id="effect" class="ui-widget-content ui-corner-all">
|
|
42
|
+
<h3 class="ui-widget-header ui-corner-all">Animate</h3>
|
|
43
|
+
<p>
|
|
44
|
+
Etiam libero neque, luctus a, eleifend nec, semper at, lorem. Sed pede. Nulla lorem metus, adipiscing ut, luctus sed, hendrerit vitae, mi.
|
|
45
|
+
</p>
|
|
46
|
+
</div>
|
|
47
|
+
</div>
|
|
48
|
+
|
|
49
|
+
<a href="#" id="button" class="ui-state-default ui-corner-all">Toggle Effect</a>
|
|
50
|
+
|
|
51
|
+
<div class="demo-description">
|
|
52
|
+
<p>Click the button above to preview the effect.</p>
|
|
53
|
+
</div>
|
|
54
|
+
</body>
|
|
55
|
+
</html>
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
body {
|
|
2
|
+
font-size: 62.5%;
|
|
3
|
+
font-family: "Trebuchet MS", "Arial", "Helvetica", "Verdana", "sans-serif";
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
table {
|
|
7
|
+
font-size: 1em;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.demo-description {
|
|
11
|
+
clear: both;
|
|
12
|
+
padding: 12px;
|
|
13
|
+
font-size: 1.3em;
|
|
14
|
+
line-height: 1.4em;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.ui-draggable, .ui-droppable {
|
|
18
|
+
background-position: top;
|
|
19
|
+
}
|
data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/draggable/constrain-movement.html
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<title>jQuery UI Draggable - Constrain movement</title>
|
|
6
|
+
<link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
|
|
7
|
+
<script src="../../jquery-1.10.2.js"></script>
|
|
8
|
+
<script src="../../ui/jquery.ui.core.js"></script>
|
|
9
|
+
<script src="../../ui/jquery.ui.widget.js"></script>
|
|
10
|
+
<script src="../../ui/jquery.ui.mouse.js"></script>
|
|
11
|
+
<script src="../../ui/jquery.ui.draggable.js"></script>
|
|
12
|
+
<link rel="stylesheet" href="../demos.css">
|
|
13
|
+
<style>
|
|
14
|
+
.draggable { width: 90px; height: 90px; padding: 0.5em; float: left; margin: 0 10px 10px 0; }
|
|
15
|
+
#draggable, #draggable2 { margin-bottom:20px; }
|
|
16
|
+
#draggable { cursor: n-resize; }
|
|
17
|
+
#draggable2 { cursor: e-resize; }
|
|
18
|
+
#containment-wrapper { width: 95%; height:150px; border:2px solid #ccc; padding: 10px; }
|
|
19
|
+
h3 { clear: left; }
|
|
20
|
+
</style>
|
|
21
|
+
<script>
|
|
22
|
+
$(function() {
|
|
23
|
+
$( "#draggable" ).draggable({ axis: "y" });
|
|
24
|
+
$( "#draggable2" ).draggable({ axis: "x" });
|
|
25
|
+
|
|
26
|
+
$( "#draggable3" ).draggable({ containment: "#containment-wrapper", scroll: false });
|
|
27
|
+
$( "#draggable5" ).draggable({ containment: "parent" });
|
|
28
|
+
});
|
|
29
|
+
</script>
|
|
30
|
+
</head>
|
|
31
|
+
<body>
|
|
32
|
+
|
|
33
|
+
<h3>Constrain movement along an axis:</h3>
|
|
34
|
+
|
|
35
|
+
<div id="draggable" class="draggable ui-widget-content">
|
|
36
|
+
<p>I can be dragged only vertically</p>
|
|
37
|
+
</div>
|
|
38
|
+
|
|
39
|
+
<div id="draggable2" class="draggable ui-widget-content">
|
|
40
|
+
<p>I can be dragged only horizontally</p>
|
|
41
|
+
</div>
|
|
42
|
+
|
|
43
|
+
<h3>Or to within another DOM element:</h3>
|
|
44
|
+
<div id="containment-wrapper">
|
|
45
|
+
<div id="draggable3" class="draggable ui-widget-content">
|
|
46
|
+
<p>I'm contained within the box</p>
|
|
47
|
+
</div>
|
|
48
|
+
|
|
49
|
+
<div class="draggable ui-widget-content">
|
|
50
|
+
<p id="draggable5" class="ui-widget-header">I'm contained within my parent</p>
|
|
51
|
+
</div>
|
|
52
|
+
</div>
|
|
53
|
+
|
|
54
|
+
<div class="demo-description">
|
|
55
|
+
<p>Constrain the movement of each draggable by defining the boundaries of the draggable area. Set the <code>axis</code> option to limit the draggable's path to the x- or y-axis, or use the <code>containment</code> option to specify a parent DOM element or a jQuery selector, like 'document.'</p>
|
|
56
|
+
</div>
|
|
57
|
+
</body>
|
|
58
|
+
</html>
|
data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/draggable/cursor-style.html
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<title>jQuery UI Draggable - Cursor style</title>
|
|
6
|
+
<link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
|
|
7
|
+
<script src="../../jquery-1.10.2.js"></script>
|
|
8
|
+
<script src="../../ui/jquery.ui.core.js"></script>
|
|
9
|
+
<script src="../../ui/jquery.ui.widget.js"></script>
|
|
10
|
+
<script src="../../ui/jquery.ui.mouse.js"></script>
|
|
11
|
+
<script src="../../ui/jquery.ui.draggable.js"></script>
|
|
12
|
+
<link rel="stylesheet" href="../demos.css">
|
|
13
|
+
<style>
|
|
14
|
+
#draggable, #draggable2, #draggable3 { width: 100px; height: 100px; padding: 0.5em; float: left; margin: 0 10px 10px 0; }
|
|
15
|
+
</style>
|
|
16
|
+
<script>
|
|
17
|
+
$(function() {
|
|
18
|
+
$( "#draggable" ).draggable({ cursor: "move", cursorAt: { top: 56, left: 56 } });
|
|
19
|
+
$( "#draggable2" ).draggable({ cursor: "crosshair", cursorAt: { top: -5, left: -5 } });
|
|
20
|
+
$( "#draggable3" ).draggable({ cursorAt: { bottom: 0 } });
|
|
21
|
+
});
|
|
22
|
+
</script>
|
|
23
|
+
</head>
|
|
24
|
+
<body>
|
|
25
|
+
|
|
26
|
+
<div id="draggable" class="ui-widget-content">
|
|
27
|
+
<p>I will always stick to the center (relative to the mouse)</p>
|
|
28
|
+
</div>
|
|
29
|
+
|
|
30
|
+
<div id="draggable2" class="ui-widget-content">
|
|
31
|
+
<p>My cursor is at left -5 and top -5</p>
|
|
32
|
+
</div>
|
|
33
|
+
|
|
34
|
+
<div id="draggable3" class="ui-widget-content">
|
|
35
|
+
<p>My cursor position is only controlled for the 'bottom' value</p>
|
|
36
|
+
</div>
|
|
37
|
+
|
|
38
|
+
<div class="demo-description">
|
|
39
|
+
<p>Position the cursor while dragging the object. By default the cursor appears in the center of the dragged object; use the <code>cursorAt</code> option to specify another location relative to the draggable (specify a pixel value from the top, right, bottom, and/or left). Customize the cursor's appearance by supplying the <code>cursor</code> option with a valid CSS cursor value: default, move, pointer, crosshair, etc.</p>
|
|
40
|
+
</div>
|
|
41
|
+
</body>
|
|
42
|
+
</html>
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<title>jQuery UI Draggable - Default functionality</title>
|
|
6
|
+
<link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
|
|
7
|
+
<script src="../../jquery-1.10.2.js"></script>
|
|
8
|
+
<script src="../../ui/jquery.ui.core.js"></script>
|
|
9
|
+
<script src="../../ui/jquery.ui.widget.js"></script>
|
|
10
|
+
<script src="../../ui/jquery.ui.mouse.js"></script>
|
|
11
|
+
<script src="../../ui/jquery.ui.draggable.js"></script>
|
|
12
|
+
<link rel="stylesheet" href="../demos.css">
|
|
13
|
+
<style>
|
|
14
|
+
#draggable { width: 150px; height: 150px; padding: 0.5em; }
|
|
15
|
+
</style>
|
|
16
|
+
<script>
|
|
17
|
+
$(function() {
|
|
18
|
+
$( "#draggable" ).draggable();
|
|
19
|
+
});
|
|
20
|
+
</script>
|
|
21
|
+
</head>
|
|
22
|
+
<body>
|
|
23
|
+
|
|
24
|
+
<div id="draggable" class="ui-widget-content">
|
|
25
|
+
<p>Drag me around</p>
|
|
26
|
+
</div>
|
|
27
|
+
|
|
28
|
+
<div class="demo-description">
|
|
29
|
+
<p>Enable draggable functionality on any DOM element. Move the draggable object by clicking on it with the mouse and dragging it anywhere within the viewport.</p>
|
|
30
|
+
</div>
|
|
31
|
+
</body>
|
|
32
|
+
</html>
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<title>jQuery UI Draggable - Delay start</title>
|
|
6
|
+
<link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
|
|
7
|
+
<script src="../../jquery-1.10.2.js"></script>
|
|
8
|
+
<script src="../../ui/jquery.ui.core.js"></script>
|
|
9
|
+
<script src="../../ui/jquery.ui.widget.js"></script>
|
|
10
|
+
<script src="../../ui/jquery.ui.mouse.js"></script>
|
|
11
|
+
<script src="../../ui/jquery.ui.draggable.js"></script>
|
|
12
|
+
<link rel="stylesheet" href="../demos.css">
|
|
13
|
+
<style>
|
|
14
|
+
#draggable, #draggable2 { width: 120px; height: 120px; padding: 0.5em; float: left; margin: 0 10px 10px 0; }
|
|
15
|
+
</style>
|
|
16
|
+
<script>
|
|
17
|
+
$(function() {
|
|
18
|
+
$( "#draggable" ).draggable({ distance: 20 });
|
|
19
|
+
$( "#draggable2" ).draggable({ delay: 1000 });
|
|
20
|
+
$( ".ui-draggable" ).disableSelection();
|
|
21
|
+
});
|
|
22
|
+
</script>
|
|
23
|
+
</head>
|
|
24
|
+
<body>
|
|
25
|
+
|
|
26
|
+
<div id="draggable" class="ui-widget-content">
|
|
27
|
+
<p>Only if you drag me by 20 pixels, the dragging will start</p>
|
|
28
|
+
</div>
|
|
29
|
+
|
|
30
|
+
<div id="draggable2" class="ui-widget-content">
|
|
31
|
+
<p>Regardless of the distance, you have to drag and wait for 1000ms before dragging starts</p>
|
|
32
|
+
</div>
|
|
33
|
+
|
|
34
|
+
<div class="demo-description">
|
|
35
|
+
<p>Delay the start of dragging for a number of milliseconds with the <code>delay</code> option; prevent dragging until the cursor is held down and dragged a specifed number of pixels with the <code>distance</code> option. </p>
|
|
36
|
+
</div>
|
|
37
|
+
</body>
|
|
38
|
+
</html>
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<title>jQuery UI Draggable - Events</title>
|
|
6
|
+
<link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
|
|
7
|
+
<script src="../../jquery-1.10.2.js"></script>
|
|
8
|
+
<script src="../../ui/jquery.ui.core.js"></script>
|
|
9
|
+
<script src="../../ui/jquery.ui.widget.js"></script>
|
|
10
|
+
<script src="../../ui/jquery.ui.mouse.js"></script>
|
|
11
|
+
<script src="../../ui/jquery.ui.draggable.js"></script>
|
|
12
|
+
<link rel="stylesheet" href="../demos.css">
|
|
13
|
+
<style>
|
|
14
|
+
#draggable { width: 16em; padding: 0 1em; }
|
|
15
|
+
#draggable ul li { margin: 1em 0; padding: 0.5em 0; } * html #draggable ul li { height: 1%; }
|
|
16
|
+
#draggable ul li span.ui-icon { float: left; }
|
|
17
|
+
#draggable ul li span.count { font-weight: bold; }
|
|
18
|
+
</style>
|
|
19
|
+
<script>
|
|
20
|
+
$(function() {
|
|
21
|
+
var $start_counter = $( "#event-start" ),
|
|
22
|
+
$drag_counter = $( "#event-drag" ),
|
|
23
|
+
$stop_counter = $( "#event-stop" ),
|
|
24
|
+
counts = [ 0, 0, 0 ];
|
|
25
|
+
|
|
26
|
+
$( "#draggable" ).draggable({
|
|
27
|
+
start: function() {
|
|
28
|
+
counts[ 0 ]++;
|
|
29
|
+
updateCounterStatus( $start_counter, counts[ 0 ] );
|
|
30
|
+
},
|
|
31
|
+
drag: function() {
|
|
32
|
+
counts[ 1 ]++;
|
|
33
|
+
updateCounterStatus( $drag_counter, counts[ 1 ] );
|
|
34
|
+
},
|
|
35
|
+
stop: function() {
|
|
36
|
+
counts[ 2 ]++;
|
|
37
|
+
updateCounterStatus( $stop_counter, counts[ 2 ] );
|
|
38
|
+
}
|
|
39
|
+
});
|
|
40
|
+
|
|
41
|
+
function updateCounterStatus( $event_counter, new_count ) {
|
|
42
|
+
// first update the status visually...
|
|
43
|
+
if ( !$event_counter.hasClass( "ui-state-hover" ) ) {
|
|
44
|
+
$event_counter.addClass( "ui-state-hover" )
|
|
45
|
+
.siblings().removeClass( "ui-state-hover" );
|
|
46
|
+
}
|
|
47
|
+
// ...then update the numbers
|
|
48
|
+
$( "span.count", $event_counter ).text( new_count );
|
|
49
|
+
}
|
|
50
|
+
});
|
|
51
|
+
</script>
|
|
52
|
+
</head>
|
|
53
|
+
<body>
|
|
54
|
+
|
|
55
|
+
<div id="draggable" class="ui-widget ui-widget-content">
|
|
56
|
+
|
|
57
|
+
<p>Drag me to trigger the chain of events.</p>
|
|
58
|
+
|
|
59
|
+
<ul class="ui-helper-reset">
|
|
60
|
+
<li id="event-start" class="ui-state-default ui-corner-all"><span class="ui-icon ui-icon-play"></span>"start" invoked <span class="count">0</span>x</li>
|
|
61
|
+
<li id="event-drag" class="ui-state-default ui-corner-all"><span class="ui-icon ui-icon-arrow-4"></span>"drag" invoked <span class="count">0</span>x</li>
|
|
62
|
+
<li id="event-stop" class="ui-state-default ui-corner-all"><span class="ui-icon ui-icon-stop"></span>"stop" invoked <span class="count">0</span>x</li>
|
|
63
|
+
</ul>
|
|
64
|
+
</div>
|
|
65
|
+
|
|
66
|
+
<div class="demo-description">
|
|
67
|
+
<p>Layer functionality onto the draggable using the <code>start</code>, <code>drag</code>, and <code>stop</code> events. Start is fired at the start of the drag; drag during the drag; and stop when dragging stops.</p>
|
|
68
|
+
</div>
|
|
69
|
+
</body>
|
|
70
|
+
</html>
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<title>jQuery UI Draggable - Handles</title>
|
|
6
|
+
<link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
|
|
7
|
+
<script src="../../jquery-1.10.2.js"></script>
|
|
8
|
+
<script src="../../ui/jquery.ui.core.js"></script>
|
|
9
|
+
<script src="../../ui/jquery.ui.widget.js"></script>
|
|
10
|
+
<script src="../../ui/jquery.ui.mouse.js"></script>
|
|
11
|
+
<script src="../../ui/jquery.ui.draggable.js"></script>
|
|
12
|
+
<link rel="stylesheet" href="../demos.css">
|
|
13
|
+
<style>
|
|
14
|
+
#draggable, #draggable2 { width: 100px; height: 100px; padding: 0.5em; float: left; margin: 0 10px 10px 0; }
|
|
15
|
+
#draggable p { cursor: move; }
|
|
16
|
+
</style>
|
|
17
|
+
<script>
|
|
18
|
+
$(function() {
|
|
19
|
+
$( "#draggable" ).draggable({ handle: "p" });
|
|
20
|
+
$( "#draggable2" ).draggable({ cancel: "p.ui-widget-header" });
|
|
21
|
+
$( "div, p" ).disableSelection();
|
|
22
|
+
});
|
|
23
|
+
</script>
|
|
24
|
+
</head>
|
|
25
|
+
<body>
|
|
26
|
+
|
|
27
|
+
<div id="draggable" class="ui-widget-content">
|
|
28
|
+
<p class="ui-widget-header">I can be dragged only by this handle</p>
|
|
29
|
+
</div>
|
|
30
|
+
|
|
31
|
+
<div id="draggable2" class="ui-widget-content">
|
|
32
|
+
<p>You can drag me around…</p>
|
|
33
|
+
<p class="ui-widget-header">…but you can't drag me by this handle.</p>
|
|
34
|
+
</div>
|
|
35
|
+
|
|
36
|
+
<div class="demo-description">
|
|
37
|
+
<p>Allow dragging only when the cursor is over a specific part of the draggable. Use the <code>handle</code> option to specify the jQuery selector of an element (or group of elements) used to drag the object.</p>
|
|
38
|
+
<p>Or prevent dragging when the cursor is over a specific element (or group of elements) within the draggable. Use the <code>cancel</code> option to specify a jQuery selector over which to "cancel" draggable functionality.</p>
|
|
39
|
+
</div>
|
|
40
|
+
</body>
|
|
41
|
+
</html>
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<title>jQuery UI Draggable Demos</title>
|
|
6
|
+
</head>
|
|
7
|
+
<body>
|
|
8
|
+
|
|
9
|
+
<ul>
|
|
10
|
+
<li><a href="default.html">Default functionality</a></li>
|
|
11
|
+
<li><a href="events.html">Events</a></li>
|
|
12
|
+
<li><a href="constrain-movement.html">Constrain movement</a></li>
|
|
13
|
+
<li><a href="delay-start.html">Delay start</a></li>
|
|
14
|
+
<li><a href="snap-to.html">Snap to element or grid</a></li>
|
|
15
|
+
<li><a href="scroll.html">Auto-scroll</a></li>
|
|
16
|
+
<li><a href="revert.html">Revert position</a></li>
|
|
17
|
+
<li><a href="visual-feedback.html">Visual feedback</a></li>
|
|
18
|
+
<li><a href="handle.html">Drag handle</a></li>
|
|
19
|
+
<li><a href="cursor-style.html">Cursor style</a></li>
|
|
20
|
+
<li><a href="sortable.html">Draggable + Sortable</a></li>
|
|
21
|
+
</ul>
|
|
22
|
+
|
|
23
|
+
</body>
|
|
24
|
+
</html>
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<title>jQuery UI Draggable - Revert position</title>
|
|
6
|
+
<link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
|
|
7
|
+
<script src="../../jquery-1.10.2.js"></script>
|
|
8
|
+
<script src="../../ui/jquery.ui.core.js"></script>
|
|
9
|
+
<script src="../../ui/jquery.ui.widget.js"></script>
|
|
10
|
+
<script src="../../ui/jquery.ui.mouse.js"></script>
|
|
11
|
+
<script src="../../ui/jquery.ui.draggable.js"></script>
|
|
12
|
+
<link rel="stylesheet" href="../demos.css">
|
|
13
|
+
<style>
|
|
14
|
+
#draggable, #draggable2 { width: 100px; height: 100px; padding: 0.5em; float: left; margin: 0 10px 10px 0; }
|
|
15
|
+
</style>
|
|
16
|
+
<script>
|
|
17
|
+
$(function() {
|
|
18
|
+
$( "#draggable" ).draggable({ revert: true });
|
|
19
|
+
$( "#draggable2" ).draggable({ revert: true, helper: "clone" });
|
|
20
|
+
});
|
|
21
|
+
</script>
|
|
22
|
+
</head>
|
|
23
|
+
<body>
|
|
24
|
+
|
|
25
|
+
<div id="draggable" class="ui-widget-content">
|
|
26
|
+
<p>Revert the original</p>
|
|
27
|
+
</div>
|
|
28
|
+
|
|
29
|
+
<div id="draggable2" class="ui-widget-content">
|
|
30
|
+
<p>Revert the helper</p>
|
|
31
|
+
</div>
|
|
32
|
+
|
|
33
|
+
<div class="demo-description">
|
|
34
|
+
<p>Return the draggable (or it's helper) to its original location when dragging stops with the boolean <code>revert</code> option.</p>
|
|
35
|
+
</div>
|
|
36
|
+
</body>
|
|
37
|
+
</html>
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<title>jQuery UI Draggable - Auto-scroll</title>
|
|
6
|
+
<link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
|
|
7
|
+
<script src="../../jquery-1.10.2.js"></script>
|
|
8
|
+
<script src="../../ui/jquery.ui.core.js"></script>
|
|
9
|
+
<script src="../../ui/jquery.ui.widget.js"></script>
|
|
10
|
+
<script src="../../ui/jquery.ui.mouse.js"></script>
|
|
11
|
+
<script src="../../ui/jquery.ui.draggable.js"></script>
|
|
12
|
+
<link rel="stylesheet" href="../demos.css">
|
|
13
|
+
<style>
|
|
14
|
+
#draggable, #draggable2, #draggable3 { width: 100px; height: 100px; padding: 0.5em; float: left; margin: 0 10px 10px 0; }
|
|
15
|
+
</style>
|
|
16
|
+
<script>
|
|
17
|
+
$(function() {
|
|
18
|
+
$( "#draggable" ).draggable({ scroll: true });
|
|
19
|
+
$( "#draggable2" ).draggable({ scroll: true, scrollSensitivity: 100 });
|
|
20
|
+
$( "#draggable3" ).draggable({ scroll: true, scrollSpeed: 100 });
|
|
21
|
+
});
|
|
22
|
+
</script>
|
|
23
|
+
</head>
|
|
24
|
+
<body>
|
|
25
|
+
|
|
26
|
+
<div id="draggable" class="ui-widget-content">
|
|
27
|
+
<p>Scroll set to true, default settings</p>
|
|
28
|
+
</div>
|
|
29
|
+
|
|
30
|
+
<div id="draggable2" class="ui-widget-content">
|
|
31
|
+
<p>scrollSensitivity set to 100</p>
|
|
32
|
+
</div>
|
|
33
|
+
|
|
34
|
+
<div id="draggable3" class="ui-widget-content">
|
|
35
|
+
<p>scrollSpeed set to 100</p>
|
|
36
|
+
</div>
|
|
37
|
+
|
|
38
|
+
<div style='height: 5000px; width: 1px;'></div>
|
|
39
|
+
|
|
40
|
+
<div class="demo-description">
|
|
41
|
+
<p>Automatically scroll the document when the draggable is moved beyond the viewport. Set the <code>scroll</code> option to true to enable auto-scrolling, and fine-tune when scrolling is triggered and its speed with the <code>scrollSensitivity</code> and <code>scrollSpeed</code> options.</p>
|
|
42
|
+
</div>
|
|
43
|
+
</body>
|
|
44
|
+
</html>
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<title>jQuery UI Draggable - Snap to element or grid</title>
|
|
6
|
+
<link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
|
|
7
|
+
<script src="../../jquery-1.10.2.js"></script>
|
|
8
|
+
<script src="../../ui/jquery.ui.core.js"></script>
|
|
9
|
+
<script src="../../ui/jquery.ui.widget.js"></script>
|
|
10
|
+
<script src="../../ui/jquery.ui.mouse.js"></script>
|
|
11
|
+
<script src="../../ui/jquery.ui.draggable.js"></script>
|
|
12
|
+
<link rel="stylesheet" href="../demos.css">
|
|
13
|
+
<style>
|
|
14
|
+
.draggable { width: 90px; height: 80px; padding: 5px; float: left; margin: 0 10px 10px 0; font-size: .9em; }
|
|
15
|
+
.ui-widget-header p, .ui-widget-content p { margin: 0; }
|
|
16
|
+
#snaptarget { height: 140px; }
|
|
17
|
+
</style>
|
|
18
|
+
<script>
|
|
19
|
+
$(function() {
|
|
20
|
+
$( "#draggable" ).draggable({ snap: true });
|
|
21
|
+
$( "#draggable2" ).draggable({ snap: ".ui-widget-header" });
|
|
22
|
+
$( "#draggable3" ).draggable({ snap: ".ui-widget-header", snapMode: "outer" });
|
|
23
|
+
$( "#draggable4" ).draggable({ grid: [ 20, 20 ] });
|
|
24
|
+
$( "#draggable5" ).draggable({ grid: [ 80, 80 ] });
|
|
25
|
+
});
|
|
26
|
+
</script>
|
|
27
|
+
</head>
|
|
28
|
+
<body>
|
|
29
|
+
|
|
30
|
+
<div id="snaptarget" class="ui-widget-header">
|
|
31
|
+
<p>I'm a snap target</p>
|
|
32
|
+
</div>
|
|
33
|
+
|
|
34
|
+
<br style="clear:both" />
|
|
35
|
+
|
|
36
|
+
<div id="draggable" class="draggable ui-widget-content">
|
|
37
|
+
<p>Default (snap: true), snaps to all other draggable elements</p>
|
|
38
|
+
</div>
|
|
39
|
+
|
|
40
|
+
<div id="draggable2" class="draggable ui-widget-content">
|
|
41
|
+
<p>I only snap to the big box</p>
|
|
42
|
+
</div>
|
|
43
|
+
|
|
44
|
+
<div id="draggable3" class="draggable ui-widget-content">
|
|
45
|
+
<p>I only snap to the outer edges of the big box</p>
|
|
46
|
+
</div>
|
|
47
|
+
|
|
48
|
+
<div id="draggable4" class="draggable ui-widget-content">
|
|
49
|
+
<p>I snap to a 20 x 20 grid</p>
|
|
50
|
+
</div>
|
|
51
|
+
|
|
52
|
+
<div id="draggable5" class="draggable ui-widget-content">
|
|
53
|
+
<p>I snap to a 80 x 80 grid</p>
|
|
54
|
+
</div>
|
|
55
|
+
|
|
56
|
+
<div class="demo-description">
|
|
57
|
+
<p>Snap the draggable to the inner or outer boundaries of a DOM element. Use the <code>snap</code>, <code>snapMode</code> (inner, outer, both), and <code>snapTolerance</code> (distance in pixels the draggable must be from the element when snapping is invoked) options. </p>
|
|
58
|
+
<p>Or snap the draggable to a grid. Set the dimensions of grid cells (height and width in pixels) with the <code>grid</code> option.</p>
|
|
59
|
+
</div>
|
|
60
|
+
</body>
|
|
61
|
+
</html>
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<title>jQuery UI Draggable + Sortable</title>
|
|
6
|
+
<link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
|
|
7
|
+
<script src="../../jquery-1.10.2.js"></script>
|
|
8
|
+
<script src="../../ui/jquery.ui.core.js"></script>
|
|
9
|
+
<script src="../../ui/jquery.ui.widget.js"></script>
|
|
10
|
+
<script src="../../ui/jquery.ui.mouse.js"></script>
|
|
11
|
+
<script src="../../ui/jquery.ui.draggable.js"></script>
|
|
12
|
+
<script src="../../ui/jquery.ui.sortable.js"></script>
|
|
13
|
+
<link rel="stylesheet" href="../demos.css">
|
|
14
|
+
<style>
|
|
15
|
+
ul { list-style-type: none; margin: 0; padding: 0; margin-bottom: 10px; }
|
|
16
|
+
li { margin: 5px; padding: 5px; width: 150px; }
|
|
17
|
+
</style>
|
|
18
|
+
<script>
|
|
19
|
+
$(function() {
|
|
20
|
+
$( "#sortable" ).sortable({
|
|
21
|
+
revert: true
|
|
22
|
+
});
|
|
23
|
+
$( "#draggable" ).draggable({
|
|
24
|
+
connectToSortable: "#sortable",
|
|
25
|
+
helper: "clone",
|
|
26
|
+
revert: "invalid"
|
|
27
|
+
});
|
|
28
|
+
$( "ul, li" ).disableSelection();
|
|
29
|
+
});
|
|
30
|
+
</script>
|
|
31
|
+
</head>
|
|
32
|
+
<body>
|
|
33
|
+
|
|
34
|
+
<ul>
|
|
35
|
+
<li id="draggable" class="ui-state-highlight">Drag me down</li>
|
|
36
|
+
</ul>
|
|
37
|
+
|
|
38
|
+
<ul id="sortable">
|
|
39
|
+
<li class="ui-state-default">Item 1</li>
|
|
40
|
+
<li class="ui-state-default">Item 2</li>
|
|
41
|
+
<li class="ui-state-default">Item 3</li>
|
|
42
|
+
<li class="ui-state-default">Item 4</li>
|
|
43
|
+
<li class="ui-state-default">Item 5</li>
|
|
44
|
+
</ul>
|
|
45
|
+
|
|
46
|
+
<div class="demo-description">
|
|
47
|
+
<p>Draggables are built to interact seamlessly with <a href="http://jqueryui.com/sortable">sortables</a>.</p>
|
|
48
|
+
</div>
|
|
49
|
+
</body>
|
|
50
|
+
</html>
|