hydroponics 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +2 -2
- data/Rakefile +1 -0
- data/VERSION +1 -1
- data/bin/hydro +19 -5
- data/hydroponics.gemspec +409 -3
- data/lib/db_remote.rb +23 -0
- data/lib/hydroponics.rb +17 -4
- data/lib/views/index.erb +26 -0
- data/static/jquery-ui-1.8.5.custom/css/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/static/jquery-ui-1.8.5.custom/css/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/static/jquery-ui-1.8.5.custom/css/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/static/jquery-ui-1.8.5.custom/css/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/static/jquery-ui-1.8.5.custom/css/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/static/jquery-ui-1.8.5.custom/css/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/static/jquery-ui-1.8.5.custom/css/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/static/jquery-ui-1.8.5.custom/css/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/static/jquery-ui-1.8.5.custom/css/smoothness/images/ui-icons_222222_256x240.png +0 -0
- data/static/jquery-ui-1.8.5.custom/css/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
- data/static/jquery-ui-1.8.5.custom/css/smoothness/images/ui-icons_454545_256x240.png +0 -0
- data/static/jquery-ui-1.8.5.custom/css/smoothness/images/ui-icons_888888_256x240.png +0 -0
- data/static/jquery-ui-1.8.5.custom/css/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/static/jquery-ui-1.8.5.custom/css/smoothness/jquery-ui-1.8.5.custom.css +572 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/AUTHORS.txt +30 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/GPL-LICENSE.txt +278 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/MIT-LICENSE.txt +25 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/accordion/collapsible.html +57 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/accordion/custom-icons.html +69 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/accordion/default.html +85 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/accordion/fillspace.html +76 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/accordion/hoverintent.html +134 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/accordion/index.html +25 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/accordion/mouseover.html +57 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/accordion/no-auto-height.html +60 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/accordion/sortable.html +83 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/addClass/default.html +52 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/addClass/index.html +18 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/animate/default.html +61 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/animate/index.html +18 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/autocomplete/categories.html +71 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/autocomplete/combobox.html +163 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/autocomplete/custom-data.html +95 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/autocomplete/default.html +64 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/autocomplete/folding.html +62 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/autocomplete/images/jquery_32x32.png +0 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/autocomplete/images/jqueryui_32x32.png +0 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/autocomplete/images/sizzlejs_32x32.png +0 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/autocomplete/images/transparent_1x1.png +0 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/autocomplete/images/ui-anim_basic_16x16.gif +0 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/autocomplete/index.html +27 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/autocomplete/london.xml +114 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/autocomplete/maxheight.html +75 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/autocomplete/multiple-remote.html +76 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/autocomplete/multiple.html +91 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/autocomplete/remote-jsonp.html +86 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/autocomplete/remote-with-cache.html +59 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/autocomplete/remote.html +59 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/autocomplete/search.php +640 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/autocomplete/xml.html +72 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/button/checkbox.html +44 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/button/default.html +38 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/button/icons.html +56 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/button/index.html +23 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/button/radio.html +39 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/button/splitbutton.html +55 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/button/toolbar.html +120 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/datepicker/alt-field.html +36 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/datepicker/animation.html +58 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/datepicker/buttonbar.html +35 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/datepicker/date-formats.html +47 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/datepicker/default.html +33 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/datepicker/dropdown-month-year.html +36 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/datepicker/event-search.html +49 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/datepicker/icon-trigger.html +37 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/datepicker/images/calendar.gif +0 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/datepicker/index.html +31 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/datepicker/inline.html +33 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/datepicker/localization.html +146 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/datepicker/min-max.html +33 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/datepicker/multiple-calendars.html +36 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/datepicker/other-months.html +37 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/datepicker/show-week.html +39 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/demos.css +334 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/dialog/animated.html +56 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/dialog/default.html +54 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/dialog/index.html +23 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/dialog/modal-confirmation.html +69 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/dialog/modal-form.html +167 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/dialog/modal-message.html +71 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/dialog/modal.html +60 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/draggable/constrain-movement.html +69 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/draggable/cursor-style.html +49 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/draggable/default.html +39 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/draggable/delay-start.html +45 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/draggable/events.html +77 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/draggable/handle.html +50 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/draggable/index.html +28 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/draggable/revert.html +44 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/draggable/scroll.html +51 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/draggable/snap-to.html +68 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/draggable/sortable.html +57 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/draggable/visual-feedback.html +77 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/droppable/accepted-elements.html +60 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/droppable/default.html +53 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/droppable/images/high_tatras.jpg +0 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/droppable/images/high_tatras2.jpg +0 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/droppable/images/high_tatras2_min.jpg +0 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/droppable/images/high_tatras3.jpg +0 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/droppable/images/high_tatras3_min.jpg +0 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/droppable/images/high_tatras4.jpg +0 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/droppable/images/high_tatras4_min.jpg +0 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/droppable/images/high_tatras_min.jpg +0 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/droppable/index.html +24 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/droppable/photo-manager.html +184 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/droppable/propagation.html +80 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/droppable/revert.html +61 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/droppable/shopping-cart.html +101 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/droppable/visual-feedback.html +78 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/effect/default.html +109 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/effect/easing.html +107 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/effect/index.html +19 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/hide/default.html +102 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/hide/index.html +18 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/images/calendar.gif +0 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/images/demo-config-on-tile.gif +0 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/images/demo-config-on.gif +0 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/images/demo-spindown-closed.gif +0 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/images/demo-spindown-open.gif +0 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/images/icon-docs-info.gif +0 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/images/pbar-ani.gif +0 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/index.html +314 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/position/cycler.html +122 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/position/default.html +153 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/position/images/earth.jpg +0 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/position/images/flight.jpg +0 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/position/images/rocket.jpg +0 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/position/index.html +19 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/progressbar/animated.html +44 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/progressbar/default.html +35 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/progressbar/images/pbar-ani.gif +0 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/progressbar/index.html +20 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/progressbar/resize.html +40 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/removeClass/default.html +52 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/removeClass/index.html +18 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/resizable/animate.html +41 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/resizable/aspect-ratio.html +40 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/resizable/constrain-area.html +45 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/resizable/default.html +38 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/resizable/delay-start.html +52 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/resizable/helper.html +41 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/resizable/index.html +28 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/resizable/max-min.html +43 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/resizable/snap-to-grid.html +40 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/resizable/synchronous-resize.html +47 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/resizable/textarea.html +39 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/resizable/visual-feedback.html +41 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/selectable/default.html +48 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/selectable/display-grid.html +53 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/selectable/index.html +20 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/selectable/serialize.html +59 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/show/default.html +103 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/show/index.html +18 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/slider/colorpicker.html +95 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/slider/default.html +37 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/slider/hotelrooms.html +59 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/slider/index.html +29 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/slider/multiple-vertical.html +77 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/slider/range-vertical.html +50 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/slider/range.html +51 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/slider/rangemax.html +50 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/slider/rangemin.html +51 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/slider/side-scroll.html +138 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/slider/slider-vertical.html +52 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/slider/steps.html +51 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/slider/tabs.html +67 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/sortable/connect-lists-through-tabs.html +79 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/sortable/connect-lists.html +58 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/sortable/default.html +51 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/sortable/delay-start.html +67 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/sortable/display-grid.html +54 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/sortable/empty-lists.html +69 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/sortable/index.html +26 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/sortable/items.html +71 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/sortable/placeholder.html +56 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/sortable/portlets.html +96 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/switchClass/default.html +48 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/switchClass/index.html +18 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/tabs/ajax/content1.html +4 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/tabs/ajax/content2.html +4 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/tabs/ajax/content3-slow.php +7 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/tabs/ajax/content4-broken.php +3 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/tabs/ajax.html +51 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/tabs/bottom.html +60 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/tabs/collapsible.html +56 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/tabs/cookie.html +57 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/tabs/default.html +49 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/tabs/index.html +25 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/tabs/manipulation.html +121 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/tabs/mouseover.html +54 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/tabs/sortable.html +65 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/tabs/vertical.html +64 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/toggle/default.html +92 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/toggle/index.html +18 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/toggleClass/default.html +46 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/demos/toggleClass/index.html +18 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/docs/accordion.html +977 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/docs/addClass.html +109 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/docs/animate.html +78 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/docs/autocomplete.html +710 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/docs/button.html +461 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/docs/datepicker.html +2531 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/docs/dialog.html +1603 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/docs/draggable.html +1536 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/docs/droppable.html +788 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/docs/effect.html +143 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/docs/hide.html +144 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/docs/position.html +226 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/docs/progressbar.html +381 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/docs/removeClass.html +113 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/docs/resizable.html +1160 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/docs/selectable.html +807 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/docs/show.html +144 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/docs/slider.html +821 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/docs/sortable.html +1910 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/docs/switchClass.html +129 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/docs/tabs.html +1513 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/docs/toggle.html +144 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/docs/toggleClass.html +111 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/external/jquery.bgiframe-2.1.1.js +10 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/external/jquery.cookie.js +89 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/external/jquery.metadata.js +122 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/external/qunit.css +153 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/external/qunit.js +1261 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/jquery-1.4.2.js +6240 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/themes/base/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/themes/base/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/themes/base/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/themes/base/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/themes/base/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/themes/base/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/themes/base/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/themes/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/themes/base/images/ui-icons_222222_256x240.png +0 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/themes/base/images/ui-icons_2e83ff_256x240.png +0 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/themes/base/images/ui-icons_454545_256x240.png +0 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/themes/base/images/ui-icons_888888_256x240.png +0 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/themes/base/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/themes/base/jquery.ui.accordion.css +19 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/themes/base/jquery.ui.all.css +11 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/themes/base/jquery.ui.autocomplete.css +53 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/themes/base/jquery.ui.base.css +11 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/themes/base/jquery.ui.button.css +38 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/themes/base/jquery.ui.core.css +41 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/themes/base/jquery.ui.datepicker.css +68 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/themes/base/jquery.ui.dialog.css +21 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/themes/base/jquery.ui.progressbar.css +11 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/themes/base/jquery.ui.resizable.css +20 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/themes/base/jquery.ui.selectable.css +10 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/themes/base/jquery.ui.slider.css +24 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/themes/base/jquery.ui.tabs.css +18 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/themes/base/jquery.ui.theme.css +252 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/themes/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/themes/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/themes/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/themes/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/themes/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/themes/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/themes/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/themes/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/themes/smoothness/images/ui-icons_222222_256x240.png +0 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/themes/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/themes/smoothness/images/ui-icons_454545_256x240.png +0 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/themes/smoothness/images/ui-icons_888888_256x240.png +0 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/themes/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/themes/smoothness/jquery-ui-1.8.5.custom.css +572 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/themes/smoothness/jquery.ui.accordion.css +19 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/themes/smoothness/jquery.ui.all.css +11 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/themes/smoothness/jquery.ui.autocomplete.css +53 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/themes/smoothness/jquery.ui.base.css +11 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/themes/smoothness/jquery.ui.button.css +38 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/themes/smoothness/jquery.ui.core.css +41 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/themes/smoothness/jquery.ui.datepicker.css +68 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/themes/smoothness/jquery.ui.dialog.css +21 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/themes/smoothness/jquery.ui.progressbar.css +11 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/themes/smoothness/jquery.ui.resizable.css +20 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/themes/smoothness/jquery.ui.selectable.css +10 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/themes/smoothness/jquery.ui.slider.css +24 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/themes/smoothness/jquery.ui.tabs.css +18 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/themes/smoothness/jquery.ui.theme.css +254 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery-ui-i18n.js +1199 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-af.js +23 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-ar.js +24 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-az.js +23 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-bg.js +24 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-bs.js +23 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-ca.js +23 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-cs.js +23 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-da.js +23 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-de.js +23 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-el.js +23 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-en-GB.js +23 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-eo.js +23 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-es.js +23 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-et.js +23 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-eu.js +23 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-fa.js +23 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-fi.js +23 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-fo.js +23 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-fr-CH.js +23 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-fr.js +23 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-he.js +23 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-hr.js +23 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-hu.js +23 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-hy.js +23 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-id.js +23 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-is.js +23 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-it.js +23 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-ja.js +23 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-ko.js +23 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-kz.js +23 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-lt.js +23 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-lv.js +23 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-ms.js +23 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-nl.js +23 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-no.js +23 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-pl.js +23 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-pt-BR.js +23 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-ro.js +26 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-ru.js +23 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-sk.js +23 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-sl.js +24 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-sq.js +23 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-sr-SR.js +23 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-sr.js +23 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-sv.js +23 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-ta.js +23 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-th.js +23 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-tr.js +23 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-uk.js +23 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-vi.js +23 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-zh-CN.js +23 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-zh-HK.js +23 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-zh-TW.js +23 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/jquery-ui-1.8.5.custom.js +11358 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/jquery.effects.blind.js +49 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/jquery.effects.bounce.js +78 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/jquery.effects.clip.js +54 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/jquery.effects.core.js +714 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/jquery.effects.drop.js +50 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/jquery.effects.explode.js +79 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/jquery.effects.fade.js +32 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/jquery.effects.fold.js +56 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/jquery.effects.highlight.js +50 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/jquery.effects.pulsate.js +51 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/jquery.effects.scale.js +178 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/jquery.effects.shake.js +57 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/jquery.effects.slide.js +50 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/jquery.effects.transfer.js +45 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/jquery.ui.accordion.js +598 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/jquery.ui.autocomplete.js +555 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/jquery.ui.button.js +372 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/jquery.ui.core.js +307 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/jquery.ui.datepicker.js +1732 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/jquery.ui.dialog.js +837 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/jquery.ui.draggable.js +797 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/jquery.ui.droppable.js +285 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/jquery.ui.mouse.js +151 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/jquery.ui.position.js +251 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/jquery.ui.progressbar.js +94 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/jquery.ui.resizable.js +812 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/jquery.ui.selectable.js +266 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/jquery.ui.slider.js +680 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/jquery.ui.sortable.js +1071 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/jquery.ui.tabs.js +758 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/jquery.ui.widget.js +249 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/minified/jquery.effects.blind.min.js +14 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/minified/jquery.effects.bounce.min.js +15 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/minified/jquery.effects.clip.min.js +14 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/minified/jquery.effects.core.min.js +30 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/minified/jquery.effects.drop.min.js +14 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/minified/jquery.effects.explode.min.js +15 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/minified/jquery.effects.fade.min.js +13 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/minified/jquery.effects.fold.min.js +14 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/minified/jquery.effects.highlight.min.js +14 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/minified/jquery.effects.pulsate.min.js +14 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/minified/jquery.effects.scale.min.js +20 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/minified/jquery.effects.shake.min.js +14 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/minified/jquery.effects.slide.min.js +14 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/minified/jquery.effects.transfer.min.js +14 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/minified/jquery.ui.accordion.min.js +30 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/minified/jquery.ui.autocomplete.min.js +31 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/minified/jquery.ui.button.min.js +25 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/minified/jquery.ui.core.min.js +17 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/minified/jquery.ui.datepicker.min.js +80 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/minified/jquery.ui.dialog.min.js +39 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/minified/jquery.ui.draggable.min.js +49 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/minified/jquery.ui.droppable.min.js +26 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/minified/jquery.ui.mouse.min.js +17 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/minified/jquery.ui.position.min.js +16 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/minified/jquery.ui.progressbar.min.js +16 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/minified/jquery.ui.resizable.min.js +47 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/minified/jquery.ui.selectable.min.js +22 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/minified/jquery.ui.slider.min.js +33 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/minified/jquery.ui.sortable.min.js +60 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/minified/jquery.ui.tabs.min.js +35 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/ui/minified/jquery.ui.widget.min.js +15 -0
- data/static/jquery-ui-1.8.5.custom/development-bundle/version.txt +1 -0
- data/static/jquery-ui-1.8.5.custom/index.html +395 -0
- data/static/jquery-ui-1.8.5.custom/js/jquery-1.4.2.min.js +154 -0
- data/static/jquery-ui-1.8.5.custom/js/jquery-ui-1.8.5.custom.min.js +778 -0
- metadata +421 -4
@@ -0,0 +1,788 @@
|
|
1
|
+
|
2
|
+
<ul class="UIAPIPlugin-toc">
|
3
|
+
<li><a href="#overview">Overview</a></li>
|
4
|
+
<li><a href="#options">Options</a></li>
|
5
|
+
<li><a href="#events">Events</a></li>
|
6
|
+
<li><a href="#methods">Methods</a></li>
|
7
|
+
<li><a href="#theming">Theming</a></li>
|
8
|
+
</ul>
|
9
|
+
<div class="UIAPIPlugin">
|
10
|
+
<h1>jQuery UI Droppable</h1>
|
11
|
+
<div id="overview">
|
12
|
+
<h2 class="top-header">Overview</h2>
|
13
|
+
<div id="overview-main">
|
14
|
+
<p>The jQuery UI Droppable plugin makes selected elements droppable (meaning they accept being dropped on by draggables). You can specify which (individually) or which kind of draggables each will accept.</p>
|
15
|
+
<p>All callbacks receive two arguments: The original browser event and a prepared ui object, view below for a documentation of this object (if you name your second argument 'ui'):</p>
|
16
|
+
<ul>
|
17
|
+
<li> <b>ui.draggable</b> - current draggable element, a jQuery object.</li>
|
18
|
+
<li> <b>ui.helper</b> - current draggable helper, a jQuery object</li>
|
19
|
+
<li> <b>ui.position</b> - current position of the draggable helper { top: , left: }</li>
|
20
|
+
<li> <b>ui.offset</b> - current absolute position of the draggable helper { top: , left: }</li>
|
21
|
+
</ul>
|
22
|
+
</div>
|
23
|
+
<div id="overview-dependencies">
|
24
|
+
<h3>Dependencies</h3>
|
25
|
+
<ul>
|
26
|
+
<li>UI Core</li>
|
27
|
+
<li><a href="http://docs.jquery.com/UI/Draggable" title="UI/Draggable">UI Draggable</a></li>
|
28
|
+
</ul>
|
29
|
+
</div>
|
30
|
+
<div id="overview-example">
|
31
|
+
<h3>Example</h3>
|
32
|
+
<div id="overview-example" class="example">
|
33
|
+
<ul><li><a href="#demo"><span>Demo</span></a></li><li><a href="#source"><span>View Source</span></a></li></ul>
|
34
|
+
<p><div id="demo" class="tabs-container" rel="100">
|
35
|
+
Makes the div droppable (a drop target for a draggable).<br />
|
36
|
+
</p>
|
37
|
+
<pre>$("#draggable").draggable();
|
38
|
+
$("#droppable").droppable({
|
39
|
+
drop: function() { alert('dropped'); }
|
40
|
+
});
|
41
|
+
</pre>
|
42
|
+
<p></div><div id="source" class="tabs-container">
|
43
|
+
</p>
|
44
|
+
<pre><!DOCTYPE html>
|
45
|
+
<html>
|
46
|
+
<head>
|
47
|
+
<link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/>
|
48
|
+
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
|
49
|
+
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script>
|
50
|
+
<style type="text/css">
|
51
|
+
#draggable { width: 75px; height: 25px; background: silver; padding: 10px; }
|
52
|
+
#droppable { position: absolute; left: 250px; top: 0; width: 125px; height: 75px; background: gray; color: white; padding: 10px; }
|
53
|
+
</style>
|
54
|
+
<script>
|
55
|
+
$(document).ready(function() {
|
56
|
+
$("#draggable").draggable();
|
57
|
+
$("#droppable").droppable({
|
58
|
+
drop: function() { alert('dropped'); }
|
59
|
+
});
|
60
|
+
});
|
61
|
+
</script>
|
62
|
+
</head>
|
63
|
+
<body style="font-size:62.5%;">
|
64
|
+
|
65
|
+
<div id="droppable">Drop here</div>
|
66
|
+
<div id="draggable">Drag me</div>
|
67
|
+
|
68
|
+
</body>
|
69
|
+
</html>
|
70
|
+
</pre>
|
71
|
+
<p></div>
|
72
|
+
</p><p></div>
|
73
|
+
</div>
|
74
|
+
</div>
|
75
|
+
<div id="options">
|
76
|
+
<h2 class="top-header">Options</h2>
|
77
|
+
<ul class="options-list">
|
78
|
+
|
79
|
+
<li class="option" id="option-disabled">
|
80
|
+
<div class="option-header">
|
81
|
+
<h3 class="option-name"><a href="#option-disabled">disabled</a></h3>
|
82
|
+
<dl>
|
83
|
+
<dt class="option-type-label">Type:</dt>
|
84
|
+
<dd class="option-type">Boolean</dd>
|
85
|
+
|
86
|
+
<dt class="option-default-label">Default:</dt>
|
87
|
+
<dd class="option-default">false</dd>
|
88
|
+
|
89
|
+
</dl>
|
90
|
+
</div>
|
91
|
+
<div class="option-description">
|
92
|
+
<p>Disables (true) or enables (false) the droppable. Can be set when initialising (first creating) the droppable.</p>
|
93
|
+
</div>
|
94
|
+
<div class="option-examples">
|
95
|
+
<h4>Code examples</h4>
|
96
|
+
<dl class="option-examples-list">
|
97
|
+
|
98
|
+
<dt>
|
99
|
+
Initialize a droppable with the <code>disabled</code> option specified.
|
100
|
+
</dt>
|
101
|
+
<dd>
|
102
|
+
<pre><code>$( ".selector" ).droppable({ disabled: true });</code></pre>
|
103
|
+
</dd>
|
104
|
+
|
105
|
+
|
106
|
+
<dt>
|
107
|
+
Get or set the <code>disabled</code> option, after init.
|
108
|
+
</dt>
|
109
|
+
<dd>
|
110
|
+
<pre><code>//getter
|
111
|
+
var disabled = $( ".selector" ).droppable( "option", "disabled" );
|
112
|
+
//setter
|
113
|
+
$( ".selector" ).droppable( "option", "disabled", true );</code></pre>
|
114
|
+
</dd>
|
115
|
+
|
116
|
+
</dl>
|
117
|
+
</div>
|
118
|
+
</li>
|
119
|
+
|
120
|
+
|
121
|
+
<li class="option" id="option-accept">
|
122
|
+
<div class="option-header">
|
123
|
+
<h3 class="option-name"><a href="#option-accept">accept</a></h3>
|
124
|
+
<dl>
|
125
|
+
<dt class="option-type-label">Type:</dt>
|
126
|
+
<dd class="option-type">Selector, Function</dd>
|
127
|
+
|
128
|
+
<dt class="option-default-label">Default:</dt>
|
129
|
+
<dd class="option-default">'*'</dd>
|
130
|
+
|
131
|
+
</dl>
|
132
|
+
</div>
|
133
|
+
<div class="option-description">
|
134
|
+
<p>All draggables that match the selector will be accepted. If a function is specified, the function will be called for each draggable on the page (passed as the first argument to the function), to provide a custom filter. The function should return true if the draggable should be accepted.</p>
|
135
|
+
</div>
|
136
|
+
<div class="option-examples">
|
137
|
+
<h4>Code examples</h4>
|
138
|
+
<dl class="option-examples-list">
|
139
|
+
|
140
|
+
<dt>
|
141
|
+
Initialize a droppable with the <code>accept</code> option specified.
|
142
|
+
</dt>
|
143
|
+
<dd>
|
144
|
+
<pre><code>$( ".selector" ).droppable({ accept: '.special' });</code></pre>
|
145
|
+
</dd>
|
146
|
+
|
147
|
+
|
148
|
+
<dt>
|
149
|
+
Get or set the <code>accept</code> option, after init.
|
150
|
+
</dt>
|
151
|
+
<dd>
|
152
|
+
<pre><code>//getter
|
153
|
+
var accept = $( ".selector" ).droppable( "option", "accept" );
|
154
|
+
//setter
|
155
|
+
$( ".selector" ).droppable( "option", "accept", '.special' );</code></pre>
|
156
|
+
</dd>
|
157
|
+
|
158
|
+
</dl>
|
159
|
+
</div>
|
160
|
+
</li>
|
161
|
+
|
162
|
+
|
163
|
+
<li class="option" id="option-activeClass">
|
164
|
+
<div class="option-header">
|
165
|
+
<h3 class="option-name"><a href="#option-activeClass">activeClass</a></h3>
|
166
|
+
<dl>
|
167
|
+
<dt class="option-type-label">Type:</dt>
|
168
|
+
<dd class="option-type">String</dd>
|
169
|
+
|
170
|
+
<dt class="option-default-label">Default:</dt>
|
171
|
+
<dd class="option-default">false</dd>
|
172
|
+
|
173
|
+
</dl>
|
174
|
+
</div>
|
175
|
+
<div class="option-description">
|
176
|
+
<p>If specified, the class will be added to the droppable while an acceptable draggable is being dragged.</p>
|
177
|
+
</div>
|
178
|
+
<div class="option-examples">
|
179
|
+
<h4>Code examples</h4>
|
180
|
+
<dl class="option-examples-list">
|
181
|
+
|
182
|
+
<dt>
|
183
|
+
Initialize a droppable with the <code>activeClass</code> option specified.
|
184
|
+
</dt>
|
185
|
+
<dd>
|
186
|
+
<pre><code>$( ".selector" ).droppable({ activeClass: 'ui-state-highlight' });</code></pre>
|
187
|
+
</dd>
|
188
|
+
|
189
|
+
|
190
|
+
<dt>
|
191
|
+
Get or set the <code>activeClass</code> option, after init.
|
192
|
+
</dt>
|
193
|
+
<dd>
|
194
|
+
<pre><code>//getter
|
195
|
+
var activeClass = $( ".selector" ).droppable( "option", "activeClass" );
|
196
|
+
//setter
|
197
|
+
$( ".selector" ).droppable( "option", "activeClass", 'ui-state-highlight' );</code></pre>
|
198
|
+
</dd>
|
199
|
+
|
200
|
+
</dl>
|
201
|
+
</div>
|
202
|
+
</li>
|
203
|
+
|
204
|
+
|
205
|
+
<li class="option" id="option-addClasses">
|
206
|
+
<div class="option-header">
|
207
|
+
<h3 class="option-name"><a href="#option-addClasses">addClasses</a></h3>
|
208
|
+
<dl>
|
209
|
+
<dt class="option-type-label">Type:</dt>
|
210
|
+
<dd class="option-type">Boolean</dd>
|
211
|
+
|
212
|
+
<dt class="option-default-label">Default:</dt>
|
213
|
+
<dd class="option-default">true</dd>
|
214
|
+
|
215
|
+
</dl>
|
216
|
+
</div>
|
217
|
+
<div class="option-description">
|
218
|
+
<p>If set to false, will prevent the ui-droppable class from being added. This may be desired as a performance optimization when calling .droppable() init on many hundreds of elements.</p>
|
219
|
+
</div>
|
220
|
+
<div class="option-examples">
|
221
|
+
<h4>Code examples</h4>
|
222
|
+
<dl class="option-examples-list">
|
223
|
+
|
224
|
+
<dt>
|
225
|
+
Initialize a droppable with the <code>addClasses</code> option specified.
|
226
|
+
</dt>
|
227
|
+
<dd>
|
228
|
+
<pre><code>$( ".selector" ).droppable({ addClasses: false });</code></pre>
|
229
|
+
</dd>
|
230
|
+
|
231
|
+
|
232
|
+
<dt>
|
233
|
+
Get or set the <code>addClasses</code> option, after init.
|
234
|
+
</dt>
|
235
|
+
<dd>
|
236
|
+
<pre><code>//getter
|
237
|
+
var addClasses = $( ".selector" ).droppable( "option", "addClasses" );
|
238
|
+
//setter
|
239
|
+
$( ".selector" ).droppable( "option", "addClasses", false );</code></pre>
|
240
|
+
</dd>
|
241
|
+
|
242
|
+
</dl>
|
243
|
+
</div>
|
244
|
+
</li>
|
245
|
+
|
246
|
+
|
247
|
+
<li class="option" id="option-greedy">
|
248
|
+
<div class="option-header">
|
249
|
+
<h3 class="option-name"><a href="#option-greedy">greedy</a></h3>
|
250
|
+
<dl>
|
251
|
+
<dt class="option-type-label">Type:</dt>
|
252
|
+
<dd class="option-type">Boolean</dd>
|
253
|
+
|
254
|
+
<dt class="option-default-label">Default:</dt>
|
255
|
+
<dd class="option-default">false</dd>
|
256
|
+
|
257
|
+
</dl>
|
258
|
+
</div>
|
259
|
+
<div class="option-description">
|
260
|
+
<p>If true, will prevent event propagation on nested droppables.</p>
|
261
|
+
</div>
|
262
|
+
<div class="option-examples">
|
263
|
+
<h4>Code examples</h4>
|
264
|
+
<dl class="option-examples-list">
|
265
|
+
|
266
|
+
<dt>
|
267
|
+
Initialize a droppable with the <code>greedy</code> option specified.
|
268
|
+
</dt>
|
269
|
+
<dd>
|
270
|
+
<pre><code>$( ".selector" ).droppable({ greedy: true });</code></pre>
|
271
|
+
</dd>
|
272
|
+
|
273
|
+
|
274
|
+
<dt>
|
275
|
+
Get or set the <code>greedy</code> option, after init.
|
276
|
+
</dt>
|
277
|
+
<dd>
|
278
|
+
<pre><code>//getter
|
279
|
+
var greedy = $( ".selector" ).droppable( "option", "greedy" );
|
280
|
+
//setter
|
281
|
+
$( ".selector" ).droppable( "option", "greedy", true );</code></pre>
|
282
|
+
</dd>
|
283
|
+
|
284
|
+
</dl>
|
285
|
+
</div>
|
286
|
+
</li>
|
287
|
+
|
288
|
+
|
289
|
+
<li class="option" id="option-hoverClass">
|
290
|
+
<div class="option-header">
|
291
|
+
<h3 class="option-name"><a href="#option-hoverClass">hoverClass</a></h3>
|
292
|
+
<dl>
|
293
|
+
<dt class="option-type-label">Type:</dt>
|
294
|
+
<dd class="option-type">String</dd>
|
295
|
+
|
296
|
+
<dt class="option-default-label">Default:</dt>
|
297
|
+
<dd class="option-default">false</dd>
|
298
|
+
|
299
|
+
</dl>
|
300
|
+
</div>
|
301
|
+
<div class="option-description">
|
302
|
+
<p>If specified, the class will be added to the droppable while an acceptable draggable is being hovered.</p>
|
303
|
+
</div>
|
304
|
+
<div class="option-examples">
|
305
|
+
<h4>Code examples</h4>
|
306
|
+
<dl class="option-examples-list">
|
307
|
+
|
308
|
+
<dt>
|
309
|
+
Initialize a droppable with the <code>hoverClass</code> option specified.
|
310
|
+
</dt>
|
311
|
+
<dd>
|
312
|
+
<pre><code>$( ".selector" ).droppable({ hoverClass: 'drophover' });</code></pre>
|
313
|
+
</dd>
|
314
|
+
|
315
|
+
|
316
|
+
<dt>
|
317
|
+
Get or set the <code>hoverClass</code> option, after init.
|
318
|
+
</dt>
|
319
|
+
<dd>
|
320
|
+
<pre><code>//getter
|
321
|
+
var hoverClass = $( ".selector" ).droppable( "option", "hoverClass" );
|
322
|
+
//setter
|
323
|
+
$( ".selector" ).droppable( "option", "hoverClass", 'drophover' );</code></pre>
|
324
|
+
</dd>
|
325
|
+
|
326
|
+
</dl>
|
327
|
+
</div>
|
328
|
+
</li>
|
329
|
+
|
330
|
+
|
331
|
+
<li class="option" id="option-scope">
|
332
|
+
<div class="option-header">
|
333
|
+
<h3 class="option-name"><a href="#option-scope">scope</a></h3>
|
334
|
+
<dl>
|
335
|
+
<dt class="option-type-label">Type:</dt>
|
336
|
+
<dd class="option-type">String</dd>
|
337
|
+
|
338
|
+
<dt class="option-default-label">Default:</dt>
|
339
|
+
<dd class="option-default">'default'</dd>
|
340
|
+
|
341
|
+
</dl>
|
342
|
+
</div>
|
343
|
+
<div class="option-description">
|
344
|
+
<p>Used to group sets of draggable and droppable items, in addition to droppable's accept option. A draggable with the same scope value as a droppable will be accepted.</p>
|
345
|
+
</div>
|
346
|
+
<div class="option-examples">
|
347
|
+
<h4>Code examples</h4>
|
348
|
+
<dl class="option-examples-list">
|
349
|
+
|
350
|
+
<dt>
|
351
|
+
Initialize a droppable with the <code>scope</code> option specified.
|
352
|
+
</dt>
|
353
|
+
<dd>
|
354
|
+
<pre><code>$( ".selector" ).droppable({ scope: 'tasks' });</code></pre>
|
355
|
+
</dd>
|
356
|
+
|
357
|
+
|
358
|
+
<dt>
|
359
|
+
Get or set the <code>scope</code> option, after init.
|
360
|
+
</dt>
|
361
|
+
<dd>
|
362
|
+
<pre><code>//getter
|
363
|
+
var scope = $( ".selector" ).droppable( "option", "scope" );
|
364
|
+
//setter
|
365
|
+
$( ".selector" ).droppable( "option", "scope", 'tasks' );</code></pre>
|
366
|
+
</dd>
|
367
|
+
|
368
|
+
</dl>
|
369
|
+
</div>
|
370
|
+
</li>
|
371
|
+
|
372
|
+
|
373
|
+
<li class="option" id="option-tolerance">
|
374
|
+
<div class="option-header">
|
375
|
+
<h3 class="option-name"><a href="#option-tolerance">tolerance</a></h3>
|
376
|
+
<dl>
|
377
|
+
<dt class="option-type-label">Type:</dt>
|
378
|
+
<dd class="option-type">String</dd>
|
379
|
+
|
380
|
+
<dt class="option-default-label">Default:</dt>
|
381
|
+
<dd class="option-default">'intersect'</dd>
|
382
|
+
|
383
|
+
</dl>
|
384
|
+
</div>
|
385
|
+
<div class="option-description">
|
386
|
+
<p>Specifies which mode to use for testing whether a draggable is 'over' a droppable. Possible values: 'fit', 'intersect', 'pointer', 'touch'.
|
387
|
+
</p>
|
388
|
+
<ul>
|
389
|
+
<li><b>fit</b>: draggable overlaps the droppable entirely</li>
|
390
|
+
<li><b>intersect</b>: draggable overlaps the droppable at least 50%</li>
|
391
|
+
<li><b>pointer</b>: mouse pointer overlaps the droppable</li>
|
392
|
+
<li><b>touch</b>: draggable overlaps the droppable any amount</li>
|
393
|
+
</ul>
|
394
|
+
<p></p>
|
395
|
+
</div>
|
396
|
+
<div class="option-examples">
|
397
|
+
<h4>Code examples</h4>
|
398
|
+
<dl class="option-examples-list">
|
399
|
+
|
400
|
+
<dt>
|
401
|
+
Initialize a droppable with the <code>tolerance</code> option specified.
|
402
|
+
</dt>
|
403
|
+
<dd>
|
404
|
+
<pre><code>$( ".selector" ).droppable({ tolerance: 'fit' });</code></pre>
|
405
|
+
</dd>
|
406
|
+
|
407
|
+
|
408
|
+
<dt>
|
409
|
+
Get or set the <code>tolerance</code> option, after init.
|
410
|
+
</dt>
|
411
|
+
<dd>
|
412
|
+
<pre><code>//getter
|
413
|
+
var tolerance = $( ".selector" ).droppable( "option", "tolerance" );
|
414
|
+
//setter
|
415
|
+
$( ".selector" ).droppable( "option", "tolerance", 'fit' );</code></pre>
|
416
|
+
</dd>
|
417
|
+
|
418
|
+
</dl>
|
419
|
+
</div>
|
420
|
+
</li>
|
421
|
+
|
422
|
+
</ul>
|
423
|
+
</div>
|
424
|
+
<div id="events">
|
425
|
+
<h2 class="top-header">Events</h2>
|
426
|
+
<ul class="events-list">
|
427
|
+
|
428
|
+
<li class="event" id="event-activate">
|
429
|
+
<div class="event-header">
|
430
|
+
<h3 class="event-name"><a href="#event-activate">activate</a></h3>
|
431
|
+
<dl>
|
432
|
+
<dt class="event-type-label">Type:</dt>
|
433
|
+
<dd class="event-type">dropactivate</dd>
|
434
|
+
</dl>
|
435
|
+
</div>
|
436
|
+
<div class="event-description">
|
437
|
+
<p>This event is triggered any time an accepted draggable starts dragging. This can be useful if you want to make the droppable 'light up' when it can be dropped on.</p>
|
438
|
+
</div>
|
439
|
+
<div class="event-examples">
|
440
|
+
<h4>Code examples</h4>
|
441
|
+
<dl class="event-examples-list">
|
442
|
+
|
443
|
+
<dt>
|
444
|
+
Supply a callback function to handle the <code>activate</code> event as an init option.
|
445
|
+
</dt>
|
446
|
+
<dd>
|
447
|
+
<pre><code>$( ".selector" ).droppable({
|
448
|
+
activate: function(event, ui) { ... }
|
449
|
+
});</code></pre>
|
450
|
+
</dd>
|
451
|
+
|
452
|
+
|
453
|
+
<dt>
|
454
|
+
Bind to the <code>activate</code> event by type: <code>dropactivate</code>.
|
455
|
+
</dt>
|
456
|
+
<dd>
|
457
|
+
<pre><code>$( ".selector" ).bind( "dropactivate", function(event, ui) {
|
458
|
+
...
|
459
|
+
});</code></pre>
|
460
|
+
</dd>
|
461
|
+
|
462
|
+
</dl>
|
463
|
+
</div>
|
464
|
+
</li>
|
465
|
+
|
466
|
+
|
467
|
+
<li class="event" id="event-deactivate">
|
468
|
+
<div class="event-header">
|
469
|
+
<h3 class="event-name"><a href="#event-deactivate">deactivate</a></h3>
|
470
|
+
<dl>
|
471
|
+
<dt class="event-type-label">Type:</dt>
|
472
|
+
<dd class="event-type">dropdeactivate</dd>
|
473
|
+
</dl>
|
474
|
+
</div>
|
475
|
+
<div class="event-description">
|
476
|
+
<p>This event is triggered any time an accepted draggable stops dragging.</p>
|
477
|
+
</div>
|
478
|
+
<div class="event-examples">
|
479
|
+
<h4>Code examples</h4>
|
480
|
+
<dl class="event-examples-list">
|
481
|
+
|
482
|
+
<dt>
|
483
|
+
Supply a callback function to handle the <code>deactivate</code> event as an init option.
|
484
|
+
</dt>
|
485
|
+
<dd>
|
486
|
+
<pre><code>$( ".selector" ).droppable({
|
487
|
+
deactivate: function(event, ui) { ... }
|
488
|
+
});</code></pre>
|
489
|
+
</dd>
|
490
|
+
|
491
|
+
|
492
|
+
<dt>
|
493
|
+
Bind to the <code>deactivate</code> event by type: <code>dropdeactivate</code>.
|
494
|
+
</dt>
|
495
|
+
<dd>
|
496
|
+
<pre><code>$( ".selector" ).bind( "dropdeactivate", function(event, ui) {
|
497
|
+
...
|
498
|
+
});</code></pre>
|
499
|
+
</dd>
|
500
|
+
|
501
|
+
</dl>
|
502
|
+
</div>
|
503
|
+
</li>
|
504
|
+
|
505
|
+
|
506
|
+
<li class="event" id="event-over">
|
507
|
+
<div class="event-header">
|
508
|
+
<h3 class="event-name"><a href="#event-over">over</a></h3>
|
509
|
+
<dl>
|
510
|
+
<dt class="event-type-label">Type:</dt>
|
511
|
+
<dd class="event-type">dropover</dd>
|
512
|
+
</dl>
|
513
|
+
</div>
|
514
|
+
<div class="event-description">
|
515
|
+
<p>This event is triggered as an accepted draggable is dragged 'over' (within the tolerance of) this droppable.</p>
|
516
|
+
</div>
|
517
|
+
<div class="event-examples">
|
518
|
+
<h4>Code examples</h4>
|
519
|
+
<dl class="event-examples-list">
|
520
|
+
|
521
|
+
<dt>
|
522
|
+
Supply a callback function to handle the <code>over</code> event as an init option.
|
523
|
+
</dt>
|
524
|
+
<dd>
|
525
|
+
<pre><code>$( ".selector" ).droppable({
|
526
|
+
over: function(event, ui) { ... }
|
527
|
+
});</code></pre>
|
528
|
+
</dd>
|
529
|
+
|
530
|
+
|
531
|
+
<dt>
|
532
|
+
Bind to the <code>over</code> event by type: <code>dropover</code>.
|
533
|
+
</dt>
|
534
|
+
<dd>
|
535
|
+
<pre><code>$( ".selector" ).bind( "dropover", function(event, ui) {
|
536
|
+
...
|
537
|
+
});</code></pre>
|
538
|
+
</dd>
|
539
|
+
|
540
|
+
</dl>
|
541
|
+
</div>
|
542
|
+
</li>
|
543
|
+
|
544
|
+
|
545
|
+
<li class="event" id="event-out">
|
546
|
+
<div class="event-header">
|
547
|
+
<h3 class="event-name"><a href="#event-out">out</a></h3>
|
548
|
+
<dl>
|
549
|
+
<dt class="event-type-label">Type:</dt>
|
550
|
+
<dd class="event-type">dropout</dd>
|
551
|
+
</dl>
|
552
|
+
</div>
|
553
|
+
<div class="event-description">
|
554
|
+
<p>This event is triggered when an accepted draggable is dragged out (within the tolerance of) this droppable.</p>
|
555
|
+
</div>
|
556
|
+
<div class="event-examples">
|
557
|
+
<h4>Code examples</h4>
|
558
|
+
<dl class="event-examples-list">
|
559
|
+
|
560
|
+
<dt>
|
561
|
+
Supply a callback function to handle the <code>out</code> event as an init option.
|
562
|
+
</dt>
|
563
|
+
<dd>
|
564
|
+
<pre><code>$( ".selector" ).droppable({
|
565
|
+
out: function(event, ui) { ... }
|
566
|
+
});</code></pre>
|
567
|
+
</dd>
|
568
|
+
|
569
|
+
|
570
|
+
<dt>
|
571
|
+
Bind to the <code>out</code> event by type: <code>dropout</code>.
|
572
|
+
</dt>
|
573
|
+
<dd>
|
574
|
+
<pre><code>$( ".selector" ).bind( "dropout", function(event, ui) {
|
575
|
+
...
|
576
|
+
});</code></pre>
|
577
|
+
</dd>
|
578
|
+
|
579
|
+
</dl>
|
580
|
+
</div>
|
581
|
+
</li>
|
582
|
+
|
583
|
+
|
584
|
+
<li class="event" id="event-drop">
|
585
|
+
<div class="event-header">
|
586
|
+
<h3 class="event-name"><a href="#event-drop">drop</a></h3>
|
587
|
+
<dl>
|
588
|
+
<dt class="event-type-label">Type:</dt>
|
589
|
+
<dd class="event-type">drop</dd>
|
590
|
+
</dl>
|
591
|
+
</div>
|
592
|
+
<div class="event-description">
|
593
|
+
<p>This event is triggered when an accepted draggable is dropped 'over' (within the tolerance of) this droppable. In the callback, $(this) represents the droppable the draggable is dropped on.
|
594
|
+
ui.draggable represents the draggable.</p>
|
595
|
+
</div>
|
596
|
+
<div class="event-examples">
|
597
|
+
<h4>Code examples</h4>
|
598
|
+
<dl class="event-examples-list">
|
599
|
+
|
600
|
+
<dt>
|
601
|
+
Supply a callback function to handle the <code>drop</code> event as an init option.
|
602
|
+
</dt>
|
603
|
+
<dd>
|
604
|
+
<pre><code>$( ".selector" ).droppable({
|
605
|
+
drop: function(event, ui) { ... }
|
606
|
+
});</code></pre>
|
607
|
+
</dd>
|
608
|
+
|
609
|
+
|
610
|
+
<dt>
|
611
|
+
Bind to the <code>drop</code> event by type: <code>drop</code>.
|
612
|
+
</dt>
|
613
|
+
<dd>
|
614
|
+
<pre><code>$( ".selector" ).bind( "drop", function(event, ui) {
|
615
|
+
...
|
616
|
+
});</code></pre>
|
617
|
+
</dd>
|
618
|
+
|
619
|
+
</dl>
|
620
|
+
</div>
|
621
|
+
</li>
|
622
|
+
|
623
|
+
</ul>
|
624
|
+
</div>
|
625
|
+
<div id="methods">
|
626
|
+
<h2 class="top-header">Methods</h2>
|
627
|
+
<ul class="methods-list">
|
628
|
+
|
629
|
+
<li class="method" id="method-destroy">
|
630
|
+
<div class="method-header">
|
631
|
+
<h3 class="method-name"><a href="#method-destroy">destroy</a></h3>
|
632
|
+
<dl>
|
633
|
+
<dt class="method-signature-label">Signature:</dt>
|
634
|
+
<dd class="method-signature">.droppable( "destroy"
|
635
|
+
|
636
|
+
|
637
|
+
|
638
|
+
|
639
|
+
|
640
|
+
|
641
|
+
|
642
|
+
)</dd>
|
643
|
+
</dl>
|
644
|
+
</div>
|
645
|
+
<div class="method-description">
|
646
|
+
<p>Remove the droppable functionality completely. This will return the element back to its pre-init state.</p>
|
647
|
+
</div>
|
648
|
+
</li>
|
649
|
+
|
650
|
+
|
651
|
+
<li class="method" id="method-disable">
|
652
|
+
<div class="method-header">
|
653
|
+
<h3 class="method-name"><a href="#method-disable">disable</a></h3>
|
654
|
+
<dl>
|
655
|
+
<dt class="method-signature-label">Signature:</dt>
|
656
|
+
<dd class="method-signature">.droppable( "disable"
|
657
|
+
|
658
|
+
|
659
|
+
|
660
|
+
|
661
|
+
|
662
|
+
|
663
|
+
|
664
|
+
)</dd>
|
665
|
+
</dl>
|
666
|
+
</div>
|
667
|
+
<div class="method-description">
|
668
|
+
<p>Disable the droppable.</p>
|
669
|
+
</div>
|
670
|
+
</li>
|
671
|
+
|
672
|
+
|
673
|
+
<li class="method" id="method-enable">
|
674
|
+
<div class="method-header">
|
675
|
+
<h3 class="method-name"><a href="#method-enable">enable</a></h3>
|
676
|
+
<dl>
|
677
|
+
<dt class="method-signature-label">Signature:</dt>
|
678
|
+
<dd class="method-signature">.droppable( "enable"
|
679
|
+
|
680
|
+
|
681
|
+
|
682
|
+
|
683
|
+
|
684
|
+
|
685
|
+
|
686
|
+
)</dd>
|
687
|
+
</dl>
|
688
|
+
</div>
|
689
|
+
<div class="method-description">
|
690
|
+
<p>Enable the droppable.</p>
|
691
|
+
</div>
|
692
|
+
</li>
|
693
|
+
|
694
|
+
|
695
|
+
<li class="method" id="method-option">
|
696
|
+
<div class="method-header">
|
697
|
+
<h3 class="method-name"><a href="#method-option">option</a></h3>
|
698
|
+
<dl>
|
699
|
+
<dt class="method-signature-label">Signature:</dt>
|
700
|
+
<dd class="method-signature">.droppable( "option"
|
701
|
+
|
702
|
+
, optionName
|
703
|
+
|
704
|
+
, <span class="optional">[</span>value<span class="optional">] </span>
|
705
|
+
|
706
|
+
|
707
|
+
|
708
|
+
)</dd>
|
709
|
+
</dl>
|
710
|
+
</div>
|
711
|
+
<div class="method-description">
|
712
|
+
<p>Get or set any droppable option. If no value is specified, will act as a getter.</p>
|
713
|
+
</div>
|
714
|
+
</li>
|
715
|
+
|
716
|
+
|
717
|
+
<li class="method" id="method-option">
|
718
|
+
<div class="method-header">
|
719
|
+
<h3 class="method-name"><a href="#method-option">option</a></h3>
|
720
|
+
<dl>
|
721
|
+
<dt class="method-signature-label">Signature:</dt>
|
722
|
+
<dd class="method-signature">.droppable( "option"
|
723
|
+
|
724
|
+
, options
|
725
|
+
|
726
|
+
|
727
|
+
|
728
|
+
|
729
|
+
|
730
|
+
)</dd>
|
731
|
+
</dl>
|
732
|
+
</div>
|
733
|
+
<div class="method-description">
|
734
|
+
<p>Set multiple droppable options at once by providing an options object.</p>
|
735
|
+
</div>
|
736
|
+
</li>
|
737
|
+
|
738
|
+
|
739
|
+
<li class="method" id="method-widget">
|
740
|
+
<div class="method-header">
|
741
|
+
<h3 class="method-name"><a href="#method-widget">widget</a></h3>
|
742
|
+
<dl>
|
743
|
+
<dt class="method-signature-label">Signature:</dt>
|
744
|
+
<dd class="method-signature">.droppable( "widget"
|
745
|
+
|
746
|
+
|
747
|
+
|
748
|
+
|
749
|
+
|
750
|
+
|
751
|
+
|
752
|
+
)</dd>
|
753
|
+
</dl>
|
754
|
+
</div>
|
755
|
+
<div class="method-description">
|
756
|
+
<p>Returns the .ui-droppable element.</p>
|
757
|
+
</div>
|
758
|
+
</li>
|
759
|
+
|
760
|
+
|
761
|
+
</ul>
|
762
|
+
</div>
|
763
|
+
<div id="theming">
|
764
|
+
<h2 class="top-header">Theming</h2>
|
765
|
+
<p>The jQuery UI Droppable plugin uses the jQuery UI CSS Framework to style its look and feel, including colors and background textures. We recommend using the ThemeRoller tool to create and download custom themes that are easy to build and maintain.
|
766
|
+
</p>
|
767
|
+
<p>If a deeper level of customization is needed, there are widget-specific classes referenced within the jquery.ui.droppable.css stylesheet that can be modified. These classes are highlighed in bold below.
|
768
|
+
</p>
|
769
|
+
|
770
|
+
<h3>Sample markup with jQuery UI CSS Framework classes</h3>
|
771
|
+
<div class="<strong>ui-droppable</strong>"></div>
|
772
|
+
<p class="theme-note">
|
773
|
+
<strong>
|
774
|
+
Note: This is a sample of markup generated by the droppable plugin, not markup you should use to create a droppable. The only markup needed for that is <div></div>.
|
775
|
+
</strong>
|
776
|
+
</p>
|
777
|
+
|
778
|
+
</div>
|
779
|
+
</div>
|
780
|
+
|
781
|
+
</p><!--
|
782
|
+
Pre-expand include size: 32197 bytes
|
783
|
+
Post-expand include size: 50778 bytes
|
784
|
+
Template argument size: 26267 bytes
|
785
|
+
Maximum: 2097152 bytes
|
786
|
+
-->
|
787
|
+
|
788
|
+
<!-- Saved in parser cache with key jqdocs_docs:pcache:idhash:3769-1!1!0!!en!2 and timestamp 20100909220227 -->
|