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,80 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<title>jQuery UI Droppable - Prevent propagation</title>
|
6
|
+
<link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
|
7
|
+
<script src="../../jquery-1.4.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.droppable.js"></script>
|
13
|
+
<link rel="stylesheet" href="../demos.css">
|
14
|
+
<style>
|
15
|
+
#draggable { width: 100px; height: 40px; padding: 0.5em; float: left; margin: 10px 10px 10px 0; }
|
16
|
+
#droppable, #droppable2 { width: 230px; height: 120px; padding: 0.5em; float: left; margin: 10px; }
|
17
|
+
#droppable-inner, #droppable2-inner { width: 170px; height: 60px; padding: 0.5em; float: left; margin: 10px; }
|
18
|
+
</style>
|
19
|
+
<script>
|
20
|
+
$(function() {
|
21
|
+
$( "#draggable" ).draggable();
|
22
|
+
|
23
|
+
$( "#droppable, #droppable-inner" ).droppable({
|
24
|
+
activeClass: "ui-state-hover",
|
25
|
+
hoverClass: "ui-state-active",
|
26
|
+
drop: function( event, ui ) {
|
27
|
+
$( this )
|
28
|
+
.addClass( "ui-state-highlight" )
|
29
|
+
.find( "> p" )
|
30
|
+
.html( "Dropped!" );
|
31
|
+
return false;
|
32
|
+
}
|
33
|
+
});
|
34
|
+
|
35
|
+
$( "#droppable2, #droppable2-inner" ).droppable({
|
36
|
+
greedy: true,
|
37
|
+
activeClass: "ui-state-hover",
|
38
|
+
hoverClass: "ui-state-active",
|
39
|
+
drop: function( event, ui ) {
|
40
|
+
$( this )
|
41
|
+
.addClass( "ui-state-highlight" )
|
42
|
+
.find( "> p" )
|
43
|
+
.html( "Dropped!" );
|
44
|
+
}
|
45
|
+
});
|
46
|
+
});
|
47
|
+
</script>
|
48
|
+
</head>
|
49
|
+
<body>
|
50
|
+
|
51
|
+
<div class="demo">
|
52
|
+
|
53
|
+
<div id="draggable" class="ui-widget-content">
|
54
|
+
<p>Drag me to my target</p>
|
55
|
+
</div>
|
56
|
+
|
57
|
+
<div id="droppable" class="ui-widget-header">
|
58
|
+
<p>Outer droppable</p>
|
59
|
+
<div id="droppable-inner" class="ui-widget-header">
|
60
|
+
<p>Inner droppable (not greedy)</p>
|
61
|
+
</div>
|
62
|
+
</div>
|
63
|
+
|
64
|
+
<div id="droppable2" class="ui-widget-header">
|
65
|
+
<p>Outer droppable</p>
|
66
|
+
<div id="droppable2-inner" class="ui-widget-header">
|
67
|
+
<p>Inner droppable (greedy)</p>
|
68
|
+
</div>
|
69
|
+
</div>
|
70
|
+
|
71
|
+
</div><!-- End demo -->
|
72
|
+
|
73
|
+
|
74
|
+
|
75
|
+
<div class="demo-description">
|
76
|
+
<p>When working with nested droppables — for example, you may have an editable directory structure displayed as a tree, with folder and document nodes — the <code>greedy</code> option set to true prevents event propagation when a draggable is dropped on a child node (droppable).</p>
|
77
|
+
</div><!-- End demo-description -->
|
78
|
+
|
79
|
+
</body>
|
80
|
+
</html>
|
@@ -0,0 +1,61 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<title>jQuery UI Droppable - Revert draggable position</title>
|
6
|
+
<link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
|
7
|
+
<script src="../../jquery-1.4.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.droppable.js"></script>
|
13
|
+
<link rel="stylesheet" href="../demos.css">
|
14
|
+
<style>
|
15
|
+
#draggable, #draggable2 { width: 100px; height: 100px; padding: 0.5em; float: left; margin: 10px 10px 10px 0; }
|
16
|
+
#droppable { width: 150px; height: 150px; padding: 0.5em; float: left; margin: 10px; }
|
17
|
+
</style>
|
18
|
+
<script>
|
19
|
+
$(function() {
|
20
|
+
$( "#draggable" ).draggable({ revert: "valid" });
|
21
|
+
$( "#draggable2" ).draggable({ revert: "invalid" });
|
22
|
+
|
23
|
+
$( "#droppable" ).droppable({
|
24
|
+
activeClass: "ui-state-hover",
|
25
|
+
hoverClass: "ui-state-active",
|
26
|
+
drop: function( event, ui ) {
|
27
|
+
$( this )
|
28
|
+
.addClass( "ui-state-highlight" )
|
29
|
+
.find( "p" )
|
30
|
+
.html( "Dropped!" );
|
31
|
+
}
|
32
|
+
});
|
33
|
+
});
|
34
|
+
</script>
|
35
|
+
</head>
|
36
|
+
<body>
|
37
|
+
|
38
|
+
<div class="demo">
|
39
|
+
|
40
|
+
<div id="draggable" class="ui-widget-content">
|
41
|
+
<p>I revert when I'm dropped</p>
|
42
|
+
</div>
|
43
|
+
|
44
|
+
<div id="draggable2" class="ui-widget-content">
|
45
|
+
<p>I revert when I'm not dropped</p>
|
46
|
+
</div>
|
47
|
+
|
48
|
+
<div id="droppable" class="ui-widget-header">
|
49
|
+
<p>Drop me here</p>
|
50
|
+
</div>
|
51
|
+
|
52
|
+
</div><!-- End demo -->
|
53
|
+
|
54
|
+
|
55
|
+
|
56
|
+
<div class="demo-description">
|
57
|
+
<p>Return the draggable (or it's helper) to its original location when dragging stops with the boolean <code>revert</code> option set on the draggable.</p>
|
58
|
+
</div><!-- End demo-description -->
|
59
|
+
|
60
|
+
</body>
|
61
|
+
</html>
|
@@ -0,0 +1,101 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<title>jQuery UI Droppable - Shopping Cart Demo</title>
|
6
|
+
<link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
|
7
|
+
<script src="../../jquery-1.4.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.droppable.js"></script>
|
13
|
+
<script src="../../ui/jquery.ui.sortable.js"></script>
|
14
|
+
<script src="../../ui/jquery.ui.accordion.js"></script>
|
15
|
+
<link rel="stylesheet" href="../demos.css">
|
16
|
+
<style>
|
17
|
+
h1 { padding: .2em; margin: 0; }
|
18
|
+
#products { float:left; width: 500px; margin-right: 2em; }
|
19
|
+
#cart { width: 200px; float: left; }
|
20
|
+
/* style the list to maximize the droppable hitarea */
|
21
|
+
#cart ol { margin: 0; padding: 1em 0 1em 3em; }
|
22
|
+
</style>
|
23
|
+
<script>
|
24
|
+
$(function() {
|
25
|
+
$( "#catalog" ).accordion();
|
26
|
+
$( "#catalog li" ).draggable({
|
27
|
+
appendTo: "body",
|
28
|
+
helper: "clone"
|
29
|
+
});
|
30
|
+
$( "#cart ol" ).droppable({
|
31
|
+
activeClass: "ui-state-default",
|
32
|
+
hoverClass: "ui-state-hover",
|
33
|
+
accept: ":not(.ui-sortable-helper)",
|
34
|
+
drop: function( event, ui ) {
|
35
|
+
$( this ).find( ".placeholder" ).remove();
|
36
|
+
$( "<li></li>" ).text( ui.draggable.text() ).appendTo( this );
|
37
|
+
}
|
38
|
+
}).sortable({
|
39
|
+
items: "li:not(.placeholder)",
|
40
|
+
sort: function() {
|
41
|
+
// gets added unintentionally by droppable interacting with sortable
|
42
|
+
// using connectWithSortable fixes this, but doesn't allow you to customize active/hoverClass options
|
43
|
+
$( this ).removeClass( "ui-state-default" );
|
44
|
+
}
|
45
|
+
});
|
46
|
+
});
|
47
|
+
</script>
|
48
|
+
</head>
|
49
|
+
<body>
|
50
|
+
|
51
|
+
<div class="demo">
|
52
|
+
|
53
|
+
<div id="products">
|
54
|
+
<h1 class="ui-widget-header">Products</h1>
|
55
|
+
<div id="catalog">
|
56
|
+
<h3><a href="#">T-Shirts</a></h3>
|
57
|
+
<div>
|
58
|
+
<ul>
|
59
|
+
<li>Lolcat Shirt</li>
|
60
|
+
<li>Cheezeburger Shirt</li>
|
61
|
+
<li>Buckit Shirt</li>
|
62
|
+
</ul>
|
63
|
+
</div>
|
64
|
+
<h3><a href="#">Bags</a></h3>
|
65
|
+
<div>
|
66
|
+
<ul>
|
67
|
+
<li>Zebra Striped</li>
|
68
|
+
<li>Black Leather</li>
|
69
|
+
<li>Alligator Leather</li>
|
70
|
+
</ul>
|
71
|
+
</div>
|
72
|
+
<h3><a href="#">Gadgets</a></h3>
|
73
|
+
<div>
|
74
|
+
<ul>
|
75
|
+
<li>iPhone</li>
|
76
|
+
<li>iPod</li>
|
77
|
+
<li>iPad</li>
|
78
|
+
</ul>
|
79
|
+
</div>
|
80
|
+
</div>
|
81
|
+
</div>
|
82
|
+
|
83
|
+
<div id="cart">
|
84
|
+
<h1 class="ui-widget-header">Shopping Cart</h1>
|
85
|
+
<div class="ui-widget-content">
|
86
|
+
<ol>
|
87
|
+
<li class="placeholder">Add your items here</li>
|
88
|
+
</ol>
|
89
|
+
</div>
|
90
|
+
</div>
|
91
|
+
|
92
|
+
</div><!-- End demo -->
|
93
|
+
|
94
|
+
|
95
|
+
|
96
|
+
<div class="demo-description">
|
97
|
+
<p>Demonstrate how to use an accordion to structure products into a catalog and make use drag and drop for adding them to a shopping cart, where they are sortable.</p>
|
98
|
+
</div><!-- End demo-description -->
|
99
|
+
|
100
|
+
</body>
|
101
|
+
</html>
|
@@ -0,0 +1,78 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<title>jQuery UI Droppable - Visual feedback</title>
|
6
|
+
<link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
|
7
|
+
<script src="../../jquery-1.4.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.droppable.js"></script>
|
13
|
+
<link rel="stylesheet" href="../demos.css">
|
14
|
+
<style>
|
15
|
+
#draggable, #draggable2 { width: 90px; height: 90px; padding: 0.5em; float: left; margin: 10px 10px 10px 0; }
|
16
|
+
#droppable, #droppable2 { width: 120px; height: 120px; padding: 0.5em; float: left; margin: 10px; }
|
17
|
+
</style>
|
18
|
+
<script>
|
19
|
+
$(function() {
|
20
|
+
$( "#draggable" ).draggable();
|
21
|
+
$( "#droppable" ).droppable({
|
22
|
+
hoverClass: "ui-state-active",
|
23
|
+
drop: function( event, ui ) {
|
24
|
+
$( this )
|
25
|
+
.addClass( "ui-state-highlight" )
|
26
|
+
.find( "p" )
|
27
|
+
.html( "Dropped!" );
|
28
|
+
}
|
29
|
+
});
|
30
|
+
|
31
|
+
$( "#draggable2" ).draggable();
|
32
|
+
$( "#droppable2" ).droppable({
|
33
|
+
accept: "#draggable2",
|
34
|
+
activeClass: "ui-state-hover",
|
35
|
+
drop: function( event, ui ) {
|
36
|
+
$( this )
|
37
|
+
.addClass( "ui-state-highlight" )
|
38
|
+
.find( "p" )
|
39
|
+
.html( "Dropped!" );
|
40
|
+
}
|
41
|
+
});
|
42
|
+
});
|
43
|
+
</script>
|
44
|
+
</head>
|
45
|
+
<body>
|
46
|
+
|
47
|
+
<div class="demo">
|
48
|
+
|
49
|
+
<h3 class="docs">Feedback on hover:</h3>
|
50
|
+
|
51
|
+
<div id="draggable" class="ui-widget-content">
|
52
|
+
<p>Drag me to my target</p>
|
53
|
+
</div>
|
54
|
+
|
55
|
+
<div id="droppable" class="ui-widget-header">
|
56
|
+
<p>Drop here</p>
|
57
|
+
</div>
|
58
|
+
|
59
|
+
<h3 class="docs">Feedback on activating draggable:</h3>
|
60
|
+
|
61
|
+
<div id="draggable2" class="ui-widget-content">
|
62
|
+
<p>Drag me to my target</p>
|
63
|
+
</div>
|
64
|
+
|
65
|
+
<div id="droppable2" class="ui-widget-header">
|
66
|
+
<p>Drop here</p>
|
67
|
+
</div>
|
68
|
+
|
69
|
+
</div><!-- End demo -->
|
70
|
+
|
71
|
+
|
72
|
+
|
73
|
+
<div class="demo-description">
|
74
|
+
<p>Change the droppable's appearance on hover, or when the droppable is active (an acceptable draggable is dropped on it). Use the <code>hoverClass</code> or <code>activeClass</code> options to specify respective classes.</p>
|
75
|
+
</div><!-- End demo-description -->
|
76
|
+
|
77
|
+
</body>
|
78
|
+
</html>
|
@@ -0,0 +1,109 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<title>jQuery UI Effects - Effect demo</title>
|
6
|
+
<link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
|
7
|
+
<script src="../../jquery-1.4.2.js"></script>
|
8
|
+
<script src="../../ui/jquery.effects.core.js"></script>
|
9
|
+
<script src="../../ui/jquery.effects.blind.js"></script>
|
10
|
+
<script src="../../ui/jquery.effects.bounce.js"></script>
|
11
|
+
<script src="../../ui/jquery.effects.clip.js"></script>
|
12
|
+
<script src="../../ui/jquery.effects.drop.js"></script>
|
13
|
+
<script src="../../ui/jquery.effects.explode.js"></script>
|
14
|
+
<script src="../../ui/jquery.effects.fade.js"></script>
|
15
|
+
<script src="../../ui/jquery.effects.fold.js"></script>
|
16
|
+
<script src="../../ui/jquery.effects.highlight.js"></script>
|
17
|
+
<script src="../../ui/jquery.effects.pulsate.js"></script>
|
18
|
+
<script src="../../ui/jquery.effects.scale.js"></script>
|
19
|
+
<script src="../../ui/jquery.effects.shake.js"></script>
|
20
|
+
<script src="../../ui/jquery.effects.slide.js"></script>
|
21
|
+
<script src="../../ui/jquery.effects.transfer.js"></script>
|
22
|
+
<link rel="stylesheet" href="../demos.css">
|
23
|
+
<style>
|
24
|
+
.toggler { width: 500px; height: 200px; position: relative; }
|
25
|
+
#button { padding: .5em 1em; text-decoration: none; }
|
26
|
+
#effect { width: 240px; height: 135px; padding: 0.4em; position: relative; }
|
27
|
+
#effect h3 { margin: 0; padding: 0.4em; text-align: center; }
|
28
|
+
.ui-effects-transfer { border: 2px dotted gray; }
|
29
|
+
</style>
|
30
|
+
<script>
|
31
|
+
$(function() {
|
32
|
+
// run the currently selected effect
|
33
|
+
function runEffect() {
|
34
|
+
// get effect type from
|
35
|
+
var selectedEffect = $( "#effectTypes" ).val();
|
36
|
+
|
37
|
+
// most effect types need no options passed by default
|
38
|
+
var options = {};
|
39
|
+
// some effects have required parameters
|
40
|
+
if ( selectedEffect === "scale" ) {
|
41
|
+
options = { percent: 0 };
|
42
|
+
} else if ( selectedEffect === "transfer" ) {
|
43
|
+
options = { to: "#button", className: "ui-effects-transfer" };
|
44
|
+
} else if ( selectedEffect === "size" ) {
|
45
|
+
options = { to: { width: 200, height: 60 } };
|
46
|
+
}
|
47
|
+
|
48
|
+
// run the effect
|
49
|
+
$( "#effect" ).effect( selectedEffect, options, 500, callback );
|
50
|
+
};
|
51
|
+
|
52
|
+
// callback function to bring a hidden box back
|
53
|
+
function callback() {
|
54
|
+
setTimeout(function() {
|
55
|
+
$( "#effect" ).removeAttr( "style" ).hide().fadeIn();
|
56
|
+
}, 1000 );
|
57
|
+
};
|
58
|
+
|
59
|
+
// set effect from select menu value
|
60
|
+
$( "#button" ).click(function() {
|
61
|
+
runEffect();
|
62
|
+
return false;
|
63
|
+
});
|
64
|
+
});
|
65
|
+
</script>
|
66
|
+
</head>
|
67
|
+
<body>
|
68
|
+
|
69
|
+
<div class="demo">
|
70
|
+
|
71
|
+
<div class="toggler">
|
72
|
+
<div id="effect" class="ui-widget-content ui-corner-all">
|
73
|
+
<h3 class="ui-widget-header ui-corner-all">Effect</h3>
|
74
|
+
<p>
|
75
|
+
Etiam libero neque, luctus a, eleifend nec, semper at, lorem. Sed pede. Nulla lorem metus, adipiscing ut, luctus sed, hendrerit vitae, mi.
|
76
|
+
</p>
|
77
|
+
</div>
|
78
|
+
</div>
|
79
|
+
|
80
|
+
<select name="effects" id="effectTypes">
|
81
|
+
<option value="blind">Blind</option>
|
82
|
+
<option value="bounce">Bounce</option>
|
83
|
+
<option value="clip">Clip</option>
|
84
|
+
<option value="drop">Drop</option>
|
85
|
+
<option value="explode">Explode</option>
|
86
|
+
<option value="fade">Fade</option>
|
87
|
+
<option value="fold">Fold</option>
|
88
|
+
<option value="highlight">Highlight</option>
|
89
|
+
<option value="puff">Puff</option>
|
90
|
+
<option value="pulsate">Pulsate</option>
|
91
|
+
<option value="scale">Scale</option>
|
92
|
+
<option value="shake">Shake</option>
|
93
|
+
<option value="size">Size</option>
|
94
|
+
<option value="slide">Slide</option>
|
95
|
+
<option value="transfer">Transfer</option>
|
96
|
+
</select>
|
97
|
+
|
98
|
+
<a href="#" id="button" class="ui-state-default ui-corner-all">Run Effect</a>
|
99
|
+
|
100
|
+
</div><!-- End demo -->
|
101
|
+
|
102
|
+
|
103
|
+
|
104
|
+
<div class="demo-description">
|
105
|
+
<p>Click the button above to show the effect.</p>
|
106
|
+
</div><!-- End demo-description -->
|
107
|
+
|
108
|
+
</body>
|
109
|
+
</html>
|
@@ -0,0 +1,107 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<title>jQuery UI Effects - Easing demo</title>
|
6
|
+
<link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
|
7
|
+
<script src="../../jquery-1.4.2.js"></script>
|
8
|
+
<script src="../../ui/jquery.effects.core.js"></script>
|
9
|
+
<link rel="stylesheet" href="../demos.css">
|
10
|
+
<style>
|
11
|
+
.graph {
|
12
|
+
float: left;
|
13
|
+
margin-left: 10px;
|
14
|
+
}
|
15
|
+
</style>
|
16
|
+
<script>
|
17
|
+
$(function() {
|
18
|
+
if ( !$( "<canvas/>" )[0].getContext ) {
|
19
|
+
$( "<div/>" ).text(
|
20
|
+
"Your browser doesn't support canvas, which is required for this demo. " +
|
21
|
+
"Give Firefox 3 a try!"
|
22
|
+
).appendTo( "#graphs" );
|
23
|
+
return;
|
24
|
+
}
|
25
|
+
|
26
|
+
var i = 0,
|
27
|
+
width = 100,
|
28
|
+
height = 100;
|
29
|
+
$.each( $.easing, function( name, impl ) {
|
30
|
+
// skip linear/jswing and any non functioning implementation
|
31
|
+
if ( !$.isFunction( impl ) || /jswing/.test( name ) ) {
|
32
|
+
return;
|
33
|
+
}
|
34
|
+
var graph = $( "<div/>" ).addClass( "graph" ).appendTo( "#graphs" ),
|
35
|
+
text = $( "<div/>" ).text( ++i + ". " + name ).appendTo( graph ),
|
36
|
+
canvas = $( "<canvas/>" ).appendTo( graph )[ 0 ];
|
37
|
+
canvas.width = width;
|
38
|
+
canvas.height = height;
|
39
|
+
var drawHeight = height * 0.8,
|
40
|
+
cradius = 10;
|
41
|
+
ctx = canvas.getContext( "2d" );
|
42
|
+
ctx.fillStyle = "black";
|
43
|
+
|
44
|
+
ctx.beginPath();
|
45
|
+
ctx.moveTo( cradius, 0 );
|
46
|
+
ctx.quadraticCurveTo( 0, 0, 0, cradius );
|
47
|
+
ctx.lineTo( 0, height - cradius );
|
48
|
+
ctx.quadraticCurveTo( 0, height, cradius, height );
|
49
|
+
ctx.lineTo( width - cradius, height );
|
50
|
+
ctx.quadraticCurveTo( width, height, width, height - cradius );
|
51
|
+
ctx.lineTo( width, 0 );
|
52
|
+
ctx.lineTo( cradius, 0 );
|
53
|
+
ctx.fill();
|
54
|
+
|
55
|
+
ctx.strokeStyle = "#555";
|
56
|
+
ctx.beginPath();
|
57
|
+
ctx.moveTo( width * 0.1, drawHeight + .5 );
|
58
|
+
ctx.lineTo( width * 0.9, drawHeight + .5 );
|
59
|
+
ctx.stroke();
|
60
|
+
|
61
|
+
ctx.strokeStyle = "#555";
|
62
|
+
ctx.beginPath();
|
63
|
+
ctx.moveTo( width * 0.1, drawHeight * .3 - .5 );
|
64
|
+
ctx.lineTo( width * 0.9, drawHeight * .3 - .5 );
|
65
|
+
ctx.stroke();
|
66
|
+
|
67
|
+
ctx.strokeStyle = "white";
|
68
|
+
ctx.beginPath();
|
69
|
+
ctx.lineWidth = 2;
|
70
|
+
ctx.moveTo( width * 0.1, drawHeight );
|
71
|
+
$.each( new Array( width ), function( position ) {
|
72
|
+
var val = impl( 0, position, 0, 1, height );
|
73
|
+
if ( /linear|jswing/.test( name ) ) {
|
74
|
+
val = position / width;
|
75
|
+
}
|
76
|
+
ctx.lineTo( position * 0.8 + width * 0.1,
|
77
|
+
drawHeight - drawHeight * val * 0.7 );
|
78
|
+
});
|
79
|
+
ctx.stroke();
|
80
|
+
graph.click(function() {
|
81
|
+
$( canvas )
|
82
|
+
.animate( { height: "hide" }, 2000, name )
|
83
|
+
.animate( { left: 0 }, 800 )
|
84
|
+
.animate( { height: "show" }, 2000, name );
|
85
|
+
});
|
86
|
+
|
87
|
+
graph.width( width ).height( height + text.height() + 10 );
|
88
|
+
});
|
89
|
+
});
|
90
|
+
</script>
|
91
|
+
</head>
|
92
|
+
<body>
|
93
|
+
|
94
|
+
<div class="demo">
|
95
|
+
|
96
|
+
<div id="graphs"></div>
|
97
|
+
|
98
|
+
</div><!-- End demo -->
|
99
|
+
|
100
|
+
|
101
|
+
|
102
|
+
<div class="demo-description">
|
103
|
+
<p><strong>All easings provided by jQuery UI are drawn above, using a HTML canvas element</strong>. Click a diagram to see the easing in action.</p>
|
104
|
+
</div><!-- End demo-description -->
|
105
|
+
|
106
|
+
</body>
|
107
|
+
</html>
|
@@ -0,0 +1,19 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<title>jQuery UI Effects Demos</title>
|
6
|
+
<link rel="stylesheet" href="../demos.css">
|
7
|
+
</head>
|
8
|
+
<body>
|
9
|
+
|
10
|
+
<div class="demos-nav">
|
11
|
+
<h4>Examples</h4>
|
12
|
+
<ul>
|
13
|
+
<li class="demo-config-on"><a href="default.html">Effect showcase</a></li>
|
14
|
+
<li><a href="easing.html">Easing showcase</a></li>
|
15
|
+
</ul>
|
16
|
+
</div>
|
17
|
+
|
18
|
+
</body>
|
19
|
+
</html>
|
@@ -0,0 +1,102 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<title>jQuery UI Effects - Hide Demo</title>
|
6
|
+
<link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
|
7
|
+
<script src="../../jquery-1.4.2.js"></script>
|
8
|
+
<script src="../../ui/jquery.effects.core.js"></script>
|
9
|
+
<script src="../../ui/jquery.effects.blind.js"></script>
|
10
|
+
<script src="../../ui/jquery.effects.bounce.js"></script>
|
11
|
+
<script src="../../ui/jquery.effects.clip.js"></script>
|
12
|
+
<script src="../../ui/jquery.effects.drop.js"></script>
|
13
|
+
<script src="../../ui/jquery.effects.explode.js"></script>
|
14
|
+
<script src="../../ui/jquery.effects.fold.js"></script>
|
15
|
+
<script src="../../ui/jquery.effects.highlight.js"></script>
|
16
|
+
<script src="../../ui/jquery.effects.pulsate.js"></script>
|
17
|
+
<script src="../../ui/jquery.effects.scale.js"></script>
|
18
|
+
<script src="../../ui/jquery.effects.shake.js"></script>
|
19
|
+
<script src="../../ui/jquery.effects.slide.js"></script>
|
20
|
+
<link rel="stylesheet" href="../demos.css">
|
21
|
+
<style>
|
22
|
+
.toggler { width: 500px; height: 200px; }
|
23
|
+
#button { padding: .5em 1em; text-decoration: none; }
|
24
|
+
#effect { width: 240px; height: 135px; padding: 0.4em; position: relative; }
|
25
|
+
#effect h3 { margin: 0; padding: 0.4em; text-align: center; }
|
26
|
+
</style>
|
27
|
+
<script>
|
28
|
+
$(function() {
|
29
|
+
// run the currently selected effect
|
30
|
+
function runEffect() {
|
31
|
+
// get effect type from
|
32
|
+
var selectedEffect = $( "#effectTypes" ).val();
|
33
|
+
|
34
|
+
// most effect types need no options passed by default
|
35
|
+
var options = {};
|
36
|
+
// some effects have required parameters
|
37
|
+
if ( selectedEffect === "scale" ) {
|
38
|
+
options = { percent: 0 };
|
39
|
+
} else if ( selectedEffect === "size" ) {
|
40
|
+
options = { to: { width: 200, height: 60 } };
|
41
|
+
}
|
42
|
+
|
43
|
+
// run the effect
|
44
|
+
$( "#effect" ).hide( selectedEffect, options, 1000, callback );
|
45
|
+
};
|
46
|
+
|
47
|
+
// callback function to bring a hidden box back
|
48
|
+
function callback() {
|
49
|
+
setTimeout(function() {
|
50
|
+
$( "#effect" ).removeAttr( "style" ).hide().fadeIn();
|
51
|
+
}, 1000 );
|
52
|
+
};
|
53
|
+
|
54
|
+
// set effect from select menu value
|
55
|
+
$( "#button" ).click(function() {
|
56
|
+
runEffect();
|
57
|
+
return false;
|
58
|
+
});
|
59
|
+
});
|
60
|
+
</script>
|
61
|
+
</head>
|
62
|
+
<body>
|
63
|
+
|
64
|
+
<div class="demo">
|
65
|
+
|
66
|
+
<div class="toggler">
|
67
|
+
<div id="effect" class="ui-widget-content ui-corner-all">
|
68
|
+
<h3 class="ui-widget-header ui-corner-all">Hide</h3>
|
69
|
+
<p>
|
70
|
+
Etiam libero neque, luctus a, eleifend nec, semper at, lorem. Sed pede. Nulla lorem metus, adipiscing ut, luctus sed, hendrerit vitae, mi.
|
71
|
+
</p>
|
72
|
+
</div>
|
73
|
+
</div>
|
74
|
+
|
75
|
+
<select name="effects" id="effectTypes">
|
76
|
+
<option value="blind">Blind</option>
|
77
|
+
<option value="bounce">Bounce</option>
|
78
|
+
<option value="clip">Clip</option>
|
79
|
+
<option value="drop">Drop</option>
|
80
|
+
<option value="explode">Explode</option>
|
81
|
+
<option value="fold">Fold</option>
|
82
|
+
<option value="highlight">Highlight</option>
|
83
|
+
<option value="puff">Puff</option>
|
84
|
+
<option value="pulsate">Pulsate</option>
|
85
|
+
<option value="scale">Scale</option>
|
86
|
+
<option value="shake">Shake</option>
|
87
|
+
<option value="size">Size</option>
|
88
|
+
<option value="slide">Slide</option>
|
89
|
+
</select>
|
90
|
+
|
91
|
+
<a href="#" id="button" class="ui-state-default ui-corner-all">Run Effect</a>
|
92
|
+
|
93
|
+
</div><!-- End demo -->
|
94
|
+
|
95
|
+
|
96
|
+
|
97
|
+
<div class="demo-description">
|
98
|
+
<p>Click the button above to preview the effect.</p>
|
99
|
+
</div><!-- End demo-description -->
|
100
|
+
|
101
|
+
</body>
|
102
|
+
</html>
|
@@ -0,0 +1,18 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<title>jQuery UI Effects Demos</title>
|
6
|
+
<link rel="stylesheet" href="../demos.css">
|
7
|
+
</head>
|
8
|
+
<body>
|
9
|
+
|
10
|
+
<div class="demos-nav">
|
11
|
+
<h4>Examples</h4>
|
12
|
+
<ul>
|
13
|
+
<li class="demo-config-on"><a href="default.html">Default functionality</a></li>
|
14
|
+
</ul>
|
15
|
+
</div>
|
16
|
+
|
17
|
+
</body>
|
18
|
+
</html>
|