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,144 @@
|
|
1
|
+
|
2
|
+
<ul class="UIAPIPlugin-toc">
|
3
|
+
<li><a href="#overview">Overview</a></li>
|
4
|
+
<li><a href="#options">Arguments</a></li>
|
5
|
+
</ul>
|
6
|
+
<div class="UIAPIPlugin">
|
7
|
+
<h1>jQuery UI toggle</h1>
|
8
|
+
<div id="overview">
|
9
|
+
<h2 class="top-header">Overview</h2>
|
10
|
+
<div id="overview-main">
|
11
|
+
<div class="editsection" style="float:right;margin-left:5px;">[<a href="http://docs.jquery.com/action/edit/UI/Effects/toggle?section=1" title="Edit section: toggle( effect, [options], [speed], [callback] )">edit</a>]</div><a name="toggle.28_effect.2C_.5Boptions.5D.2C_.5Bspeed.5D.2C_.5Bcallback.5D_.29"></a><h3>toggle( effect, <span class="optional">[</span>options<span class="optional">]</span>, <span class="optional">[</span>speed<span class="optional">]</span>, <span class="optional">[</span>callback<span class="optional">]</span> )</h3>
|
12
|
+
<p>The enhanced toggle method optionally accepts jQuery UI advanced effects.</p>
|
13
|
+
<p>Uses a specific effect on an element to toggle the element if the first argument is an effect string.</p>
|
14
|
+
</div>
|
15
|
+
<div id="overview-dependencies">
|
16
|
+
<h3>Dependencies</h3>
|
17
|
+
<ul>
|
18
|
+
<li>Effects Core</li>
|
19
|
+
</ul>
|
20
|
+
</div>
|
21
|
+
<div id="overview-example">
|
22
|
+
<h3>Example</h3>
|
23
|
+
<div id="overview-example" class="example">
|
24
|
+
<ul><li><a href="#demo"><span>Demo</span></a></li><li><a href="#source"><span>View Source</span></a></li></ul>
|
25
|
+
<p><div id="demo" class="tabs-container" rel="170">
|
26
|
+
Apply the effect slide if you click on the p to toggle a div.<br />
|
27
|
+
</p>
|
28
|
+
<pre>$("p").<a href="http://docs.jquery.com/Events/click" title="Events/click">click</a>(function () {
|
29
|
+
$("div").<strong class="selflink">toggle</strong>("slide", {}, 1000);
|
30
|
+
});
|
31
|
+
</pre>
|
32
|
+
<p></div><div id="source" class="tabs-container">
|
33
|
+
</p>
|
34
|
+
<pre><!DOCTYPE html>
|
35
|
+
<html>
|
36
|
+
<head>
|
37
|
+
<link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/>
|
38
|
+
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
|
39
|
+
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script>
|
40
|
+
<script src="http://ui.jquery.com/latest/ui/effects.core.js"></script>
|
41
|
+
<script src="http://ui.jquery.com/latest/ui/effects.slide.js"></script>
|
42
|
+
<style type="text/css">
|
43
|
+
div { display: none; margin: 0px; width: 100px; height: 80px; background: blue; position: relative; }
|
44
|
+
</style>
|
45
|
+
<script>
|
46
|
+
$(document).ready(function() {
|
47
|
+
$("p").<a href="http://docs.jquery.com/Events/click" title="Events/click">click</a>(function () {
|
48
|
+
$("div").<strong class="selflink">toggle</strong>("slide", {}, 1000);
|
49
|
+
});
|
50
|
+
});
|
51
|
+
</script>
|
52
|
+
</head>
|
53
|
+
<body style="font-size:62.5%;">
|
54
|
+
|
55
|
+
<p>Click me</p><div></div>
|
56
|
+
|
57
|
+
</body>
|
58
|
+
</html>
|
59
|
+
</pre>
|
60
|
+
<p></div>
|
61
|
+
</p><p></div>
|
62
|
+
</div>
|
63
|
+
</div>
|
64
|
+
<div id="options">
|
65
|
+
<h2 class="top-header">Arguments</h2>
|
66
|
+
<ul class="options-list">
|
67
|
+
|
68
|
+
<li class="option" id="option-effect">
|
69
|
+
<div class="option-header">
|
70
|
+
<h3 class="option-name"><a href="#option-effect">effect</a></h3>
|
71
|
+
<dl>
|
72
|
+
<dt class="option-type-label">Type:</dt>
|
73
|
+
<dd class="option-type">String</dd>
|
74
|
+
|
75
|
+
</dl>
|
76
|
+
</div>
|
77
|
+
<div class="option-description">
|
78
|
+
<p>The effect to be used. Possible values: 'blind', 'clip', 'drop', 'explode', 'fold', 'puff', 'slide', 'scale', 'size', 'pulsate'.</p>
|
79
|
+
</div>
|
80
|
+
</li>
|
81
|
+
|
82
|
+
|
83
|
+
<li class="option" id="option-options">
|
84
|
+
<div class="option-header">
|
85
|
+
<h3 class="option-name"><a href="#option-options">options</a></h3>
|
86
|
+
<dl>
|
87
|
+
<dt class="option-type-label">Type:</dt>
|
88
|
+
<dd class="option-type">Hash</dd>
|
89
|
+
|
90
|
+
<dt class="option-optional-label">Optional</dt>
|
91
|
+
|
92
|
+
</dl>
|
93
|
+
</div>
|
94
|
+
<div class="option-description">
|
95
|
+
<p>A object/hash including specific options for the effect.</p>
|
96
|
+
</div>
|
97
|
+
</li>
|
98
|
+
|
99
|
+
|
100
|
+
<li class="option" id="option-speed">
|
101
|
+
<div class="option-header">
|
102
|
+
<h3 class="option-name"><a href="#option-speed">speed</a></h3>
|
103
|
+
<dl>
|
104
|
+
<dt class="option-type-label">Type:</dt>
|
105
|
+
<dd class="option-type">String, Number</dd>
|
106
|
+
|
107
|
+
<dt class="option-optional-label">Optional</dt>
|
108
|
+
|
109
|
+
</dl>
|
110
|
+
</div>
|
111
|
+
<div class="option-description">
|
112
|
+
<p>A string representing one of the predefined speeds ("slow" or "fast") or the number of milliseconds to run the animation (e.g. 1000).</p>
|
113
|
+
</div>
|
114
|
+
</li>
|
115
|
+
|
116
|
+
|
117
|
+
<li class="option" id="option-callback">
|
118
|
+
<div class="option-header">
|
119
|
+
<h3 class="option-name"><a href="#option-callback">callback</a></h3>
|
120
|
+
<dl>
|
121
|
+
<dt class="option-type-label">Type:</dt>
|
122
|
+
<dd class="option-type">Function</dd>
|
123
|
+
|
124
|
+
<dt class="option-optional-label">Optional</dt>
|
125
|
+
|
126
|
+
</dl>
|
127
|
+
</div>
|
128
|
+
<div class="option-description">
|
129
|
+
<p>A function that is called after the effect is completed.</p>
|
130
|
+
</div>
|
131
|
+
</li>
|
132
|
+
|
133
|
+
</ul>
|
134
|
+
</div>
|
135
|
+
</div>
|
136
|
+
|
137
|
+
</p><!--
|
138
|
+
Pre-expand include size: 6372 bytes
|
139
|
+
Post-expand include size: 8797 bytes
|
140
|
+
Template argument size: 5515 bytes
|
141
|
+
Maximum: 2097152 bytes
|
142
|
+
-->
|
143
|
+
|
144
|
+
<!-- Saved in parser cache with key jqdocs_docs:pcache:idhash:2615-1!1!0!!en!2 and timestamp 20100910023906 -->
|
@@ -0,0 +1,111 @@
|
|
1
|
+
|
2
|
+
<ul class="UIAPIPlugin-toc">
|
3
|
+
<li><a href="#overview">Overview</a></li>
|
4
|
+
<li><a href="#options">Arguments</a></li>
|
5
|
+
</ul>
|
6
|
+
<div class="UIAPIPlugin">
|
7
|
+
<h1>jQuery UI toggleClass</h1>
|
8
|
+
<div id="overview">
|
9
|
+
<h2 class="top-header">Overview</h2>
|
10
|
+
<div id="overview-main">
|
11
|
+
<div class="editsection" style="float:right;margin-left:5px;">[<a href="http://docs.jquery.com/action/edit/UI/Effects/toggleClass?section=1" title="Edit section: toggleClass( class, [duration] )">edit</a>]</div><a name="toggleClass.28_class.2C_.5Bduration.5D_.29"></a><h3>toggleClass( class, <span class="optional">[</span>duration<span class="optional">]</span> )</h3>
|
12
|
+
<p>Adds the specified class if it is not present, and removes the specified class if it is present, using an optional transition.</p>
|
13
|
+
</div>
|
14
|
+
<div id="overview-dependencies">
|
15
|
+
<h3>Dependencies</h3>
|
16
|
+
<ul>
|
17
|
+
<li>Effects Core</li>
|
18
|
+
</ul>
|
19
|
+
</div>
|
20
|
+
<div id="overview-example">
|
21
|
+
<h3>Example</h3>
|
22
|
+
<div id="overview-example" class="example">
|
23
|
+
<ul><li><a href="#demo"><span>Demo</span></a></li><li><a href="#source"><span>View Source</span></a></li></ul>
|
24
|
+
<p><div id="demo" class="tabs-container" rel="100">
|
25
|
+
Adds the 'selected' class if it is not present, and removes the 'selected' class if it is present.<br />
|
26
|
+
</p>
|
27
|
+
<pre>$("p").<a href="http://docs.jquery.com/Events/click" title="Events/click">click</a>(function () {
|
28
|
+
$(this).<strong class="selflink">toggleClass</strong>("selected", 1000);
|
29
|
+
});
|
30
|
+
</pre>
|
31
|
+
<p></div><div id="source" class="tabs-container">
|
32
|
+
</p>
|
33
|
+
<pre><!DOCTYPE html>
|
34
|
+
<html>
|
35
|
+
<head>
|
36
|
+
<link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/>
|
37
|
+
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
|
38
|
+
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script>
|
39
|
+
<script src="http://ui.jquery.com/latest/ui/effects.core.js"></script>
|
40
|
+
<style type="text/css">
|
41
|
+
p { cursor: pointer; font-size: 1.2em; }
|
42
|
+
.selected { color:red; }
|
43
|
+
</style>
|
44
|
+
<script>
|
45
|
+
$(document).ready(function() {
|
46
|
+
$("p").<a href="http://docs.jquery.com/Events/click" title="Events/click">click</a>(function () {
|
47
|
+
$(this).<strong class="selflink">toggleClass</strong>("selected", 1000);
|
48
|
+
});
|
49
|
+
});
|
50
|
+
</script>
|
51
|
+
</head>
|
52
|
+
<body style="font-size:62.5%;">
|
53
|
+
|
54
|
+
<p>Click me to toggle 'selected' class.</p>
|
55
|
+
<p class="selected">Click me to toggle 'selected' class.</p>
|
56
|
+
<p>Click me to toggle 'selected' class.</p>
|
57
|
+
|
58
|
+
</body>
|
59
|
+
</html>
|
60
|
+
</pre>
|
61
|
+
<p></div>
|
62
|
+
</p><p></div>
|
63
|
+
</div>
|
64
|
+
</div>
|
65
|
+
<div id="options">
|
66
|
+
<h2 class="top-header">Arguments</h2>
|
67
|
+
<ul class="options-list">
|
68
|
+
|
69
|
+
<li class="option" id="option-class">
|
70
|
+
<div class="option-header">
|
71
|
+
<h3 class="option-name"><a href="#option-class">class</a></h3>
|
72
|
+
<dl>
|
73
|
+
<dt class="option-type-label">Type:</dt>
|
74
|
+
<dd class="option-type">String</dd>
|
75
|
+
|
76
|
+
</dl>
|
77
|
+
</div>
|
78
|
+
<div class="option-description">
|
79
|
+
<p>A CSS class to toggle on the elements.</p>
|
80
|
+
</div>
|
81
|
+
</li>
|
82
|
+
|
83
|
+
|
84
|
+
<li class="option" id="option-duration">
|
85
|
+
<div class="option-header">
|
86
|
+
<h3 class="option-name"><a href="#option-duration">duration</a></h3>
|
87
|
+
<dl>
|
88
|
+
<dt class="option-type-label">Type:</dt>
|
89
|
+
<dd class="option-type">String, Number</dd>
|
90
|
+
|
91
|
+
<dt class="option-optional-label">Optional</dt>
|
92
|
+
|
93
|
+
</dl>
|
94
|
+
</div>
|
95
|
+
<div class="option-description">
|
96
|
+
<p>A string representing one of the three predefined speeds ("slow", "normal", or "fast") or the number of milliseconds to run the animation (e.g. 1000).</p>
|
97
|
+
</div>
|
98
|
+
</li>
|
99
|
+
|
100
|
+
</ul>
|
101
|
+
</div>
|
102
|
+
</div>
|
103
|
+
|
104
|
+
</p><!--
|
105
|
+
Pre-expand include size: 5271 bytes
|
106
|
+
Post-expand include size: 7027 bytes
|
107
|
+
Template argument size: 4437 bytes
|
108
|
+
Maximum: 2097152 bytes
|
109
|
+
-->
|
110
|
+
|
111
|
+
<!-- Saved in parser cache with key jqdocs_docs:pcache:idhash:2608-1!1!0!!en!2 and timestamp 20100910025514 -->
|
@@ -0,0 +1,10 @@
|
|
1
|
+
/* Copyright (c) 2006 Brandon Aaron (http://brandonaaron.net)
|
2
|
+
* Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php)
|
3
|
+
* and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses.
|
4
|
+
*
|
5
|
+
* $LastChangedDate: 2007-07-21 18:45:56 -0500 (Sat, 21 Jul 2007) $
|
6
|
+
* $Rev: 2447 $
|
7
|
+
*
|
8
|
+
* Version 2.1.1
|
9
|
+
*/
|
10
|
+
(function($){$.fn.bgIframe=$.fn.bgiframe=function(s){if($.browser.msie&&/6.0/.test(navigator.userAgent)){s=$.extend({top:'auto',left:'auto',width:'auto',height:'auto',opacity:true,src:'javascript:false;'},s||{});var prop=function(n){return n&&n.constructor==Number?n+'px':n;},html='<iframe class="bgiframe"frameborder="0"tabindex="-1"src="'+s.src+'"'+'style="display:block;position:absolute;z-index:-1;'+(s.opacity!==false?'filter:Alpha(Opacity=\'0\');':'')+'top:'+(s.top=='auto'?'expression(((parseInt(this.parentNode.currentStyle.borderTopWidth)||0)*-1)+\'px\')':prop(s.top))+';'+'left:'+(s.left=='auto'?'expression(((parseInt(this.parentNode.currentStyle.borderLeftWidth)||0)*-1)+\'px\')':prop(s.left))+';'+'width:'+(s.width=='auto'?'expression(this.parentNode.offsetWidth+\'px\')':prop(s.width))+';'+'height:'+(s.height=='auto'?'expression(this.parentNode.offsetHeight+\'px\')':prop(s.height))+';'+'"/>';return this.each(function(){if($('> iframe.bgiframe',this).length==0)this.insertBefore(document.createElement(html),this.firstChild);});}return this;};})(jQuery);
|
@@ -0,0 +1,89 @@
|
|
1
|
+
/*jslint browser: true */ /*global jQuery: true */
|
2
|
+
|
3
|
+
/**
|
4
|
+
* jQuery Cookie plugin
|
5
|
+
*
|
6
|
+
* Copyright (c) 2010 Klaus Hartl (stilbuero.de)
|
7
|
+
* Dual licensed under the MIT and GPL licenses:
|
8
|
+
* http://www.opensource.org/licenses/mit-license.php
|
9
|
+
* http://www.gnu.org/licenses/gpl.html
|
10
|
+
*
|
11
|
+
*/
|
12
|
+
|
13
|
+
// TODO JsDoc
|
14
|
+
|
15
|
+
/**
|
16
|
+
* Create a cookie with the given key and value and other optional parameters.
|
17
|
+
*
|
18
|
+
* @example $.cookie('the_cookie', 'the_value');
|
19
|
+
* @desc Set the value of a cookie.
|
20
|
+
* @example $.cookie('the_cookie', 'the_value', { expires: 7, path: '/', domain: 'jquery.com', secure: true });
|
21
|
+
* @desc Create a cookie with all available options.
|
22
|
+
* @example $.cookie('the_cookie', 'the_value');
|
23
|
+
* @desc Create a session cookie.
|
24
|
+
* @example $.cookie('the_cookie', null);
|
25
|
+
* @desc Delete a cookie by passing null as value. Keep in mind that you have to use the same path and domain
|
26
|
+
* used when the cookie was set.
|
27
|
+
*
|
28
|
+
* @param String key The key of the cookie.
|
29
|
+
* @param String value The value of the cookie.
|
30
|
+
* @param Object options An object literal containing key/value pairs to provide optional cookie attributes.
|
31
|
+
* @option Number|Date expires Either an integer specifying the expiration date from now on in days or a Date object.
|
32
|
+
* If a negative value is specified (e.g. a date in the past), the cookie will be deleted.
|
33
|
+
* If set to null or omitted, the cookie will be a session cookie and will not be retained
|
34
|
+
* when the the browser exits.
|
35
|
+
* @option String path The value of the path atribute of the cookie (default: path of page that created the cookie).
|
36
|
+
* @option String domain The value of the domain attribute of the cookie (default: domain of page that created the cookie).
|
37
|
+
* @option Boolean secure If true, the secure attribute of the cookie will be set and the cookie transmission will
|
38
|
+
* require a secure protocol (like HTTPS).
|
39
|
+
* @type undefined
|
40
|
+
*
|
41
|
+
* @name $.cookie
|
42
|
+
* @cat Plugins/Cookie
|
43
|
+
* @author Klaus Hartl/klaus.hartl@stilbuero.de
|
44
|
+
*/
|
45
|
+
|
46
|
+
/**
|
47
|
+
* Get the value of a cookie with the given key.
|
48
|
+
*
|
49
|
+
* @example $.cookie('the_cookie');
|
50
|
+
* @desc Get the value of a cookie.
|
51
|
+
*
|
52
|
+
* @param String key The key of the cookie.
|
53
|
+
* @return The value of the cookie.
|
54
|
+
* @type String
|
55
|
+
*
|
56
|
+
* @name $.cookie
|
57
|
+
* @cat Plugins/Cookie
|
58
|
+
* @author Klaus Hartl/klaus.hartl@stilbuero.de
|
59
|
+
*/
|
60
|
+
jQuery.cookie = function (key, value, options) {
|
61
|
+
|
62
|
+
// key and value given, set cookie...
|
63
|
+
if (arguments.length > 1 && (value === null || typeof value !== "object")) {
|
64
|
+
options = jQuery.extend({}, options);
|
65
|
+
|
66
|
+
if (value === null) {
|
67
|
+
options.expires = -1;
|
68
|
+
}
|
69
|
+
|
70
|
+
if (typeof options.expires === 'number') {
|
71
|
+
var days = options.expires, t = options.expires = new Date();
|
72
|
+
t.setDate(t.getDate() + days);
|
73
|
+
}
|
74
|
+
|
75
|
+
return (document.cookie = [
|
76
|
+
encodeURIComponent(key), '=',
|
77
|
+
options.raw ? String(value) : encodeURIComponent(String(value)),
|
78
|
+
options.expires ? '; expires=' + options.expires.toUTCString() : '', // use expires attribute, max-age is not supported by IE
|
79
|
+
options.path ? '; path=' + options.path : '',
|
80
|
+
options.domain ? '; domain=' + options.domain : '',
|
81
|
+
options.secure ? '; secure' : ''
|
82
|
+
].join(''));
|
83
|
+
}
|
84
|
+
|
85
|
+
// key and possibly options given, get cookie...
|
86
|
+
options = value || {};
|
87
|
+
var result, decode = options.raw ? function (s) { return s; } : decodeURIComponent;
|
88
|
+
return (result = new RegExp('(?:^|; )' + encodeURIComponent(key) + '=([^;]*)').exec(document.cookie)) ? decode(result[1]) : null;
|
89
|
+
};
|
@@ -0,0 +1,122 @@
|
|
1
|
+
/*
|
2
|
+
* Metadata - jQuery plugin for parsing metadata from elements
|
3
|
+
*
|
4
|
+
* Copyright (c) 2006 John Resig, Yehuda Katz, J�örn Zaefferer, Paul McLanahan
|
5
|
+
*
|
6
|
+
* Dual licensed under the MIT and GPL licenses:
|
7
|
+
* http://www.opensource.org/licenses/mit-license.php
|
8
|
+
* http://www.gnu.org/licenses/gpl.html
|
9
|
+
*
|
10
|
+
* Revision: $Id: jquery.metadata.js 4187 2007-12-16 17:15:27Z joern.zaefferer $
|
11
|
+
*
|
12
|
+
*/
|
13
|
+
|
14
|
+
/**
|
15
|
+
* Sets the type of metadata to use. Metadata is encoded in JSON, and each property
|
16
|
+
* in the JSON will become a property of the element itself.
|
17
|
+
*
|
18
|
+
* There are three supported types of metadata storage:
|
19
|
+
*
|
20
|
+
* attr: Inside an attribute. The name parameter indicates *which* attribute.
|
21
|
+
*
|
22
|
+
* class: Inside the class attribute, wrapped in curly braces: { }
|
23
|
+
*
|
24
|
+
* elem: Inside a child element (e.g. a script tag). The
|
25
|
+
* name parameter indicates *which* element.
|
26
|
+
*
|
27
|
+
* The metadata for an element is loaded the first time the element is accessed via jQuery.
|
28
|
+
*
|
29
|
+
* As a result, you can define the metadata type, use $(expr) to load the metadata into the elements
|
30
|
+
* matched by expr, then redefine the metadata type and run another $(expr) for other elements.
|
31
|
+
*
|
32
|
+
* @name $.metadata.setType
|
33
|
+
*
|
34
|
+
* @example <p id="one" class="some_class {item_id: 1, item_label: 'Label'}">This is a p</p>
|
35
|
+
* @before $.metadata.setType("class")
|
36
|
+
* @after $("#one").metadata().item_id == 1; $("#one").metadata().item_label == "Label"
|
37
|
+
* @desc Reads metadata from the class attribute
|
38
|
+
*
|
39
|
+
* @example <p id="one" class="some_class" data="{item_id: 1, item_label: 'Label'}">This is a p</p>
|
40
|
+
* @before $.metadata.setType("attr", "data")
|
41
|
+
* @after $("#one").metadata().item_id == 1; $("#one").metadata().item_label == "Label"
|
42
|
+
* @desc Reads metadata from a "data" attribute
|
43
|
+
*
|
44
|
+
* @example <p id="one" class="some_class"><script>{item_id: 1, item_label: 'Label'}</script>This is a p</p>
|
45
|
+
* @before $.metadata.setType("elem", "script")
|
46
|
+
* @after $("#one").metadata().item_id == 1; $("#one").metadata().item_label == "Label"
|
47
|
+
* @desc Reads metadata from a nested script element
|
48
|
+
*
|
49
|
+
* @param String type The encoding type
|
50
|
+
* @param String name The name of the attribute to be used to get metadata (optional)
|
51
|
+
* @cat Plugins/Metadata
|
52
|
+
* @descr Sets the type of encoding to be used when loading metadata for the first time
|
53
|
+
* @type undefined
|
54
|
+
* @see metadata()
|
55
|
+
*/
|
56
|
+
|
57
|
+
(function($) {
|
58
|
+
|
59
|
+
$.extend({
|
60
|
+
metadata : {
|
61
|
+
defaults : {
|
62
|
+
type: 'class',
|
63
|
+
name: 'metadata',
|
64
|
+
cre: /({.*})/,
|
65
|
+
single: 'metadata'
|
66
|
+
},
|
67
|
+
setType: function( type, name ){
|
68
|
+
this.defaults.type = type;
|
69
|
+
this.defaults.name = name;
|
70
|
+
},
|
71
|
+
get: function( elem, opts ){
|
72
|
+
var settings = $.extend({},this.defaults,opts);
|
73
|
+
// check for empty string in single property
|
74
|
+
if ( !settings.single.length ) settings.single = 'metadata';
|
75
|
+
|
76
|
+
var data = $.data(elem, settings.single);
|
77
|
+
// returned cached data if it already exists
|
78
|
+
if ( data ) return data;
|
79
|
+
|
80
|
+
data = "{}";
|
81
|
+
|
82
|
+
if ( settings.type == "class" ) {
|
83
|
+
var m = settings.cre.exec( elem.className );
|
84
|
+
if ( m )
|
85
|
+
data = m[1];
|
86
|
+
} else if ( settings.type == "elem" ) {
|
87
|
+
if( !elem.getElementsByTagName )
|
88
|
+
return undefined;
|
89
|
+
var e = elem.getElementsByTagName(settings.name);
|
90
|
+
if ( e.length )
|
91
|
+
data = $.trim(e[0].innerHTML);
|
92
|
+
} else if ( elem.getAttribute != undefined ) {
|
93
|
+
var attr = elem.getAttribute( settings.name );
|
94
|
+
if ( attr )
|
95
|
+
data = attr;
|
96
|
+
}
|
97
|
+
|
98
|
+
if ( data.indexOf( '{' ) <0 )
|
99
|
+
data = "{" + data + "}";
|
100
|
+
|
101
|
+
data = eval("(" + data + ")");
|
102
|
+
|
103
|
+
$.data( elem, settings.single, data );
|
104
|
+
return data;
|
105
|
+
}
|
106
|
+
}
|
107
|
+
});
|
108
|
+
|
109
|
+
/**
|
110
|
+
* Returns the metadata object for the first member of the jQuery object.
|
111
|
+
*
|
112
|
+
* @name metadata
|
113
|
+
* @descr Returns element's metadata object
|
114
|
+
* @param Object opts An object contianing settings to override the defaults
|
115
|
+
* @type jQuery
|
116
|
+
* @cat Plugins/Metadata
|
117
|
+
*/
|
118
|
+
$.fn.metadata = function( opts ){
|
119
|
+
return $.metadata.get( this[0], opts );
|
120
|
+
};
|
121
|
+
|
122
|
+
})(jQuery);
|
@@ -0,0 +1,153 @@
|
|
1
|
+
/** Font Family and Sizes */
|
2
|
+
|
3
|
+
#qunit-tests, #qunit-header, #qunit-banner, #qunit-testrunner-toolbar, #qunit-userAgent, #qunit-testresult {
|
4
|
+
font-family: "Helvetica Neue Light", "HelveticaNeue-Light", "Helvetica Neue", Calibri, Helvetica, Arial;
|
5
|
+
}
|
6
|
+
|
7
|
+
#qunit-testrunner-toolbar, #qunit-userAgent, #qunit-testresult, #qunit-tests li { font-size: small; }
|
8
|
+
#qunit-tests { font-size: smaller; }
|
9
|
+
|
10
|
+
|
11
|
+
/** Resets */
|
12
|
+
|
13
|
+
#qunit-tests, #qunit-tests li ol, #qunit-header, #qunit-banner, #qunit-userAgent, #qunit-testresult {
|
14
|
+
margin: 0;
|
15
|
+
padding: 0;
|
16
|
+
}
|
17
|
+
|
18
|
+
|
19
|
+
/** Header */
|
20
|
+
|
21
|
+
#qunit-header {
|
22
|
+
padding: 0.5em 0 0.5em 1em;
|
23
|
+
|
24
|
+
color: #fff;
|
25
|
+
text-shadow: rgba(0, 0, 0, 0.5) 4px 4px 1px;
|
26
|
+
background-color: #0d3349;
|
27
|
+
|
28
|
+
border-radius: 15px 15px 0 0;
|
29
|
+
-moz-border-radius: 15px 15px 0 0;
|
30
|
+
-webkit-border-top-right-radius: 15px;
|
31
|
+
-webkit-border-top-left-radius: 15px;
|
32
|
+
}
|
33
|
+
|
34
|
+
#qunit-header a {
|
35
|
+
text-decoration: none;
|
36
|
+
color: white;
|
37
|
+
}
|
38
|
+
|
39
|
+
#qunit-banner {
|
40
|
+
height: 5px;
|
41
|
+
}
|
42
|
+
|
43
|
+
#qunit-testrunner-toolbar {
|
44
|
+
padding: 0em 0 0.5em 2em;
|
45
|
+
}
|
46
|
+
|
47
|
+
#qunit-userAgent {
|
48
|
+
padding: 0.5em 0 0.5em 2.5em;
|
49
|
+
background-color: #2b81af;
|
50
|
+
color: #fff;
|
51
|
+
text-shadow: rgba(0, 0, 0, 0.5) 2px 2px 1px;
|
52
|
+
}
|
53
|
+
|
54
|
+
|
55
|
+
/** Tests: Pass/Fail */
|
56
|
+
|
57
|
+
#qunit-tests {
|
58
|
+
list-style-position: inside;
|
59
|
+
}
|
60
|
+
|
61
|
+
#qunit-tests li {
|
62
|
+
padding: 0.4em 0.5em 0.4em 2.5em;
|
63
|
+
border-bottom: 1px solid #fff;
|
64
|
+
list-style-position: inside;
|
65
|
+
}
|
66
|
+
|
67
|
+
#qunit-tests li strong {
|
68
|
+
cursor: pointer;
|
69
|
+
}
|
70
|
+
|
71
|
+
#qunit-tests li ol {
|
72
|
+
margin-top: 0.5em;
|
73
|
+
padding: 0.5em;
|
74
|
+
|
75
|
+
background-color: #fff;
|
76
|
+
|
77
|
+
border-radius: 15px;
|
78
|
+
-moz-border-radius: 15px;
|
79
|
+
-webkit-border-radius: 15px;
|
80
|
+
|
81
|
+
box-shadow: inset 0px 2px 13px #999;
|
82
|
+
-moz-box-shadow: inset 0px 2px 13px #999;
|
83
|
+
-webkit-box-shadow: inset 0px 2px 13px #999;
|
84
|
+
}
|
85
|
+
|
86
|
+
#qunit-tests li li {
|
87
|
+
margin: 0.5em;
|
88
|
+
padding: 0.4em 0.5em 0.4em 0.5em;
|
89
|
+
background-color: #fff;
|
90
|
+
border-bottom: none;
|
91
|
+
list-style-position: inside;
|
92
|
+
}
|
93
|
+
|
94
|
+
/*** Passing Styles */
|
95
|
+
|
96
|
+
#qunit-tests li li.pass {
|
97
|
+
color: #5E740B;
|
98
|
+
background-color: #fff;
|
99
|
+
border-left: 26px solid #C6E746;
|
100
|
+
}
|
101
|
+
|
102
|
+
#qunit-tests li.pass { color: #528CE0; background-color: #D2E0E6; }
|
103
|
+
#qunit-tests li.pass span.test-name { color: #366097; }
|
104
|
+
|
105
|
+
#qunit-tests li li.pass span.test-actual,
|
106
|
+
#qunit-tests li li.pass span.test-expected { color: #999999; }
|
107
|
+
|
108
|
+
strong b.pass { color: #5E740B; }
|
109
|
+
|
110
|
+
#qunit-banner.qunit-pass { background-color: #C6E746; }
|
111
|
+
|
112
|
+
/*** Failing Styles */
|
113
|
+
|
114
|
+
#qunit-tests li li.fail {
|
115
|
+
color: #710909;
|
116
|
+
background-color: #fff;
|
117
|
+
border-left: 26px solid #EE5757;
|
118
|
+
}
|
119
|
+
|
120
|
+
#qunit-tests li.fail { color: #000000; background-color: #EE5757; }
|
121
|
+
#qunit-tests li.fail span.test-name,
|
122
|
+
#qunit-tests li.fail span.module-name { color: #000000; }
|
123
|
+
|
124
|
+
#qunit-tests li li.fail span.test-actual { color: #EE5757; }
|
125
|
+
#qunit-tests li li.fail span.test-expected { color: green; }
|
126
|
+
|
127
|
+
strong b.fail { color: #710909; }
|
128
|
+
|
129
|
+
#qunit-banner.qunit-fail,
|
130
|
+
#qunit-testrunner-toolbar { background-color: #EE5757; }
|
131
|
+
|
132
|
+
|
133
|
+
/** Footer */
|
134
|
+
|
135
|
+
#qunit-testresult {
|
136
|
+
padding: 0.5em 0.5em 0.5em 2.5em;
|
137
|
+
|
138
|
+
color: #2b81af;
|
139
|
+
background-color: #D2E0E6;
|
140
|
+
|
141
|
+
border-radius: 0 0 15px 15px;
|
142
|
+
-moz-border-radius: 0 0 15px 15px;
|
143
|
+
-webkit-border-bottom-right-radius: 15px;
|
144
|
+
-webkit-border-bottom-left-radius: 15px;
|
145
|
+
}
|
146
|
+
|
147
|
+
/** Fixture */
|
148
|
+
|
149
|
+
#qunit-fixture {
|
150
|
+
position: absolute;
|
151
|
+
top: -10000px;
|
152
|
+
left: -10000px;
|
153
|
+
}
|