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,167 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<title>jQuery UI Dialog - Modal form</title>
|
6
|
+
<link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
|
7
|
+
<script src="../../jquery-1.4.2.js"></script>
|
8
|
+
<script src="../../external/jquery.bgiframe-2.1.1.js"></script>
|
9
|
+
<script src="../../ui/jquery.ui.core.js"></script>
|
10
|
+
<script src="../../ui/jquery.ui.widget.js"></script>
|
11
|
+
<script src="../../ui/jquery.ui.mouse.js"></script>
|
12
|
+
<script src="../../ui/jquery.ui.button.js"></script>
|
13
|
+
<script src="../../ui/jquery.ui.draggable.js"></script>
|
14
|
+
<script src="../../ui/jquery.ui.position.js"></script>
|
15
|
+
<script src="../../ui/jquery.ui.resizable.js"></script>
|
16
|
+
<script src="../../ui/jquery.ui.dialog.js"></script>
|
17
|
+
<script src="../../ui/jquery.effects.core.js"></script>
|
18
|
+
<link rel="stylesheet" href="../demos.css">
|
19
|
+
<style>
|
20
|
+
body { font-size: 62.5%; }
|
21
|
+
label, input { display:block; }
|
22
|
+
input.text { margin-bottom:12px; width:95%; padding: .4em; }
|
23
|
+
fieldset { padding:0; border:0; margin-top:25px; }
|
24
|
+
h1 { font-size: 1.2em; margin: .6em 0; }
|
25
|
+
div#users-contain { width: 350px; margin: 20px 0; }
|
26
|
+
div#users-contain table { margin: 1em 0; border-collapse: collapse; width: 100%; }
|
27
|
+
div#users-contain table td, div#users-contain table th { border: 1px solid #eee; padding: .6em 10px; text-align: left; }
|
28
|
+
.ui-dialog .ui-state-error { padding: .3em; }
|
29
|
+
.validateTips { border: 1px solid transparent; padding: 0.3em; }
|
30
|
+
</style>
|
31
|
+
<script>
|
32
|
+
$(function() {
|
33
|
+
// a workaround for a flaw in the demo system (http://dev.jqueryui.com/ticket/4375), ignore!
|
34
|
+
$( "#dialog" ).dialog( "destroy" );
|
35
|
+
|
36
|
+
var name = $( "#name" ),
|
37
|
+
email = $( "#email" ),
|
38
|
+
password = $( "#password" ),
|
39
|
+
allFields = $( [] ).add( name ).add( email ).add( password ),
|
40
|
+
tips = $( ".validateTips" );
|
41
|
+
|
42
|
+
function updateTips( t ) {
|
43
|
+
tips
|
44
|
+
.text( t )
|
45
|
+
.addClass( "ui-state-highlight" );
|
46
|
+
setTimeout(function() {
|
47
|
+
tips.removeClass( "ui-state-highlight", 1500 );
|
48
|
+
}, 500 );
|
49
|
+
}
|
50
|
+
|
51
|
+
function checkLength( o, n, min, max ) {
|
52
|
+
if ( o.val().length > max || o.val().length < min ) {
|
53
|
+
o.addClass( "ui-state-error" );
|
54
|
+
updateTips( "Length of " + n + " must be between " +
|
55
|
+
min + " and " + max + "." );
|
56
|
+
return false;
|
57
|
+
} else {
|
58
|
+
return true;
|
59
|
+
}
|
60
|
+
}
|
61
|
+
|
62
|
+
function checkRegexp( o, regexp, n ) {
|
63
|
+
if ( !( regexp.test( o.val() ) ) ) {
|
64
|
+
o.addClass( "ui-state-error" );
|
65
|
+
updateTips( n );
|
66
|
+
return false;
|
67
|
+
} else {
|
68
|
+
return true;
|
69
|
+
}
|
70
|
+
}
|
71
|
+
|
72
|
+
$( "#dialog-form" ).dialog({
|
73
|
+
autoOpen: false,
|
74
|
+
height: 300,
|
75
|
+
width: 350,
|
76
|
+
modal: true,
|
77
|
+
buttons: {
|
78
|
+
"Create an account": function() {
|
79
|
+
var bValid = true;
|
80
|
+
allFields.removeClass( "ui-state-error' );
|
81
|
+
|
82
|
+
bValid = bValid && checkLength( name, "username", 3, 16 );
|
83
|
+
bValid = bValid && checkLength( email, "email", 6, 80 );
|
84
|
+
bValid = bValid && checkLength( password, "password", 5, 16 );
|
85
|
+
|
86
|
+
bValid = bValid && checkRegexp( name, /^[a-z]([0-9a-z_])+$/i, "Username may consist of a-z, 0-9, underscores, begin with a letter." );
|
87
|
+
// From jquery.validate.js (by joern), contributed by Scott Gonzalez: http://projects.scottsplayground.com/email_address_validation/
|
88
|
+
bValid = bValid && checkRegexp( email, /^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?$/i, "eg. ui@jquery.com" );
|
89
|
+
bValid = bValid && checkRegexp( password, /^([0-9a-zA-Z])+$/, "Password field only allow : a-z 0-9" );
|
90
|
+
|
91
|
+
if ( bValid ) {
|
92
|
+
$( "#users tbody" ).append( "<tr>" +
|
93
|
+
"<td>" + name.val() + "</td>" +
|
94
|
+
"<td>" + email.val() + "</td>" +
|
95
|
+
"<td>" + password.val() + "</td>" +
|
96
|
+
"</tr>" );
|
97
|
+
$( this ).dialog( "close" );
|
98
|
+
}
|
99
|
+
},
|
100
|
+
Cancel: function() {
|
101
|
+
$( this ).dialog( "close" );
|
102
|
+
}
|
103
|
+
},
|
104
|
+
close: function() {
|
105
|
+
allFields.val( "" ).removeClass( "ui-state-error" );
|
106
|
+
}
|
107
|
+
});
|
108
|
+
|
109
|
+
$( "#create-user" )
|
110
|
+
.button()
|
111
|
+
.click(function() {
|
112
|
+
$( "#dialog-form" ).dialog( "open" );
|
113
|
+
});
|
114
|
+
});
|
115
|
+
</script>
|
116
|
+
</head>
|
117
|
+
<body>
|
118
|
+
|
119
|
+
<div class="demo">
|
120
|
+
|
121
|
+
<div id="dialog-form" title="Create new user">
|
122
|
+
<p class="validateTips">All form fields are required.</p>
|
123
|
+
|
124
|
+
<form>
|
125
|
+
<fieldset>
|
126
|
+
<label for="name">Name</label>
|
127
|
+
<input type="text" name="name" id="name" class="text ui-widget-content ui-corner-all" />
|
128
|
+
<label for="email">Email</label>
|
129
|
+
<input type="text" name="email" id="email" value="" class="text ui-widget-content ui-corner-all" />
|
130
|
+
<label for="password">Password</label>
|
131
|
+
<input type="password" name="password" id="password" value="" class="text ui-widget-content ui-corner-all" />
|
132
|
+
</fieldset>
|
133
|
+
</form>
|
134
|
+
</div>
|
135
|
+
|
136
|
+
|
137
|
+
<div id="users-contain" class="ui-widget">
|
138
|
+
<h1>Existing Users:</h1>
|
139
|
+
<table id="users" class="ui-widget ui-widget-content">
|
140
|
+
<thead>
|
141
|
+
<tr class="ui-widget-header ">
|
142
|
+
<th>Name</th>
|
143
|
+
<th>Email</th>
|
144
|
+
<th>Password</th>
|
145
|
+
</tr>
|
146
|
+
</thead>
|
147
|
+
<tbody>
|
148
|
+
<tr>
|
149
|
+
<td>John Doe</td>
|
150
|
+
<td>john.doe@example.com</td>
|
151
|
+
<td>johndoe1</td>
|
152
|
+
</tr>
|
153
|
+
</tbody>
|
154
|
+
</table>
|
155
|
+
</div>
|
156
|
+
<button id="create-user">Create new user</button>
|
157
|
+
|
158
|
+
</div><!-- End demo -->
|
159
|
+
|
160
|
+
|
161
|
+
|
162
|
+
<div class="demo-description">
|
163
|
+
<p>Use a modal dialog to require that the user enter data during a multi-step process. Embed form markup in the content area, set the <code>modal</code> option to true, and specify primary and secondary user actions with the <code>buttons</code> option.</p>
|
164
|
+
</div><!-- End demo-description -->
|
165
|
+
|
166
|
+
</body>
|
167
|
+
</html>
|
@@ -0,0 +1,71 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<title>jQuery UI Dialog - Modal message</title>
|
6
|
+
<link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
|
7
|
+
<script src="../../jquery-1.4.2.js"></script>
|
8
|
+
<script src="../../external/jquery.bgiframe-2.1.1.js"></script>
|
9
|
+
<script src="../../ui/jquery.ui.core.js"></script>
|
10
|
+
<script src="../../ui/jquery.ui.widget.js"></script>
|
11
|
+
<script src="../../ui/jquery.ui.mouse.js"></script>
|
12
|
+
<script src="../../ui/jquery.ui.button.js"></script>
|
13
|
+
<script src="../../ui/jquery.ui.draggable.js"></script>
|
14
|
+
<script src="../../ui/jquery.ui.position.js"></script>
|
15
|
+
<script src="../../ui/jquery.ui.resizable.js"></script>
|
16
|
+
<script src="../../ui/jquery.ui.dialog.js"></script>
|
17
|
+
<link rel="stylesheet" href="../demos.css">
|
18
|
+
<script>
|
19
|
+
$(function() {
|
20
|
+
// a workaround for a flaw in the demo system (http://dev.jqueryui.com/ticket/4375), ignore!
|
21
|
+
$( "#dialog" ).dialog( "destroy" );
|
22
|
+
|
23
|
+
$( "#dialog-message" ).dialog({
|
24
|
+
modal: true,
|
25
|
+
buttons: {
|
26
|
+
Ok: function() {
|
27
|
+
$( this ).dialog( "close" );
|
28
|
+
}
|
29
|
+
}
|
30
|
+
});
|
31
|
+
});
|
32
|
+
</script>
|
33
|
+
</head>
|
34
|
+
<body>
|
35
|
+
|
36
|
+
<div class="demo">
|
37
|
+
|
38
|
+
<div id="dialog-message" title="Download complete">
|
39
|
+
<p>
|
40
|
+
<span class="ui-icon ui-icon-circle-check" style="float:left; margin:0 7px 50px 0;"></span>
|
41
|
+
Your files have downloaded successfully into the My Downloads folder.
|
42
|
+
</p>
|
43
|
+
<p>
|
44
|
+
Currently using <b>36% of your storage space</b>.
|
45
|
+
</p>
|
46
|
+
</div>
|
47
|
+
|
48
|
+
<!-- Sample page content to illustrate the layering of the dialog -->
|
49
|
+
<div class="hiddenInViewSource" style="padding:20px;">
|
50
|
+
<p>Sed vel diam id libero <a href="http://example.com">rutrum convallis</a>. Donec aliquet leo vel magna. Phasellus rhoncus faucibus ante. Etiam bibendum, enim faucibus aliquet rhoncus, arcu felis ultricies neque, sit amet auctor elit eros a lectus.</p>
|
51
|
+
<form>
|
52
|
+
<input value="text input" /><br />
|
53
|
+
<input type="checkbox" />checkbox<br />
|
54
|
+
<input type="radio" />radio<br />
|
55
|
+
<select>
|
56
|
+
<option>select</option>
|
57
|
+
</select><br /><br />
|
58
|
+
<textarea>textarea</textarea><br />
|
59
|
+
</form>
|
60
|
+
</div><!-- End sample page content -->
|
61
|
+
|
62
|
+
</div><!-- End demo -->
|
63
|
+
|
64
|
+
|
65
|
+
|
66
|
+
<div class="demo-description">
|
67
|
+
<p>Use a modal dialog to explicitly acknowledge information or an action before continuing their work. Set the <code>modal</code> option to true, and specify a primary action (Ok) with the <code>buttons</code> option.</p>
|
68
|
+
</div><!-- End demo-description -->
|
69
|
+
|
70
|
+
</body>
|
71
|
+
</html>
|
@@ -0,0 +1,60 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<title>jQuery UI Dialog - Basic modal</title>
|
6
|
+
<link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
|
7
|
+
<script src="../../jquery-1.4.2.js"></script>
|
8
|
+
<script src="../../external/jquery.bgiframe-2.1.1.js"></script>
|
9
|
+
<script src="../../ui/jquery.ui.core.js"></script>
|
10
|
+
<script src="../../ui/jquery.ui.widget.js"></script>
|
11
|
+
<script src="../../ui/jquery.ui.mouse.js"></script>
|
12
|
+
<script src="../../ui/jquery.ui.draggable.js"></script>
|
13
|
+
<script src="../../ui/jquery.ui.position.js"></script>
|
14
|
+
<script src="../../ui/jquery.ui.resizable.js"></script>
|
15
|
+
<script src="../../ui/jquery.ui.dialog.js"></script>
|
16
|
+
<link rel="stylesheet" href="../demos.css">
|
17
|
+
<script>
|
18
|
+
$(function() {
|
19
|
+
// a workaround for a flaw in the demo system (http://dev.jqueryui.com/ticket/4375), ignore!
|
20
|
+
$( "#dialog" ).dialog( "destroy" );
|
21
|
+
|
22
|
+
$( "#dialog-modal" ).dialog({
|
23
|
+
height: 140,
|
24
|
+
modal: true
|
25
|
+
});
|
26
|
+
});
|
27
|
+
</script>
|
28
|
+
</head>
|
29
|
+
<body>
|
30
|
+
|
31
|
+
<div class="demo">
|
32
|
+
|
33
|
+
<div id="dialog-modal" title="Basic modal dialog">
|
34
|
+
<p>Adding the modal overlay screen makes the dialog look more prominent because it dims out the page content.</p>
|
35
|
+
</div>
|
36
|
+
|
37
|
+
<!-- Sample page content to illustrate the layering of the dialog -->
|
38
|
+
<div class="hiddenInViewSource" style="padding:20px;">
|
39
|
+
<p>Sed vel diam id libero <a href="http://example.com">rutrum convallis</a>. Donec aliquet leo vel magna. Phasellus rhoncus faucibus ante. Etiam bibendum, enim faucibus aliquet rhoncus, arcu felis ultricies neque, sit amet auctor elit eros a lectus.</p>
|
40
|
+
<form>
|
41
|
+
<input value="text input" /><br />
|
42
|
+
<input type="checkbox" />checkbox<br />
|
43
|
+
<input type="radio" />radio<br />
|
44
|
+
<select>
|
45
|
+
<option>select</option>
|
46
|
+
</select><br /><br />
|
47
|
+
<textarea>textarea</textarea><br />
|
48
|
+
</form>
|
49
|
+
</div><!-- End sample page content -->
|
50
|
+
|
51
|
+
</div><!-- End demo -->
|
52
|
+
|
53
|
+
|
54
|
+
|
55
|
+
<div class="demo-description">
|
56
|
+
<p>A modal dialog prevents the user from interacting with the rest of the page until it is closed.</p>
|
57
|
+
</div><!-- End demo-description -->
|
58
|
+
|
59
|
+
</body>
|
60
|
+
</html>
|
@@ -0,0 +1,69 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<title>jQuery UI Draggable - Constrain movement</title>
|
6
|
+
<link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
|
7
|
+
<script src="../../jquery-1.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
|
+
<link rel="stylesheet" href="../demos.css">
|
13
|
+
<style>
|
14
|
+
.draggable { width: 90px; height: 90px; padding: 0.5em; float: left; margin: 0 10px 10px 0; }
|
15
|
+
#draggable, #draggable2 { margin-bottom:20px; }
|
16
|
+
#draggable { cursor: n-resize; }
|
17
|
+
#draggable2 { cursor: e-resize; }
|
18
|
+
#containment-wrapper { width: 95%; height:150px; border:2px solid #ccc; padding: 10px; }
|
19
|
+
</style>
|
20
|
+
<script>
|
21
|
+
$(function() {
|
22
|
+
$( "#draggable" ).draggable({ axis: "y" });
|
23
|
+
$( "#draggable2" ).draggable({ axis: "x" });
|
24
|
+
|
25
|
+
$( "#draggable3" ).draggable({ containment: "#containment-wrapper", scroll: false });
|
26
|
+
$( "#draggable4" ).draggable({ containment: "#demo-frame" });
|
27
|
+
$( "#draggable5" ).draggable({ containment: "parent" });
|
28
|
+
});
|
29
|
+
</script>
|
30
|
+
</head>
|
31
|
+
<body>
|
32
|
+
|
33
|
+
<div class="demo">
|
34
|
+
|
35
|
+
<h3 class="docs">Constrain movement along an axis:</h3>
|
36
|
+
|
37
|
+
<div id="draggable" class="draggable ui-widget-content">
|
38
|
+
<p>I can be dragged only vertically</p>
|
39
|
+
</div>
|
40
|
+
|
41
|
+
<div id="draggable2" class="draggable ui-widget-content">
|
42
|
+
<p>I can be dragged only horizontally</p>
|
43
|
+
</div>
|
44
|
+
|
45
|
+
<h3 class="docs">Or to within another DOM element:</h3>
|
46
|
+
<div id="containment-wrapper">
|
47
|
+
<div id="draggable3" class="draggable ui-widget-content">
|
48
|
+
<p>I'm contained within the box</p>
|
49
|
+
</div>
|
50
|
+
|
51
|
+
<div id="draggable4" class="draggable ui-widget-content">
|
52
|
+
<p>I'm contained within the box's parent</p>
|
53
|
+
</div>
|
54
|
+
|
55
|
+
<div class="draggable ui-widget-content">
|
56
|
+
<p id="draggable5" class="ui-widget-header">I'm contained within my parent</p>
|
57
|
+
</div>
|
58
|
+
</div>
|
59
|
+
|
60
|
+
</div><!-- End demo -->
|
61
|
+
|
62
|
+
|
63
|
+
|
64
|
+
<div class="demo-description">
|
65
|
+
<p>Constrain the movement of each draggable by defining the boundaries of the draggable area. Set the <code>axis</code> option to limit the draggable's path to the x- or y-axis, or use the <code>containment</code> option to specify a parent DOM element or a jQuery selector, like 'document.'</p>
|
66
|
+
</div><!-- End demo-description -->
|
67
|
+
|
68
|
+
</body>
|
69
|
+
</html>
|
@@ -0,0 +1,49 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<title>jQuery UI Draggable - Cursor style</title>
|
6
|
+
<link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
|
7
|
+
<script src="../../jquery-1.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
|
+
<link rel="stylesheet" href="../demos.css">
|
13
|
+
<style>
|
14
|
+
#draggable, #draggable2, #draggable3 { width: 100px; height: 100px; padding: 0.5em; float: left; margin: 0 10px 10px 0; }
|
15
|
+
</style>
|
16
|
+
<script>
|
17
|
+
$(function() {
|
18
|
+
$( "#draggable" ).draggable({ cursorAt: { cursor: "move", top: 56, left: 56 } });
|
19
|
+
$( "#draggable2" ).draggable({ cursorAt: { cursor: "crosshair", top: -5, left: -5 } });
|
20
|
+
$( "#draggable3" ).draggable({ cursorAt: { bottom: 0 } });
|
21
|
+
});
|
22
|
+
</script>
|
23
|
+
</head>
|
24
|
+
<body>
|
25
|
+
|
26
|
+
<div class="demo">
|
27
|
+
|
28
|
+
<div id="draggable" class="ui-widget-content">
|
29
|
+
<p>I will always stick to the center (relative to the mouse)</p>
|
30
|
+
</div>
|
31
|
+
|
32
|
+
<div id="draggable2" class="ui-widget-content">
|
33
|
+
<p>My cursor is at left -5 and top -5</p>
|
34
|
+
</div>
|
35
|
+
|
36
|
+
<div id="draggable3" class="ui-widget-content">
|
37
|
+
<p>My cursor position is only controlled for the 'bottom' value</p>
|
38
|
+
</div>
|
39
|
+
|
40
|
+
</div><!-- End demo -->
|
41
|
+
|
42
|
+
|
43
|
+
|
44
|
+
<div class="demo-description">
|
45
|
+
<p>Position the cursor while dragging the object. By default the cursor appears in the center of the dragged object; use the <code>cursorAt</code> option to specify another location relative to the draggable (specify a pixel value from the top, right, bottom, and/or left). Customize the cursor's appearance by supplying the <code>cursor</code> option with a valid CSS cursor value: default, move, pointer, crosshair, etc.</p>
|
46
|
+
</div><!-- End demo-description -->
|
47
|
+
|
48
|
+
</body>
|
49
|
+
</html>
|
@@ -0,0 +1,39 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<title>jQuery UI Draggable - Default functionality</title>
|
6
|
+
<link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
|
7
|
+
<script src="../../jquery-1.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
|
+
<link rel="stylesheet" href="../demos.css">
|
13
|
+
<style>
|
14
|
+
#draggable { width: 150px; height: 150px; padding: 0.5em; }
|
15
|
+
</style>
|
16
|
+
<script>
|
17
|
+
$(function() {
|
18
|
+
$( "#draggable" ).draggable();
|
19
|
+
});
|
20
|
+
</script>
|
21
|
+
</head>
|
22
|
+
<body>
|
23
|
+
|
24
|
+
<div class="demo">
|
25
|
+
|
26
|
+
<div id="draggable" class="ui-widget-content">
|
27
|
+
<p>Drag me around</p>
|
28
|
+
</div>
|
29
|
+
|
30
|
+
</div><!-- End demo -->
|
31
|
+
|
32
|
+
|
33
|
+
|
34
|
+
<div class="demo-description">
|
35
|
+
<p>Enable draggable functionality on any DOM element. Move the draggable object by clicking on it with the mouse and dragging it anywhere within the viewport.</p>
|
36
|
+
</div><!-- End demo-description -->
|
37
|
+
|
38
|
+
</body>
|
39
|
+
</html>
|
@@ -0,0 +1,45 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<title>jQuery UI Draggable - Delay start</title>
|
6
|
+
<link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
|
7
|
+
<script src="../../jquery-1.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
|
+
<link rel="stylesheet" href="../demos.css">
|
13
|
+
<style>
|
14
|
+
#draggable, #draggable2 { width: 120px; height: 120px; padding: 0.5em; float: left; margin: 0 10px 10px 0; }
|
15
|
+
</style>
|
16
|
+
<script>
|
17
|
+
$(function() {
|
18
|
+
$( "#draggable" ).draggable({ distance: 20 });
|
19
|
+
$( "#draggable2" ).draggable({ delay: 1000 });
|
20
|
+
$( ".ui-draggable" ).disableSelection();
|
21
|
+
});
|
22
|
+
</script>
|
23
|
+
</head>
|
24
|
+
<body>
|
25
|
+
|
26
|
+
<div class="demo">
|
27
|
+
|
28
|
+
<div id="draggable" class="ui-widget-content">
|
29
|
+
<p>Only if you drag me by 20 pixels, the dragging will start</p>
|
30
|
+
</div>
|
31
|
+
|
32
|
+
<div id="draggable2" class="ui-widget-content">
|
33
|
+
<p>Regardless of the distance, you have to drag and wait for 1000ms before dragging starts</p>
|
34
|
+
</div>
|
35
|
+
|
36
|
+
</div><!-- End demo -->
|
37
|
+
|
38
|
+
|
39
|
+
|
40
|
+
<div class="demo-description">
|
41
|
+
<p>Delay the start of dragging for a number of milliseconds with the <code>delay</code> option; prevent dragging until the cursor is held down and dragged a specifed number of pixels with the <code>distance</code> option. </p>
|
42
|
+
</div><!-- End demo-description -->
|
43
|
+
|
44
|
+
</body>
|
45
|
+
</html>
|
@@ -0,0 +1,77 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<title>jQuery UI Draggable - Events</title>
|
6
|
+
<link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
|
7
|
+
<script src="../../jquery-1.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
|
+
<link rel="stylesheet" href="../demos.css">
|
13
|
+
<style>
|
14
|
+
#draggable { width: 16em; padding: 0 1em; }
|
15
|
+
#draggable ul li { margin: 1em 0; padding: 0.5em 0; } * html #draggable ul li { height: 1%; }
|
16
|
+
#draggable ul li span.ui-icon { float: left; }
|
17
|
+
#draggable ul li span.count { font-weight: bold; }
|
18
|
+
</style>
|
19
|
+
<script>
|
20
|
+
$(function() {
|
21
|
+
var $start_counter = $( "#event-start" ),
|
22
|
+
$drag_counter = $( "#event-drag" ),
|
23
|
+
$stop_counter = $( "#event-stop" ),
|
24
|
+
counts = [ 0, 0, 0 ];
|
25
|
+
|
26
|
+
$( "#draggable" ).draggable({
|
27
|
+
start: function() {
|
28
|
+
counts[ 0 ]++;
|
29
|
+
updateCounterStatus( $start_counter, counts[ 0 ] );
|
30
|
+
},
|
31
|
+
drag: function() {
|
32
|
+
counts[ 1 ]++;
|
33
|
+
updateCounterStatus( $drag_counter, counts[ 1 ] );
|
34
|
+
},
|
35
|
+
stop: function() {
|
36
|
+
counts[ 2 ]++;
|
37
|
+
updateCounterStatus( $stop_counter, counts[ 2 ] );
|
38
|
+
}
|
39
|
+
});
|
40
|
+
|
41
|
+
function updateCounterStatus( $event_counter, new_count ) {
|
42
|
+
// first update the status visually...
|
43
|
+
if ( !$event_counter.hasClass( "ui-state-hover" ) ) {
|
44
|
+
$event_counter.addClass( "ui-state-hover" )
|
45
|
+
.siblings().removeClass( "ui-state-hover" );
|
46
|
+
}
|
47
|
+
// ...then update the numbers
|
48
|
+
$( "span.count", $event_counter ).text( new_count );
|
49
|
+
}
|
50
|
+
});
|
51
|
+
</script>
|
52
|
+
</head>
|
53
|
+
<body>
|
54
|
+
|
55
|
+
<div class="demo">
|
56
|
+
|
57
|
+
<div id="draggable" class="ui-widget ui-widget-content">
|
58
|
+
|
59
|
+
<p>Drag me to trigger the chain of events.</p>
|
60
|
+
|
61
|
+
<ul class="ui-helper-reset">
|
62
|
+
<li id="event-start" class="ui-state-default ui-corner-all"><span class="ui-icon ui-icon-play"></span>"start" invoked <span class="count">0</span>x</li>
|
63
|
+
<li id="event-drag" class="ui-state-default ui-corner-all"><span class="ui-icon ui-icon-arrow-4"></span>"drag" invoked <span class="count">0</span>x</li>
|
64
|
+
<li id="event-stop" class="ui-state-default ui-corner-all"><span class="ui-icon ui-icon-stop"></span>"stop" invoked <span class="count">0</span>x</li>
|
65
|
+
</ul>
|
66
|
+
</div>
|
67
|
+
|
68
|
+
</div><!-- End demo -->
|
69
|
+
|
70
|
+
|
71
|
+
|
72
|
+
<div class="demo-description">
|
73
|
+
<p>Layer functionality onto the draggable using the <code>start</code>, <code>drag</code>, and <code>stop</code> events. Start is fired at the start of the drag; drag during the drag; and stop when dragging stops.</p>
|
74
|
+
</div><!-- End demo-description -->
|
75
|
+
|
76
|
+
</body>
|
77
|
+
</html>
|
@@ -0,0 +1,50 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<title>jQuery UI Draggable - Handles</title>
|
6
|
+
<link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
|
7
|
+
<script src="../../jquery-1.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
|
+
<link rel="stylesheet" href="../demos.css">
|
13
|
+
<style>
|
14
|
+
#draggable, #draggable2 { width: 100px; height: 100px; padding: 0.5em; float: left; margin: 0 10px 10px 0; }
|
15
|
+
#draggable p { cursor: move; }
|
16
|
+
</style>
|
17
|
+
<script>
|
18
|
+
$(function() {
|
19
|
+
$( "#draggable" ).draggable({ handle: "p" });
|
20
|
+
$( "#draggable2" ).draggable({ cancel: "p.ui-widget-header" });
|
21
|
+
$( "div, p" ).disableSelection();
|
22
|
+
});
|
23
|
+
</script>
|
24
|
+
</head>
|
25
|
+
<body>
|
26
|
+
|
27
|
+
<div class="demo">
|
28
|
+
|
29
|
+
<div id="draggable" class="ui-widget-content">
|
30
|
+
<p class="ui-widget-header">I can be dragged only by this handle</p>
|
31
|
+
</div>
|
32
|
+
|
33
|
+
<div id="draggable2" class="ui-widget-content">
|
34
|
+
<p>You can drag me around…</p>
|
35
|
+
<p class="ui-widget-header">…but you can't drag me by this handle.</p>
|
36
|
+
</div>
|
37
|
+
|
38
|
+
<!-- ADD CANCEL DEMO -->
|
39
|
+
|
40
|
+
</div><!-- End demo -->
|
41
|
+
|
42
|
+
|
43
|
+
|
44
|
+
<div class="demo-description">
|
45
|
+
<p>Allow dragging only when the cursor is over a specific part of the draggable. Use the <code>handle</code> option to specify the jQuery selector of an element (or group of elements) used to drag the object.</p>
|
46
|
+
<p>Or prevent dragging when the cursor is over a specific element (or group of elements) within the draggable. Use the <code>cancel</code> option to specify a jQuery selector over which to "cancel" draggable functionality.</p>
|
47
|
+
</div><!-- End demo-description -->
|
48
|
+
|
49
|
+
</body>
|
50
|
+
</html>
|
@@ -0,0 +1,28 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<title>jQuery UI Draggable 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
|
+
<li><a href="events.html">Events</a></li>
|
15
|
+
<li><a href="constrain-movement.html">Constrain movement</a></li>
|
16
|
+
<li><a href="delay-start.html">Delay start</a></li>
|
17
|
+
<li><a href="snap-to.html">Snap to element or grid</a></li>
|
18
|
+
<li><a href="scroll.html">Auto-scroll</a></li>
|
19
|
+
<li><a href="revert.html">Revert position</a></li>
|
20
|
+
<li><a href="visual-feedback.html">Visual feedback</a></li>
|
21
|
+
<li><a href="handle.html">Drag handle</a></li>
|
22
|
+
<li><a href="cursor-style.html">Cursor style</a></li>
|
23
|
+
<li><a href="sortable.html">Draggable + Sortable</a></li>
|
24
|
+
</ul>
|
25
|
+
</div>
|
26
|
+
|
27
|
+
</body>
|
28
|
+
</html>
|