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,50 @@
|
|
1
|
+
/*
|
2
|
+
* jQuery UI Effects Drop 1.8.5
|
3
|
+
*
|
4
|
+
* Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
|
5
|
+
* Dual licensed under the MIT or GPL Version 2 licenses.
|
6
|
+
* http://jquery.org/license
|
7
|
+
*
|
8
|
+
* http://docs.jquery.com/UI/Effects/Drop
|
9
|
+
*
|
10
|
+
* Depends:
|
11
|
+
* jquery.effects.core.js
|
12
|
+
*/
|
13
|
+
(function( $, undefined ) {
|
14
|
+
|
15
|
+
$.effects.drop = function(o) {
|
16
|
+
|
17
|
+
return this.queue(function() {
|
18
|
+
|
19
|
+
// Create element
|
20
|
+
var el = $(this), props = ['position','top','left','opacity'];
|
21
|
+
|
22
|
+
// Set options
|
23
|
+
var mode = $.effects.setMode(el, o.options.mode || 'hide'); // Set Mode
|
24
|
+
var direction = o.options.direction || 'left'; // Default Direction
|
25
|
+
|
26
|
+
// Adjust
|
27
|
+
$.effects.save(el, props); el.show(); // Save & Show
|
28
|
+
$.effects.createWrapper(el); // Create Wrapper
|
29
|
+
var ref = (direction == 'up' || direction == 'down') ? 'top' : 'left';
|
30
|
+
var motion = (direction == 'up' || direction == 'left') ? 'pos' : 'neg';
|
31
|
+
var distance = o.options.distance || (ref == 'top' ? el.outerHeight({margin:true}) / 2 : el.outerWidth({margin:true}) / 2);
|
32
|
+
if (mode == 'show') el.css('opacity', 0).css(ref, motion == 'pos' ? -distance : distance); // Shift
|
33
|
+
|
34
|
+
// Animation
|
35
|
+
var animation = {opacity: mode == 'show' ? 1 : 0};
|
36
|
+
animation[ref] = (mode == 'show' ? (motion == 'pos' ? '+=' : '-=') : (motion == 'pos' ? '-=' : '+=')) + distance;
|
37
|
+
|
38
|
+
// Animate
|
39
|
+
el.animate(animation, { queue: false, duration: o.duration, easing: o.options.easing, complete: function() {
|
40
|
+
if(mode == 'hide') el.hide(); // Hide
|
41
|
+
$.effects.restore(el, props); $.effects.removeWrapper(el); // Restore
|
42
|
+
if(o.callback) o.callback.apply(this, arguments); // Callback
|
43
|
+
el.dequeue();
|
44
|
+
}});
|
45
|
+
|
46
|
+
});
|
47
|
+
|
48
|
+
};
|
49
|
+
|
50
|
+
})(jQuery);
|
@@ -0,0 +1,79 @@
|
|
1
|
+
/*
|
2
|
+
* jQuery UI Effects Explode 1.8.5
|
3
|
+
*
|
4
|
+
* Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
|
5
|
+
* Dual licensed under the MIT or GPL Version 2 licenses.
|
6
|
+
* http://jquery.org/license
|
7
|
+
*
|
8
|
+
* http://docs.jquery.com/UI/Effects/Explode
|
9
|
+
*
|
10
|
+
* Depends:
|
11
|
+
* jquery.effects.core.js
|
12
|
+
*/
|
13
|
+
(function( $, undefined ) {
|
14
|
+
|
15
|
+
$.effects.explode = function(o) {
|
16
|
+
|
17
|
+
return this.queue(function() {
|
18
|
+
|
19
|
+
var rows = o.options.pieces ? Math.round(Math.sqrt(o.options.pieces)) : 3;
|
20
|
+
var cells = o.options.pieces ? Math.round(Math.sqrt(o.options.pieces)) : 3;
|
21
|
+
|
22
|
+
o.options.mode = o.options.mode == 'toggle' ? ($(this).is(':visible') ? 'hide' : 'show') : o.options.mode;
|
23
|
+
var el = $(this).show().css('visibility', 'hidden');
|
24
|
+
var offset = el.offset();
|
25
|
+
|
26
|
+
//Substract the margins - not fixing the problem yet.
|
27
|
+
offset.top -= parseInt(el.css("marginTop"),10) || 0;
|
28
|
+
offset.left -= parseInt(el.css("marginLeft"),10) || 0;
|
29
|
+
|
30
|
+
var width = el.outerWidth(true);
|
31
|
+
var height = el.outerHeight(true);
|
32
|
+
|
33
|
+
for(var i=0;i<rows;i++) { // =
|
34
|
+
for(var j=0;j<cells;j++) { // ||
|
35
|
+
el
|
36
|
+
.clone()
|
37
|
+
.appendTo('body')
|
38
|
+
.wrap('<div></div>')
|
39
|
+
.css({
|
40
|
+
position: 'absolute',
|
41
|
+
visibility: 'visible',
|
42
|
+
left: -j*(width/cells),
|
43
|
+
top: -i*(height/rows)
|
44
|
+
})
|
45
|
+
.parent()
|
46
|
+
.addClass('ui-effects-explode')
|
47
|
+
.css({
|
48
|
+
position: 'absolute',
|
49
|
+
overflow: 'hidden',
|
50
|
+
width: width/cells,
|
51
|
+
height: height/rows,
|
52
|
+
left: offset.left + j*(width/cells) + (o.options.mode == 'show' ? (j-Math.floor(cells/2))*(width/cells) : 0),
|
53
|
+
top: offset.top + i*(height/rows) + (o.options.mode == 'show' ? (i-Math.floor(rows/2))*(height/rows) : 0),
|
54
|
+
opacity: o.options.mode == 'show' ? 0 : 1
|
55
|
+
}).animate({
|
56
|
+
left: offset.left + j*(width/cells) + (o.options.mode == 'show' ? 0 : (j-Math.floor(cells/2))*(width/cells)),
|
57
|
+
top: offset.top + i*(height/rows) + (o.options.mode == 'show' ? 0 : (i-Math.floor(rows/2))*(height/rows)),
|
58
|
+
opacity: o.options.mode == 'show' ? 1 : 0
|
59
|
+
}, o.duration || 500);
|
60
|
+
}
|
61
|
+
}
|
62
|
+
|
63
|
+
// Set a timeout, to call the callback approx. when the other animations have finished
|
64
|
+
setTimeout(function() {
|
65
|
+
|
66
|
+
o.options.mode == 'show' ? el.css({ visibility: 'visible' }) : el.css({ visibility: 'visible' }).hide();
|
67
|
+
if(o.callback) o.callback.apply(el[0]); // Callback
|
68
|
+
el.dequeue();
|
69
|
+
|
70
|
+
$('div.ui-effects-explode').remove();
|
71
|
+
|
72
|
+
}, o.duration || 500);
|
73
|
+
|
74
|
+
|
75
|
+
});
|
76
|
+
|
77
|
+
};
|
78
|
+
|
79
|
+
})(jQuery);
|
@@ -0,0 +1,32 @@
|
|
1
|
+
/*
|
2
|
+
* jQuery UI Effects Fade 1.8.5
|
3
|
+
*
|
4
|
+
* Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
|
5
|
+
* Dual licensed under the MIT or GPL Version 2 licenses.
|
6
|
+
* http://jquery.org/license
|
7
|
+
*
|
8
|
+
* http://docs.jquery.com/UI/Effects/Fade
|
9
|
+
*
|
10
|
+
* Depends:
|
11
|
+
* jquery.effects.core.js
|
12
|
+
*/
|
13
|
+
(function( $, undefined ) {
|
14
|
+
|
15
|
+
$.effects.fade = function(o) {
|
16
|
+
return this.queue(function() {
|
17
|
+
var elem = $(this),
|
18
|
+
mode = $.effects.setMode(elem, o.options.mode || 'hide');
|
19
|
+
|
20
|
+
elem.animate({ opacity: mode }, {
|
21
|
+
queue: false,
|
22
|
+
duration: o.duration,
|
23
|
+
easing: o.options.easing,
|
24
|
+
complete: function() {
|
25
|
+
(o.callback && o.callback.apply(this, arguments));
|
26
|
+
elem.dequeue();
|
27
|
+
}
|
28
|
+
});
|
29
|
+
});
|
30
|
+
};
|
31
|
+
|
32
|
+
})(jQuery);
|
@@ -0,0 +1,56 @@
|
|
1
|
+
/*
|
2
|
+
* jQuery UI Effects Fold 1.8.5
|
3
|
+
*
|
4
|
+
* Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
|
5
|
+
* Dual licensed under the MIT or GPL Version 2 licenses.
|
6
|
+
* http://jquery.org/license
|
7
|
+
*
|
8
|
+
* http://docs.jquery.com/UI/Effects/Fold
|
9
|
+
*
|
10
|
+
* Depends:
|
11
|
+
* jquery.effects.core.js
|
12
|
+
*/
|
13
|
+
(function( $, undefined ) {
|
14
|
+
|
15
|
+
$.effects.fold = function(o) {
|
16
|
+
|
17
|
+
return this.queue(function() {
|
18
|
+
|
19
|
+
// Create element
|
20
|
+
var el = $(this), props = ['position','top','left'];
|
21
|
+
|
22
|
+
// Set options
|
23
|
+
var mode = $.effects.setMode(el, o.options.mode || 'hide'); // Set Mode
|
24
|
+
var size = o.options.size || 15; // Default fold size
|
25
|
+
var horizFirst = !(!o.options.horizFirst); // Ensure a boolean value
|
26
|
+
var duration = o.duration ? o.duration / 2 : $.fx.speeds._default / 2;
|
27
|
+
|
28
|
+
// Adjust
|
29
|
+
$.effects.save(el, props); el.show(); // Save & Show
|
30
|
+
var wrapper = $.effects.createWrapper(el).css({overflow:'hidden'}); // Create Wrapper
|
31
|
+
var widthFirst = ((mode == 'show') != horizFirst);
|
32
|
+
var ref = widthFirst ? ['width', 'height'] : ['height', 'width'];
|
33
|
+
var distance = widthFirst ? [wrapper.width(), wrapper.height()] : [wrapper.height(), wrapper.width()];
|
34
|
+
var percent = /([0-9]+)%/.exec(size);
|
35
|
+
if(percent) size = parseInt(percent[1],10) / 100 * distance[mode == 'hide' ? 0 : 1];
|
36
|
+
if(mode == 'show') wrapper.css(horizFirst ? {height: 0, width: size} : {height: size, width: 0}); // Shift
|
37
|
+
|
38
|
+
// Animation
|
39
|
+
var animation1 = {}, animation2 = {};
|
40
|
+
animation1[ref[0]] = mode == 'show' ? distance[0] : size;
|
41
|
+
animation2[ref[1]] = mode == 'show' ? distance[1] : 0;
|
42
|
+
|
43
|
+
// Animate
|
44
|
+
wrapper.animate(animation1, duration, o.options.easing)
|
45
|
+
.animate(animation2, duration, o.options.easing, function() {
|
46
|
+
if(mode == 'hide') el.hide(); // Hide
|
47
|
+
$.effects.restore(el, props); $.effects.removeWrapper(el); // Restore
|
48
|
+
if(o.callback) o.callback.apply(el[0], arguments); // Callback
|
49
|
+
el.dequeue();
|
50
|
+
});
|
51
|
+
|
52
|
+
});
|
53
|
+
|
54
|
+
};
|
55
|
+
|
56
|
+
})(jQuery);
|
@@ -0,0 +1,50 @@
|
|
1
|
+
/*
|
2
|
+
* jQuery UI Effects Highlight 1.8.5
|
3
|
+
*
|
4
|
+
* Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
|
5
|
+
* Dual licensed under the MIT or GPL Version 2 licenses.
|
6
|
+
* http://jquery.org/license
|
7
|
+
*
|
8
|
+
* http://docs.jquery.com/UI/Effects/Highlight
|
9
|
+
*
|
10
|
+
* Depends:
|
11
|
+
* jquery.effects.core.js
|
12
|
+
*/
|
13
|
+
(function( $, undefined ) {
|
14
|
+
|
15
|
+
$.effects.highlight = function(o) {
|
16
|
+
return this.queue(function() {
|
17
|
+
var elem = $(this),
|
18
|
+
props = ['backgroundImage', 'backgroundColor', 'opacity'],
|
19
|
+
mode = $.effects.setMode(elem, o.options.mode || 'show'),
|
20
|
+
animation = {
|
21
|
+
backgroundColor: elem.css('backgroundColor')
|
22
|
+
};
|
23
|
+
|
24
|
+
if (mode == 'hide') {
|
25
|
+
animation.opacity = 0;
|
26
|
+
}
|
27
|
+
|
28
|
+
$.effects.save(elem, props);
|
29
|
+
elem
|
30
|
+
.show()
|
31
|
+
.css({
|
32
|
+
backgroundImage: 'none',
|
33
|
+
backgroundColor: o.options.color || '#ffff99'
|
34
|
+
})
|
35
|
+
.animate(animation, {
|
36
|
+
queue: false,
|
37
|
+
duration: o.duration,
|
38
|
+
easing: o.options.easing,
|
39
|
+
complete: function() {
|
40
|
+
(mode == 'hide' && elem.hide());
|
41
|
+
$.effects.restore(elem, props);
|
42
|
+
(mode == 'show' && !$.support.opacity && this.style.removeAttribute('filter'));
|
43
|
+
(o.callback && o.callback.apply(this, arguments));
|
44
|
+
elem.dequeue();
|
45
|
+
}
|
46
|
+
});
|
47
|
+
});
|
48
|
+
};
|
49
|
+
|
50
|
+
})(jQuery);
|
@@ -0,0 +1,51 @@
|
|
1
|
+
/*
|
2
|
+
* jQuery UI Effects Pulsate 1.8.5
|
3
|
+
*
|
4
|
+
* Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
|
5
|
+
* Dual licensed under the MIT or GPL Version 2 licenses.
|
6
|
+
* http://jquery.org/license
|
7
|
+
*
|
8
|
+
* http://docs.jquery.com/UI/Effects/Pulsate
|
9
|
+
*
|
10
|
+
* Depends:
|
11
|
+
* jquery.effects.core.js
|
12
|
+
*/
|
13
|
+
(function( $, undefined ) {
|
14
|
+
|
15
|
+
$.effects.pulsate = function(o) {
|
16
|
+
return this.queue(function() {
|
17
|
+
var elem = $(this),
|
18
|
+
mode = $.effects.setMode(elem, o.options.mode || 'show');
|
19
|
+
times = ((o.options.times || 5) * 2) - 1;
|
20
|
+
duration = o.duration ? o.duration / 2 : $.fx.speeds._default / 2,
|
21
|
+
isVisible = elem.is(':visible'),
|
22
|
+
animateTo = 0;
|
23
|
+
|
24
|
+
if (!isVisible) {
|
25
|
+
elem.css('opacity', 0).show();
|
26
|
+
animateTo = 1;
|
27
|
+
}
|
28
|
+
|
29
|
+
if ((mode == 'hide' && isVisible) || (mode == 'show' && !isVisible)) {
|
30
|
+
times--;
|
31
|
+
}
|
32
|
+
|
33
|
+
for (var i = 0; i < times; i++) {
|
34
|
+
elem.animate({ opacity: animateTo }, duration, o.options.easing);
|
35
|
+
animateTo = (animateTo + 1) % 2;
|
36
|
+
}
|
37
|
+
|
38
|
+
elem.animate({ opacity: animateTo }, duration, o.options.easing, function() {
|
39
|
+
if (animateTo == 0) {
|
40
|
+
elem.hide();
|
41
|
+
}
|
42
|
+
(o.callback && o.callback.apply(this, arguments));
|
43
|
+
});
|
44
|
+
|
45
|
+
elem
|
46
|
+
.queue('fx', function() { elem.dequeue(); })
|
47
|
+
.dequeue();
|
48
|
+
});
|
49
|
+
};
|
50
|
+
|
51
|
+
})(jQuery);
|
@@ -0,0 +1,178 @@
|
|
1
|
+
/*
|
2
|
+
* jQuery UI Effects Scale 1.8.5
|
3
|
+
*
|
4
|
+
* Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
|
5
|
+
* Dual licensed under the MIT or GPL Version 2 licenses.
|
6
|
+
* http://jquery.org/license
|
7
|
+
*
|
8
|
+
* http://docs.jquery.com/UI/Effects/Scale
|
9
|
+
*
|
10
|
+
* Depends:
|
11
|
+
* jquery.effects.core.js
|
12
|
+
*/
|
13
|
+
(function( $, undefined ) {
|
14
|
+
|
15
|
+
$.effects.puff = function(o) {
|
16
|
+
return this.queue(function() {
|
17
|
+
var elem = $(this),
|
18
|
+
mode = $.effects.setMode(elem, o.options.mode || 'hide'),
|
19
|
+
percent = parseInt(o.options.percent, 10) || 150,
|
20
|
+
factor = percent / 100,
|
21
|
+
original = { height: elem.height(), width: elem.width() };
|
22
|
+
|
23
|
+
$.extend(o.options, {
|
24
|
+
fade: true,
|
25
|
+
mode: mode,
|
26
|
+
percent: mode == 'hide' ? percent : 100,
|
27
|
+
from: mode == 'hide'
|
28
|
+
? original
|
29
|
+
: {
|
30
|
+
height: original.height * factor,
|
31
|
+
width: original.width * factor
|
32
|
+
}
|
33
|
+
});
|
34
|
+
|
35
|
+
elem.effect('scale', o.options, o.duration, o.callback);
|
36
|
+
elem.dequeue();
|
37
|
+
});
|
38
|
+
};
|
39
|
+
|
40
|
+
$.effects.scale = function(o) {
|
41
|
+
|
42
|
+
return this.queue(function() {
|
43
|
+
|
44
|
+
// Create element
|
45
|
+
var el = $(this);
|
46
|
+
|
47
|
+
// Set options
|
48
|
+
var options = $.extend(true, {}, o.options);
|
49
|
+
var mode = $.effects.setMode(el, o.options.mode || 'effect'); // Set Mode
|
50
|
+
var percent = parseInt(o.options.percent,10) || (parseInt(o.options.percent,10) == 0 ? 0 : (mode == 'hide' ? 0 : 100)); // Set default scaling percent
|
51
|
+
var direction = o.options.direction || 'both'; // Set default axis
|
52
|
+
var origin = o.options.origin; // The origin of the scaling
|
53
|
+
if (mode != 'effect') { // Set default origin and restore for show/hide
|
54
|
+
options.origin = origin || ['middle','center'];
|
55
|
+
options.restore = true;
|
56
|
+
}
|
57
|
+
var original = {height: el.height(), width: el.width()}; // Save original
|
58
|
+
el.from = o.options.from || (mode == 'show' ? {height: 0, width: 0} : original); // Default from state
|
59
|
+
|
60
|
+
// Adjust
|
61
|
+
var factor = { // Set scaling factor
|
62
|
+
y: direction != 'horizontal' ? (percent / 100) : 1,
|
63
|
+
x: direction != 'vertical' ? (percent / 100) : 1
|
64
|
+
};
|
65
|
+
el.to = {height: original.height * factor.y, width: original.width * factor.x}; // Set to state
|
66
|
+
|
67
|
+
if (o.options.fade) { // Fade option to support puff
|
68
|
+
if (mode == 'show') {el.from.opacity = 0; el.to.opacity = 1;};
|
69
|
+
if (mode == 'hide') {el.from.opacity = 1; el.to.opacity = 0;};
|
70
|
+
};
|
71
|
+
|
72
|
+
// Animation
|
73
|
+
options.from = el.from; options.to = el.to; options.mode = mode;
|
74
|
+
|
75
|
+
// Animate
|
76
|
+
el.effect('size', options, o.duration, o.callback);
|
77
|
+
el.dequeue();
|
78
|
+
});
|
79
|
+
|
80
|
+
};
|
81
|
+
|
82
|
+
$.effects.size = function(o) {
|
83
|
+
|
84
|
+
return this.queue(function() {
|
85
|
+
|
86
|
+
// Create element
|
87
|
+
var el = $(this), props = ['position','top','left','width','height','overflow','opacity'];
|
88
|
+
var props1 = ['position','top','left','overflow','opacity']; // Always restore
|
89
|
+
var props2 = ['width','height','overflow']; // Copy for children
|
90
|
+
var cProps = ['fontSize'];
|
91
|
+
var vProps = ['borderTopWidth', 'borderBottomWidth', 'paddingTop', 'paddingBottom'];
|
92
|
+
var hProps = ['borderLeftWidth', 'borderRightWidth', 'paddingLeft', 'paddingRight'];
|
93
|
+
|
94
|
+
// Set options
|
95
|
+
var mode = $.effects.setMode(el, o.options.mode || 'effect'); // Set Mode
|
96
|
+
var restore = o.options.restore || false; // Default restore
|
97
|
+
var scale = o.options.scale || 'both'; // Default scale mode
|
98
|
+
var origin = o.options.origin; // The origin of the sizing
|
99
|
+
var original = {height: el.height(), width: el.width()}; // Save original
|
100
|
+
el.from = o.options.from || original; // Default from state
|
101
|
+
el.to = o.options.to || original; // Default to state
|
102
|
+
// Adjust
|
103
|
+
if (origin) { // Calculate baseline shifts
|
104
|
+
var baseline = $.effects.getBaseline(origin, original);
|
105
|
+
el.from.top = (original.height - el.from.height) * baseline.y;
|
106
|
+
el.from.left = (original.width - el.from.width) * baseline.x;
|
107
|
+
el.to.top = (original.height - el.to.height) * baseline.y;
|
108
|
+
el.to.left = (original.width - el.to.width) * baseline.x;
|
109
|
+
};
|
110
|
+
var factor = { // Set scaling factor
|
111
|
+
from: {y: el.from.height / original.height, x: el.from.width / original.width},
|
112
|
+
to: {y: el.to.height / original.height, x: el.to.width / original.width}
|
113
|
+
};
|
114
|
+
if (scale == 'box' || scale == 'both') { // Scale the css box
|
115
|
+
if (factor.from.y != factor.to.y) { // Vertical props scaling
|
116
|
+
props = props.concat(vProps);
|
117
|
+
el.from = $.effects.setTransition(el, vProps, factor.from.y, el.from);
|
118
|
+
el.to = $.effects.setTransition(el, vProps, factor.to.y, el.to);
|
119
|
+
};
|
120
|
+
if (factor.from.x != factor.to.x) { // Horizontal props scaling
|
121
|
+
props = props.concat(hProps);
|
122
|
+
el.from = $.effects.setTransition(el, hProps, factor.from.x, el.from);
|
123
|
+
el.to = $.effects.setTransition(el, hProps, factor.to.x, el.to);
|
124
|
+
};
|
125
|
+
};
|
126
|
+
if (scale == 'content' || scale == 'both') { // Scale the content
|
127
|
+
if (factor.from.y != factor.to.y) { // Vertical props scaling
|
128
|
+
props = props.concat(cProps);
|
129
|
+
el.from = $.effects.setTransition(el, cProps, factor.from.y, el.from);
|
130
|
+
el.to = $.effects.setTransition(el, cProps, factor.to.y, el.to);
|
131
|
+
};
|
132
|
+
};
|
133
|
+
$.effects.save(el, restore ? props : props1); el.show(); // Save & Show
|
134
|
+
$.effects.createWrapper(el); // Create Wrapper
|
135
|
+
el.css('overflow','hidden').css(el.from); // Shift
|
136
|
+
|
137
|
+
// Animate
|
138
|
+
if (scale == 'content' || scale == 'both') { // Scale the children
|
139
|
+
vProps = vProps.concat(['marginTop','marginBottom']).concat(cProps); // Add margins/font-size
|
140
|
+
hProps = hProps.concat(['marginLeft','marginRight']); // Add margins
|
141
|
+
props2 = props.concat(vProps).concat(hProps); // Concat
|
142
|
+
el.find("*[width]").each(function(){
|
143
|
+
child = $(this);
|
144
|
+
if (restore) $.effects.save(child, props2);
|
145
|
+
var c_original = {height: child.height(), width: child.width()}; // Save original
|
146
|
+
child.from = {height: c_original.height * factor.from.y, width: c_original.width * factor.from.x};
|
147
|
+
child.to = {height: c_original.height * factor.to.y, width: c_original.width * factor.to.x};
|
148
|
+
if (factor.from.y != factor.to.y) { // Vertical props scaling
|
149
|
+
child.from = $.effects.setTransition(child, vProps, factor.from.y, child.from);
|
150
|
+
child.to = $.effects.setTransition(child, vProps, factor.to.y, child.to);
|
151
|
+
};
|
152
|
+
if (factor.from.x != factor.to.x) { // Horizontal props scaling
|
153
|
+
child.from = $.effects.setTransition(child, hProps, factor.from.x, child.from);
|
154
|
+
child.to = $.effects.setTransition(child, hProps, factor.to.x, child.to);
|
155
|
+
};
|
156
|
+
child.css(child.from); // Shift children
|
157
|
+
child.animate(child.to, o.duration, o.options.easing, function(){
|
158
|
+
if (restore) $.effects.restore(child, props2); // Restore children
|
159
|
+
}); // Animate children
|
160
|
+
});
|
161
|
+
};
|
162
|
+
|
163
|
+
// Animate
|
164
|
+
el.animate(el.to, { queue: false, duration: o.duration, easing: o.options.easing, complete: function() {
|
165
|
+
if (el.to.opacity === 0) {
|
166
|
+
el.css('opacity', el.from.opacity);
|
167
|
+
}
|
168
|
+
if(mode == 'hide') el.hide(); // Hide
|
169
|
+
$.effects.restore(el, restore ? props : props1); $.effects.removeWrapper(el); // Restore
|
170
|
+
if(o.callback) o.callback.apply(this, arguments); // Callback
|
171
|
+
el.dequeue();
|
172
|
+
}});
|
173
|
+
|
174
|
+
});
|
175
|
+
|
176
|
+
};
|
177
|
+
|
178
|
+
})(jQuery);
|
@@ -0,0 +1,57 @@
|
|
1
|
+
/*
|
2
|
+
* jQuery UI Effects Shake 1.8.5
|
3
|
+
*
|
4
|
+
* Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
|
5
|
+
* Dual licensed under the MIT or GPL Version 2 licenses.
|
6
|
+
* http://jquery.org/license
|
7
|
+
*
|
8
|
+
* http://docs.jquery.com/UI/Effects/Shake
|
9
|
+
*
|
10
|
+
* Depends:
|
11
|
+
* jquery.effects.core.js
|
12
|
+
*/
|
13
|
+
(function( $, undefined ) {
|
14
|
+
|
15
|
+
$.effects.shake = function(o) {
|
16
|
+
|
17
|
+
return this.queue(function() {
|
18
|
+
|
19
|
+
// Create element
|
20
|
+
var el = $(this), props = ['position','top','left'];
|
21
|
+
|
22
|
+
// Set options
|
23
|
+
var mode = $.effects.setMode(el, o.options.mode || 'effect'); // Set Mode
|
24
|
+
var direction = o.options.direction || 'left'; // Default direction
|
25
|
+
var distance = o.options.distance || 20; // Default distance
|
26
|
+
var times = o.options.times || 3; // Default # of times
|
27
|
+
var speed = o.duration || o.options.duration || 140; // Default speed per shake
|
28
|
+
|
29
|
+
// Adjust
|
30
|
+
$.effects.save(el, props); el.show(); // Save & Show
|
31
|
+
$.effects.createWrapper(el); // Create Wrapper
|
32
|
+
var ref = (direction == 'up' || direction == 'down') ? 'top' : 'left';
|
33
|
+
var motion = (direction == 'up' || direction == 'left') ? 'pos' : 'neg';
|
34
|
+
|
35
|
+
// Animation
|
36
|
+
var animation = {}, animation1 = {}, animation2 = {};
|
37
|
+
animation[ref] = (motion == 'pos' ? '-=' : '+=') + distance;
|
38
|
+
animation1[ref] = (motion == 'pos' ? '+=' : '-=') + distance * 2;
|
39
|
+
animation2[ref] = (motion == 'pos' ? '-=' : '+=') + distance * 2;
|
40
|
+
|
41
|
+
// Animate
|
42
|
+
el.animate(animation, speed, o.options.easing);
|
43
|
+
for (var i = 1; i < times; i++) { // Shakes
|
44
|
+
el.animate(animation1, speed, o.options.easing).animate(animation2, speed, o.options.easing);
|
45
|
+
};
|
46
|
+
el.animate(animation1, speed, o.options.easing).
|
47
|
+
animate(animation, speed / 2, o.options.easing, function(){ // Last shake
|
48
|
+
$.effects.restore(el, props); $.effects.removeWrapper(el); // Restore
|
49
|
+
if(o.callback) o.callback.apply(this, arguments); // Callback
|
50
|
+
});
|
51
|
+
el.queue('fx', function() { el.dequeue(); });
|
52
|
+
el.dequeue();
|
53
|
+
});
|
54
|
+
|
55
|
+
};
|
56
|
+
|
57
|
+
})(jQuery);
|
@@ -0,0 +1,50 @@
|
|
1
|
+
/*
|
2
|
+
* jQuery UI Effects Slide 1.8.5
|
3
|
+
*
|
4
|
+
* Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
|
5
|
+
* Dual licensed under the MIT or GPL Version 2 licenses.
|
6
|
+
* http://jquery.org/license
|
7
|
+
*
|
8
|
+
* http://docs.jquery.com/UI/Effects/Slide
|
9
|
+
*
|
10
|
+
* Depends:
|
11
|
+
* jquery.effects.core.js
|
12
|
+
*/
|
13
|
+
(function( $, undefined ) {
|
14
|
+
|
15
|
+
$.effects.slide = function(o) {
|
16
|
+
|
17
|
+
return this.queue(function() {
|
18
|
+
|
19
|
+
// Create element
|
20
|
+
var el = $(this), props = ['position','top','left'];
|
21
|
+
|
22
|
+
// Set options
|
23
|
+
var mode = $.effects.setMode(el, o.options.mode || 'show'); // Set Mode
|
24
|
+
var direction = o.options.direction || 'left'; // Default Direction
|
25
|
+
|
26
|
+
// Adjust
|
27
|
+
$.effects.save(el, props); el.show(); // Save & Show
|
28
|
+
$.effects.createWrapper(el).css({overflow:'hidden'}); // Create Wrapper
|
29
|
+
var ref = (direction == 'up' || direction == 'down') ? 'top' : 'left';
|
30
|
+
var motion = (direction == 'up' || direction == 'left') ? 'pos' : 'neg';
|
31
|
+
var distance = o.options.distance || (ref == 'top' ? el.outerHeight({margin:true}) : el.outerWidth({margin:true}));
|
32
|
+
if (mode == 'show') el.css(ref, motion == 'pos' ? -distance : distance); // Shift
|
33
|
+
|
34
|
+
// Animation
|
35
|
+
var animation = {};
|
36
|
+
animation[ref] = (mode == 'show' ? (motion == 'pos' ? '+=' : '-=') : (motion == 'pos' ? '-=' : '+=')) + distance;
|
37
|
+
|
38
|
+
// Animate
|
39
|
+
el.animate(animation, { queue: false, duration: o.duration, easing: o.options.easing, complete: function() {
|
40
|
+
if(mode == 'hide') el.hide(); // Hide
|
41
|
+
$.effects.restore(el, props); $.effects.removeWrapper(el); // Restore
|
42
|
+
if(o.callback) o.callback.apply(this, arguments); // Callback
|
43
|
+
el.dequeue();
|
44
|
+
}});
|
45
|
+
|
46
|
+
});
|
47
|
+
|
48
|
+
};
|
49
|
+
|
50
|
+
})(jQuery);
|
@@ -0,0 +1,45 @@
|
|
1
|
+
/*
|
2
|
+
* jQuery UI Effects Transfer 1.8.5
|
3
|
+
*
|
4
|
+
* Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
|
5
|
+
* Dual licensed under the MIT or GPL Version 2 licenses.
|
6
|
+
* http://jquery.org/license
|
7
|
+
*
|
8
|
+
* http://docs.jquery.com/UI/Effects/Transfer
|
9
|
+
*
|
10
|
+
* Depends:
|
11
|
+
* jquery.effects.core.js
|
12
|
+
*/
|
13
|
+
(function( $, undefined ) {
|
14
|
+
|
15
|
+
$.effects.transfer = function(o) {
|
16
|
+
return this.queue(function() {
|
17
|
+
var elem = $(this),
|
18
|
+
target = $(o.options.to),
|
19
|
+
endPosition = target.offset(),
|
20
|
+
animation = {
|
21
|
+
top: endPosition.top,
|
22
|
+
left: endPosition.left,
|
23
|
+
height: target.innerHeight(),
|
24
|
+
width: target.innerWidth()
|
25
|
+
},
|
26
|
+
startPosition = elem.offset(),
|
27
|
+
transfer = $('<div class="ui-effects-transfer"></div>')
|
28
|
+
.appendTo(document.body)
|
29
|
+
.addClass(o.options.className)
|
30
|
+
.css({
|
31
|
+
top: startPosition.top,
|
32
|
+
left: startPosition.left,
|
33
|
+
height: elem.innerHeight(),
|
34
|
+
width: elem.innerWidth(),
|
35
|
+
position: 'absolute'
|
36
|
+
})
|
37
|
+
.animate(animation, o.duration, o.options.easing, function() {
|
38
|
+
transfer.remove();
|
39
|
+
(o.callback && o.callback.apply(elem[0], arguments));
|
40
|
+
elem.dequeue();
|
41
|
+
});
|
42
|
+
});
|
43
|
+
};
|
44
|
+
|
45
|
+
})(jQuery);
|