old_sql 1.12.0 → 1.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/public/javascripts/old_sql/MochiKit-1.4.2/Changes +362 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/LICENSE.txt +69 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/MANIFEST +179 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/META.json +17 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/Async.html +814 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/Base.html +1703 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/Color.html +755 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/DOM.html +1197 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/DateTime.html +168 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/DragAndDrop.html +187 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/Format.html +300 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/Iter.html +524 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/Logging.html +420 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/LoggingPane.html +142 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/Position.html +38 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/Selector.html +240 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/Signal.html +508 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/Sortable.html +244 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/Style.html +385 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/VersionHistory.html +384 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/Visual.html +1161 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/index.html +447 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/js/toc.js +113 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/Async.rst +767 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/Base.rst +1445 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/Color.rst +651 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/DOM.rst +1143 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/DateTime.rst +145 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/DragAndDrop.rst +197 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/Format.rst +258 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/Iter.rst +454 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/Logging.rst +348 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/LoggingPane.rst +128 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/Position.rst +26 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/Selector.rst +203 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/Signal.rst +498 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/Sortable.rst +186 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/Style.rst +353 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/VersionHistory.rst +362 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/Visual.rst +895 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/index.rst +83 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/ajax_tables/ajax_tables.css +69 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/ajax_tables/ajax_tables.js +401 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/ajax_tables/domains.json +10 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/ajax_tables/domains.xml +40 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/ajax_tables/index.html +96 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/color_wheel/color_wheel.css +4 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/color_wheel/color_wheel.js +95 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/color_wheel/index.html +31 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/dnd_sortable/dnd_sortable.css +23 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/dnd_sortable/dropmarker.png +0 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/dnd_sortable/icon.png +0 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/dnd_sortable/index.html +54 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/dnd_sortable/sortable2_test.html +150 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/dnd_sortable/sortable3_test.html +42 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/dnd_sortable/sortable4_test.html +90 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/dnd_sortable/sortable5_test.html +29 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/dnd_sortable/sortable_test.html +38 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/dnd_sortable/sortable_tree_test.html +189 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/draggable/draggable.css +28 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/draggable/draggable.js +73 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/draggable/index.html +38 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/effects_bigslide.html +36 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/effects_blind.html +65 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/effects_blindslide.html +31 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/effects_combi.css +18 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/effects_fadeappear.html +61 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/effects_grow_shrink.html +38 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/effects_onload.html +67 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/effects_queue.html +67 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/effects_queue_limit.html +30 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/effects_scroll.html +483 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/effects_slide.html +62 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/full.html +71 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/icon.png +0 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/index.html +150 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/interpreter/index.html +88 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/interpreter/interpreter.css +54 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/interpreter/interpreter.js +373 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/key_events/index.html +78 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/key_events/key_events.css +5 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/key_events/key_events.js +85 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/logging_pane/index.html +46 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/logging_pane/logging_pane.css +78 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/logging_pane/logging_pane.js +11 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/mochiregexp/index.html +74 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/mochiregexp/mochiregexp.css +73 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/mochiregexp/mochiregexp.js +125 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/mouse_events/index.html +88 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/mouse_events/mouse_events.css +17 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/mouse_events/mouse_events.js +59 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/rounded_corners/index.html +28 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/rounded_corners/rounded_corners.css +3 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/rounded_corners/rounded_corners.js +19 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/simple_dnd/dnd_boxes.html +45 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/simple_dnd/dnd_full.html +119 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/simple_dnd/dnd_ghost.html +40 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/simple_dnd/dnd_hoverclass.html +43 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/simple_dnd/dnd_scroll.html +91 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/simple_dnd/dnd_snap.html +54 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/simple_dnd/index.html +93 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/simple_dnd/simple_dnd.css +64 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/sortable_tables/index.html +71 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/sortable_tables/sortable_tables.css +66 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/sortable_tables/sortable_tables.js +203 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/lib/SyntaxHighlighter/SyntaxHighlighter.css +177 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/lib/SyntaxHighlighter/Tests.html +339 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/lib/SyntaxHighlighter/shBrushCSharp.js +30 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/lib/SyntaxHighlighter/shBrushDelphi.js +31 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/lib/SyntaxHighlighter/shBrushJScript.js +22 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/lib/SyntaxHighlighter/shBrushPhp.js +23 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/lib/SyntaxHighlighter/shBrushPython.js +71 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/lib/SyntaxHighlighter/shBrushSql.js +40 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/lib/SyntaxHighlighter/shBrushVb.js +29 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/lib/SyntaxHighlighter/shBrushXml.js +61 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/lib/SyntaxHighlighter/shCore.js +622 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/view-source.css +1 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/view-source.html +19 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/view-source.js +70 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/include/_img/bg_docheader.gif +0 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/include/_img/g_bullet.gif +0 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/include/_img/g_logo_doc.gif +0 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/include/css/documentation.css +130 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/include/css/general.css +48 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Async.js +682 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Base.js +1489 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Color.js +863 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/DOM.js +1256 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/DateTime.js +222 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/DragAndDrop.js +793 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Format.js +304 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Iter.js +844 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Logging.js +315 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/LoggingPane.js +353 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/MochiKit.js +188 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/MockDOM.js +115 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Position.js +236 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Selector.js +415 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Signal.js +897 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Sortable.js +589 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Style.js +594 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Test.js +162 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Visual.js +2026 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/__package__.js +18 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/packed/MochiKit/MochiKit.js +7829 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/packed/MochiKit/__package__.js +6 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/packed/MochiKit/customize.html +251 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/FakeJSAN.js +40 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/SimpleTest/SimpleTest.js +381 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/SimpleTest/TestRunner.js +159 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/SimpleTest/test.css +28 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/cli.js +6 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/index.html +25 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/standalone.js +16 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_Base.js +577 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_Color.js +137 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_DateTime.js +52 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_DragAndDrop.js +30 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_Format.js +89 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_Iter.js +186 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_Logging.js +88 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-Async.html +408 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-Async.json +1 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-Base.html +34 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-Color.html +84 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-DOM-Safari.html +48 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-DOM.html +363 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-DateTime.html +39 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-DragAndDrop.html +54 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-Format.html +39 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-Iter.html +38 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-JSAN.html +32 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-Logging.html +40 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-MochiKit.html +18 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-Selector.html +295 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-Signal.html +43 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-Style.html +223 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-Visual.html +197 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_Signal.js +481 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/COPYING +28 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/PlotKit/Base.js +406 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/PlotKit/Canvas.js +683 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/PlotKit/EasyPlot.js +161 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/PlotKit/Layout.js +756 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/PlotKit/PlotKit.js +151 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/PlotKit/PlotKit_Packed.js +2177 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/PlotKit/SVG.js +705 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/PlotKit/SweetCanvas.js +348 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/PlotKit/SweetSVG.js +247 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/PlotKit/dummy.svg +9 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/PlotKit/excanvas.js +723 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/README +1 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/MochiKitAdditions.html +2 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/MochiKitAdditions.txt +2 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.Base.html +302 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.Base.txt +139 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.Canvas.html +172 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.Canvas.txt +81 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.EasyPlot.html +155 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.EasyPlot.txt +50 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.Layout.html +428 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.Layout.txt +330 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.QuickStart.html +368 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.QuickStart.txt +256 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.Renderer.html +436 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.Renderer.txt +299 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.SVG.html +159 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.SVG.txt +64 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.SweetCanvas.html +131 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.SweetCanvas.txt +34 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.SweetSVG.html +131 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.SweetSVG.txt +34 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.html +334 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.txt +151 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/SVGCanvasCompat.html +304 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/SVGCanvasCompat.txt +144 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/barsample.png +0 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/black.png +0 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/blue.png +0 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/cyan.png +0 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/doc.css +62 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/generate.py +37 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/green.png +0 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/orange.png +0 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/piesample.png +0 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/purple.png +0 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/red.png +0 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/scripts/custom_rhino.jar +0 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/scripts/pack.py +58 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/axis.html +31 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/basic.html +25 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/basic.js +143 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/debug.html +56 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/demo-svg.html +58 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/demo-svg.js +133 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/demo.html +57 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/demo.js +136 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/dynamic.html +161 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/img/firefox.png +0 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/img/konqueror.png +0 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/img/mozilla.ico +0 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/img/msie.gif +0 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/img/opera.ico +0 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/img/safari.gif +0 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/labels-img.html +38 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/labels.html +43 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/prototype_compat.html +28 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/quickstart-easy.html +29 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/quickstart-horiz.html +53 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/quickstart-neg.html +29 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/quickstart-svg.html +61 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/quickstart.html +57 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/sample.txt +6 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/svg-sweet.html +29 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/svg-sweet.js +141 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/svg.html +26 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/svg.js +147 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/sweet.html +24 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/sweet.js +89 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/tests.css +66 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/testsvg.html +20 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/testsvg.js +31 -0
- metadata +264 -2
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
2
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
3
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
|
4
|
+
<head>
|
|
5
|
+
<title>script.aculo.us Drag and drop functional test file</title>
|
|
6
|
+
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
|
7
|
+
<script type="text/javascript" src="../../lib/MochiKit/MochiKit.js"></script>
|
|
8
|
+
<script type="text/javascript" src="../../lib/MochiKit/Position.js"></script>
|
|
9
|
+
<script type="text/javascript" src="../../lib/MochiKit/Visual.js"></script>
|
|
10
|
+
<script type="text/javascript" src="../../lib/MochiKit/DragAndDrop.js"></script>
|
|
11
|
+
</head>
|
|
12
|
+
<body style="background-color:#eee;">
|
|
13
|
+
<div style="position:relative;margin-left:100px;top:40px;background-color:white;">
|
|
14
|
+
(inside position:relative container)
|
|
15
|
+
<h1>script.aculo.us Drag and drop functional test file</h1>
|
|
16
|
+
|
|
17
|
+
<h2>Draggables/Droppables</h2>
|
|
18
|
+
|
|
19
|
+
<div id="absolute_positioned_element" class="box1" style="width:150px;height:150px;background:#bbf;">
|
|
20
|
+
<b>Ghosting effect</b>
|
|
21
|
+
<input type="text" value="blah"/>
|
|
22
|
+
<div id="hurradiegams">test!</div>
|
|
23
|
+
<br/>
|
|
24
|
+
</div>
|
|
25
|
+
|
|
26
|
+
<a href="#" onclick="alert($('hurradiegams').innerHTML); return false;">alert contents of test div</a>
|
|
27
|
+
|
|
28
|
+
<div id="absolute_positioned_element2" class="box1" style="width:150px;height:150px;background:#bbf;">
|
|
29
|
+
<span id="handle1">Ghost effect</span><br/>
|
|
30
|
+
</div>
|
|
31
|
+
|
|
32
|
+
<script type="text/javascript" language="javascript" charset="utf-8">
|
|
33
|
+
// <![CDATA[
|
|
34
|
+
new MochiKit.DragAndDrop.Draggable('absolute_positioned_element',{ghosting: true});
|
|
35
|
+
new MochiKit.DragAndDrop.Draggable('absolute_positioned_element2',{ghosting: true, revert:true});
|
|
36
|
+
// ]]>
|
|
37
|
+
</script>
|
|
38
|
+
</div>
|
|
39
|
+
</body>
|
|
40
|
+
</html>
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
<html>
|
|
2
|
+
<head>
|
|
3
|
+
<title>script.aculo.us Drag and drop functional test file</title>
|
|
4
|
+
<script type="text/javascript" src="../../lib/MochiKit/MochiKit.js"></script>
|
|
5
|
+
<script type="text/javascript" src="../../lib/MochiKit/Position.js"></script>
|
|
6
|
+
<script type="text/javascript" src="../../lib/MochiKit/Visual.js"></script>
|
|
7
|
+
<script type="text/javascript" src="../../lib/MochiKit/DragAndDrop.js"></script>
|
|
8
|
+
</head>
|
|
9
|
+
<style>
|
|
10
|
+
div.hoverclass123 {
|
|
11
|
+
border:1px solid red;
|
|
12
|
+
}
|
|
13
|
+
</style>
|
|
14
|
+
<body>
|
|
15
|
+
|
|
16
|
+
<h1>script.aculo.us Drag and drop functional test file</h1>
|
|
17
|
+
|
|
18
|
+
<h2>w/o hoverclass</h2>
|
|
19
|
+
|
|
20
|
+
<div id="cart" class="cart" style="text-align:center;height:50px;padding:10px;background-color:#fba">
|
|
21
|
+
### DROP HERE ###
|
|
22
|
+
</div>
|
|
23
|
+
|
|
24
|
+
<script type="text/javascript">new MochiKit.DragAndDrop.Droppable('cart', {ondrop:function(element,dropon){alert('w/o hoverclass, should be \'product_id\':' + encodeURIComponent(element.id) + ', dropon should be \'cart\':' + dropon.id)}})</script>
|
|
25
|
+
|
|
26
|
+
<br/>
|
|
27
|
+
|
|
28
|
+
<img alt="Product2" id="product_id" src="icon.png" /> <-- drag this!
|
|
29
|
+
|
|
30
|
+
<script type="text/javascript">new MochiKit.DragAndDrop.Draggable('product_id', {revert:true})</script>
|
|
31
|
+
|
|
32
|
+
<h2>w/ hoverclass</h2>
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
<div id="carth" class="cart" style="text-align:center;height:50px;padding:10px;background-color:#fba">
|
|
36
|
+
### DROP HERE ###
|
|
37
|
+
</div>
|
|
38
|
+
|
|
39
|
+
<script type="text/javascript">new MochiKit.DragAndDrop.Droppable('carth', {hoverclass:'hoverclass123',ondrop:function(element, dropon, event){alert('w/ hoverclass: should be \'product_id\':' + encodeURIComponent(element.id) + ', dropon should be \'carth\':' + dropon.id)}})</script>
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
</body>
|
|
43
|
+
</html>
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
2
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
3
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
|
4
|
+
<head>
|
|
5
|
+
<title>script.aculo.us Drag and drop functional test file</title>
|
|
6
|
+
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
|
7
|
+
<script type="text/javascript" src="../../lib/MochiKit/MochiKit.js"></script>
|
|
8
|
+
<script type="text/javascript" src="../../lib/MochiKit/Position.js"></script>
|
|
9
|
+
<script type="text/javascript" src="../../lib/MochiKit/Visual.js"></script>
|
|
10
|
+
<script type="text/javascript" src="../../lib/MochiKit/DragAndDrop.js"></script>
|
|
11
|
+
<script type="text/javascript" src="../../lib/MochiKit/Sortable.js"></script>
|
|
12
|
+
<style type="text/css" media="screen">
|
|
13
|
+
#thelist li { background: green; margin:5px; padding: 30px; }
|
|
14
|
+
#thelist2 li { background: #ffb; margin:2px; padding: 2px; }
|
|
15
|
+
</style>
|
|
16
|
+
</head>
|
|
17
|
+
<body>
|
|
18
|
+
<h1>script.aculo.us Drag and drop functional test file</h1>
|
|
19
|
+
|
|
20
|
+
<h2>Draggables/Droppables</h2>
|
|
21
|
+
|
|
22
|
+
<div style="width:400px;height:400px;overflow:scroll;position:relative;" id="scroll-container">
|
|
23
|
+
|
|
24
|
+
<ul id="thelist2" style="padding: 2px; background:red;">
|
|
25
|
+
<li>Relatively here!</li>
|
|
26
|
+
<li><input onclick="this.checked = !this.checked" name="x" id="x" type="checkbox"/>one</li>
|
|
27
|
+
<li>one</li>
|
|
28
|
+
<li>one</li>
|
|
29
|
+
<li>one</li>
|
|
30
|
+
<li>one</li>
|
|
31
|
+
<li>one</li>
|
|
32
|
+
<li>one</li>
|
|
33
|
+
<li>one</li>
|
|
34
|
+
<li>one</li>
|
|
35
|
+
<li>one</li>
|
|
36
|
+
<li>one</li>
|
|
37
|
+
<li>one</li>
|
|
38
|
+
<li>one</li>
|
|
39
|
+
<li>one</li>
|
|
40
|
+
<li>one</li>
|
|
41
|
+
<li>one</li>
|
|
42
|
+
<li>one</li>
|
|
43
|
+
<li>one</li>
|
|
44
|
+
<li>one</li>
|
|
45
|
+
<li>one</li>
|
|
46
|
+
<li>one</li>
|
|
47
|
+
<li>one</li>
|
|
48
|
+
<li>one</li>
|
|
49
|
+
<li>one</li>
|
|
50
|
+
<li>one</li>
|
|
51
|
+
<li>one</li>
|
|
52
|
+
<li>one</li>
|
|
53
|
+
<li>one</li>
|
|
54
|
+
<li>one</li>
|
|
55
|
+
<li>one</li>
|
|
56
|
+
<li>one</li>
|
|
57
|
+
<li>one</li>
|
|
58
|
+
<li>one</li>
|
|
59
|
+
<li>one</li>
|
|
60
|
+
<li>one</li>
|
|
61
|
+
<li>one</li>
|
|
62
|
+
<li>one</li>
|
|
63
|
+
<li>one</li>
|
|
64
|
+
<li>one</li>
|
|
65
|
+
<li>one</li>
|
|
66
|
+
<li>one</li>
|
|
67
|
+
<li>one</li>
|
|
68
|
+
<li>one</li>
|
|
69
|
+
<li>one</li>
|
|
70
|
+
<li>one</li>
|
|
71
|
+
<li>one</li>
|
|
72
|
+
<li>one</li>
|
|
73
|
+
<li>one</li>
|
|
74
|
+
<li>one</li>
|
|
75
|
+
<li>one</li>
|
|
76
|
+
</ul>
|
|
77
|
+
|
|
78
|
+
</div>
|
|
79
|
+
|
|
80
|
+
<pre id="debug"></pre>
|
|
81
|
+
|
|
82
|
+
<script type="text/javascript" language="javascript" charset="utf-8">
|
|
83
|
+
// <![CDATA[
|
|
84
|
+
// Sortable.create('thelist', {overlap: 'horizontal', constraint: false});
|
|
85
|
+
MochiKit.Position.includeScrollOffsets = true;
|
|
86
|
+
MochiKit.Sortable.Sortable.create('thelist2', {scroll: 'scroll-container'});
|
|
87
|
+
|
|
88
|
+
// ]]>
|
|
89
|
+
</script>
|
|
90
|
+
</body>
|
|
91
|
+
</html>
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
2
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
3
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
|
4
|
+
<head>
|
|
5
|
+
<title>script.aculo.us Drag and drop functional test file</title>
|
|
6
|
+
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
|
7
|
+
<script type="text/javascript" src="../../lib/MochiKit/MochiKit.js"></script>
|
|
8
|
+
<script type="text/javascript" src="../../lib/MochiKit/Position.js"></script>
|
|
9
|
+
<script type="text/javascript" src="../../lib/MochiKit/Visual.js"></script>
|
|
10
|
+
<script type="text/javascript" src="../../lib/MochiKit/DragAndDrop.js"></script>
|
|
11
|
+
<style type="text/css" media="screen">
|
|
12
|
+
div.box { background: green; width:100px; height:100px }
|
|
13
|
+
</style>
|
|
14
|
+
</head>
|
|
15
|
+
<body>
|
|
16
|
+
<h1>script.aculo.us Drag and drop functional test file</h1>
|
|
17
|
+
|
|
18
|
+
<h2>Draggables/Droppables</h2>
|
|
19
|
+
|
|
20
|
+
<div id="box-normal" class="box">
|
|
21
|
+
Normal box
|
|
22
|
+
</div>
|
|
23
|
+
|
|
24
|
+
<div id="box-grid-numeric" class="box">
|
|
25
|
+
snap: 25
|
|
26
|
+
</div>
|
|
27
|
+
|
|
28
|
+
<div id="box-grid-array" class="box">
|
|
29
|
+
snap: [5,25]
|
|
30
|
+
</div>
|
|
31
|
+
|
|
32
|
+
<div id="box-grid-procedural" class="box">
|
|
33
|
+
snap: procedural (e.g. constrain to box)
|
|
34
|
+
</div>
|
|
35
|
+
|
|
36
|
+
<script type="text/javascript" language="javascript" charset="utf-8">
|
|
37
|
+
// <![CDATA[
|
|
38
|
+
new MochiKit.DragAndDrop.Draggable('box-normal',{snap:false,revert:true});
|
|
39
|
+
new MochiKit.DragAndDrop.Draggable('box-grid-numeric',{snap:25,revert:true});
|
|
40
|
+
new MochiKit.DragAndDrop.Draggable('box-grid-array',{snap:[5,25],revert:true});
|
|
41
|
+
new MochiKit.DragAndDrop.Draggable('box-grid-procedural',{
|
|
42
|
+
snap: function(x,y) {
|
|
43
|
+
return[
|
|
44
|
+
x<100 ? (x > 0 ? x : 0 ) : 100,
|
|
45
|
+
y<50 ? (y > 0 ? y : 0) : 50];
|
|
46
|
+
},
|
|
47
|
+
revert:true
|
|
48
|
+
});
|
|
49
|
+
// ]]>
|
|
50
|
+
</script>
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
</body>
|
|
54
|
+
</html>
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
|
|
2
|
+
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
|
3
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
|
|
4
|
+
<head>
|
|
5
|
+
<title>Test Drag and drop with MochiKit</title>
|
|
6
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
7
|
+
<link href="simple_dnd.css" rel="stylesheet" type="text/css" />
|
|
8
|
+
<script type="text/javascript" src="../../lib/MochiKit/MochiKit.js"></script>
|
|
9
|
+
<script type="text/javascript" src="../../lib/MochiKit/Position.js"></script>
|
|
10
|
+
<script type="text/javascript" src="../../lib/MochiKit/Visual.js"></script>
|
|
11
|
+
<script type="text/javascript" src="../../lib/MochiKit/DragAndDrop.js"></script>
|
|
12
|
+
</head>
|
|
13
|
+
<body>
|
|
14
|
+
<h3>Drag and Drop examples.</h3>
|
|
15
|
+
<div>
|
|
16
|
+
<div id="drag-1" class="drag">test drag 1</div>
|
|
17
|
+
<div id="drag-2" class="drag">test drag 2 (horizontal)</div>
|
|
18
|
+
<div id="drag-3" class="drag">test drag 3 (vertical)</div>
|
|
19
|
+
<div id="drag-4" class="drag">test drag 4 (selectclass)</div>
|
|
20
|
+
<div id="drag-5" class="drag">test drag 5 (fixed)</div>
|
|
21
|
+
<div id="drag-6" class="drag">test drag 6 (absolute)</div>
|
|
22
|
+
<div id="drag-7" class="drag">test drag 7 (relative)</div>
|
|
23
|
+
<div id="drag-8" class="drag">test drag 8 (handle)</div>
|
|
24
|
+
<div id="handle" class="drag">handle for drag 8</div>
|
|
25
|
+
</div>
|
|
26
|
+
<div id="dropzones">
|
|
27
|
+
<div id="drop-1" class="drop">test drop 1</div>
|
|
28
|
+
<div id="drop-2" class="drop">test drop 2 (hoverclass)</div>
|
|
29
|
+
<div id="drop-3" class="drop">test drop 3 (activeclass)</div>
|
|
30
|
+
<div id="drop-4" class="drop">test drop 4 (hoverFunc)</div>
|
|
31
|
+
<div id="drop-5" class="drop">test drop 5 (activeFunc)</div>
|
|
32
|
+
<div id="drop-6">test drop 6</div>
|
|
33
|
+
<div id="droptext">No select</div>
|
|
34
|
+
</div>
|
|
35
|
+
<script type="text/javascript">
|
|
36
|
+
<!--
|
|
37
|
+
var saveTxt = "";
|
|
38
|
+
onHoverFunc = function (element, onhover) {
|
|
39
|
+
if (onhover) {
|
|
40
|
+
saveTxt = element.childNodes[0].nodeValue;
|
|
41
|
+
element.childNodes[0].nodeValue = "Please drop on me!";
|
|
42
|
+
} else {
|
|
43
|
+
element.childNodes[0].nodeValue = saveTxt;
|
|
44
|
+
}
|
|
45
|
+
};
|
|
46
|
+
onActiveFunc = function (element, dragElt) {
|
|
47
|
+
element.childNodes[0].nodeValue += " and I'm active ! (" + dragElt.id + ")";
|
|
48
|
+
};
|
|
49
|
+
onDesactiveFunc = function (element, dragElt) {
|
|
50
|
+
var ind = element.childNodes[0].nodeValue.lastIndexOf(" and I'm active !");
|
|
51
|
+
element.childNodes[0].nodeValue = element.childNodes[0].nodeValue.slice(0, ind);
|
|
52
|
+
};
|
|
53
|
+
onSelectFunc = function (element) {
|
|
54
|
+
new MochiKit.Visual.Highlight(element);
|
|
55
|
+
};
|
|
56
|
+
onDeselectFunc = function (element) {
|
|
57
|
+
element.childNodes[0].nodeValue += ".";
|
|
58
|
+
};
|
|
59
|
+
ondrop = function (element, dropElt) {
|
|
60
|
+
MochiKit.Visual.pulsate(dropElt);
|
|
61
|
+
MochiKit.DOM.getElement('droptext').childNodes[0].nodeValue = "Selected: " + element.id;
|
|
62
|
+
};
|
|
63
|
+
|
|
64
|
+
new MochiKit.DragAndDrop.Draggable('drag-1', {'revert': true, 'ghosting': true});
|
|
65
|
+
new MochiKit.DragAndDrop.Draggable('drag-2', {'revert': true, 'constraint': 'horizontal'});
|
|
66
|
+
new MochiKit.DragAndDrop.Draggable('drag-3', {'revert': true, 'constraint': 'vertical'});
|
|
67
|
+
new MochiKit.DragAndDrop.Draggable('drag-4', {'revert': true, 'selectclass': 'drag-select'});
|
|
68
|
+
new MochiKit.DragAndDrop.Draggable('drag-5', {'revert': true, 'starteffect': onSelectFunc, 'endeffect': onDeselectFunc});
|
|
69
|
+
new MochiKit.DragAndDrop.Draggable('drag-6', {'revert': true});
|
|
70
|
+
new MochiKit.DragAndDrop.Draggable('drag-7', {'revert': true});
|
|
71
|
+
new MochiKit.DragAndDrop.Draggable('drag-8', {'revert': true, 'handle': 'handle'});
|
|
72
|
+
|
|
73
|
+
new MochiKit.DragAndDrop.Droppable('drop-1', {'ondrop': ondrop});
|
|
74
|
+
new MochiKit.DragAndDrop.Droppable('drop-2', {'ondrop': ondrop, 'hoverclass': 'drop-hover'});
|
|
75
|
+
new MochiKit.DragAndDrop.Droppable('drop-3', {'ondrop': ondrop, 'activeclass': 'drop-active'});
|
|
76
|
+
new MochiKit.DragAndDrop.Droppable('drop-4', {'ondrop': ondrop, 'hoverfunc': onHoverFunc});
|
|
77
|
+
new MochiKit.DragAndDrop.Droppable('drop-5', {'ondrop': ondrop, 'onactive': onActiveFunc, 'ondesactive': onDesactiveFunc});
|
|
78
|
+
new MochiKit.DragAndDrop.Droppable('drop-6', {'ondrop': ondrop, 'transparent': true});
|
|
79
|
+
// -->
|
|
80
|
+
</script>
|
|
81
|
+
<div>
|
|
82
|
+
Links to other samples:
|
|
83
|
+
<ul>
|
|
84
|
+
<li><a href="dnd_boxes.html">Boxes DND</a></li>
|
|
85
|
+
<li><a href="dnd_hoverclass.html">Hoverclass DND</a></li>
|
|
86
|
+
<li><a href="dnd_snap.html">Snap DND</a></li>
|
|
87
|
+
<li><a href="dnd_ghost.html">Ghost DND</a></li>
|
|
88
|
+
<li><a href="dnd_scroll.html">Scroll DND</a></li>
|
|
89
|
+
<li><a href="dnd_full.html">Full DND</a></li>
|
|
90
|
+
</ul>
|
|
91
|
+
</div>
|
|
92
|
+
</body>
|
|
93
|
+
</html>
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
.drag {
|
|
2
|
+
background-color: blue;
|
|
3
|
+
width: 100px;
|
|
4
|
+
padding: 5px;
|
|
5
|
+
margin: 10px;
|
|
6
|
+
border: 1px solid black;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
#dropzones {
|
|
10
|
+
margin-top: 100px;
|
|
11
|
+
display: inline;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.drop {
|
|
15
|
+
background-color: red;
|
|
16
|
+
width: 100px;
|
|
17
|
+
padding: 5px;
|
|
18
|
+
margin: 10px;
|
|
19
|
+
border: 1px solid black;
|
|
20
|
+
display: inline;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.droptrans {
|
|
24
|
+
width: 100px;
|
|
25
|
+
padding: 5px;
|
|
26
|
+
margin: 10px;
|
|
27
|
+
border: 1px solid black;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.drop-hover {
|
|
31
|
+
border: 2px solid green;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.drop-active {
|
|
35
|
+
background-color: #FF79ED;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.drag-select {
|
|
39
|
+
background-color: green;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
#drag-5 {
|
|
43
|
+
position: fixed;
|
|
44
|
+
top: 100px;
|
|
45
|
+
left: 200px;
|
|
46
|
+
}
|
|
47
|
+
#drag-6 {
|
|
48
|
+
position: absolute;
|
|
49
|
+
top: 100px;
|
|
50
|
+
left: 350px;
|
|
51
|
+
}
|
|
52
|
+
#drag-7 {
|
|
53
|
+
position: relative;
|
|
54
|
+
top: -100px;
|
|
55
|
+
left: 500px;
|
|
56
|
+
}
|
|
57
|
+
#drop-6 {
|
|
58
|
+
display: inline;
|
|
59
|
+
}
|
|
60
|
+
#droptext {
|
|
61
|
+
margin-top: 20px;
|
|
62
|
+
border: 1px dashed black;
|
|
63
|
+
padding: 10px;
|
|
64
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<title>Sortable Tables from Scratch with MochiKit</title>
|
|
5
|
+
<link href="sortable_tables.css" rel="stylesheet" type="text/css" />
|
|
6
|
+
<script type="text/javascript" src="../../lib/MochiKit/MochiKit.js"></script>
|
|
7
|
+
<script type="text/javascript" src="sortable_tables.js"></script>
|
|
8
|
+
</head>
|
|
9
|
+
<body>
|
|
10
|
+
<h1>
|
|
11
|
+
Sortable Tables from Scratch with MochiKit
|
|
12
|
+
</h1>
|
|
13
|
+
<p>
|
|
14
|
+
This is an example of how one might do sortable tables in
|
|
15
|
+
an inobtrusive manner. The data is supplied by the server
|
|
16
|
+
and is already in the table.
|
|
17
|
+
</p>
|
|
18
|
+
<p>
|
|
19
|
+
For a detailed description of what happens under the hood,
|
|
20
|
+
check out
|
|
21
|
+
<a href="sortable_tables.js" class="view-source">sortable_tables.js</a>.
|
|
22
|
+
</p>
|
|
23
|
+
<p>
|
|
24
|
+
View Source: [
|
|
25
|
+
<a href="index.html" class="view-source">index.html</a> |
|
|
26
|
+
<a href="sortable_tables.js" class="view-source">sortable_tables.js</a>
|
|
27
|
+
]
|
|
28
|
+
</p>
|
|
29
|
+
<table id="sortable_table" class="datagrid">
|
|
30
|
+
<thead>
|
|
31
|
+
<tr>
|
|
32
|
+
<th mochi:format="str">Domain Name</th>
|
|
33
|
+
<th mochi:format="isodate">Creation Date</th>
|
|
34
|
+
<th mochi:format="isodate">Expiry Date</th>
|
|
35
|
+
<th mochi:format="istr">Organization Name</th>
|
|
36
|
+
</tr>
|
|
37
|
+
</thead>
|
|
38
|
+
<tfoot class="invisible">
|
|
39
|
+
<tr>
|
|
40
|
+
<td colspan="0"></td>
|
|
41
|
+
</tr>
|
|
42
|
+
</tfoot>
|
|
43
|
+
<tbody>
|
|
44
|
+
<tr>
|
|
45
|
+
<td>mochibot.com</td>
|
|
46
|
+
<td>2005-02-10</td>
|
|
47
|
+
<td>2007-02-10</td>
|
|
48
|
+
<td>Jameson Hsu</td>
|
|
49
|
+
</tr>
|
|
50
|
+
<tr>
|
|
51
|
+
<td>pythonmac.org</td>
|
|
52
|
+
<td>2003-09-24</td>
|
|
53
|
+
<td>2006-09-24</td>
|
|
54
|
+
<td>Bob Ippolito</td>
|
|
55
|
+
</tr>
|
|
56
|
+
<tr>
|
|
57
|
+
<td>undefined.org</td>
|
|
58
|
+
<td>2000-01-10</td>
|
|
59
|
+
<td>2006-01-10</td>
|
|
60
|
+
<td>Robert J Ippolito</td>
|
|
61
|
+
</tr>
|
|
62
|
+
<tr>
|
|
63
|
+
<td>python.org</td>
|
|
64
|
+
<td>1995-03-27</td>
|
|
65
|
+
<td>2007-03-28</td>
|
|
66
|
+
<td>Python Software Foundation</td>
|
|
67
|
+
</tr>
|
|
68
|
+
</tbody>
|
|
69
|
+
</table>
|
|
70
|
+
</body>
|
|
71
|
+
</html>
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
h1 {
|
|
2
|
+
font-size: 2em;
|
|
3
|
+
color: #4B4545;
|
|
4
|
+
text-align: center;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
table.datagrid {
|
|
8
|
+
width: 100%;
|
|
9
|
+
border-collapse: collapse;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
table.datagrid thead th {
|
|
13
|
+
text-align: left;
|
|
14
|
+
background-color: #4B4545;
|
|
15
|
+
background-repeat: no-repeat;
|
|
16
|
+
background-position: right center;
|
|
17
|
+
color: white;
|
|
18
|
+
font-weight: bold;
|
|
19
|
+
padding: .3em .7em;
|
|
20
|
+
font-size: .9em;
|
|
21
|
+
padding-right: 5px;
|
|
22
|
+
background-repeat: no-repeat;
|
|
23
|
+
background-position: 95% right;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
table.datagrid thead th a {
|
|
27
|
+
color: white;
|
|
28
|
+
text-decoration: none;
|
|
29
|
+
font-size: 1.0em;
|
|
30
|
+
background-repeat: no-repeat;
|
|
31
|
+
background-position: center right;
|
|
32
|
+
padding-right: 15px;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
table.datagrid thead th.over {
|
|
36
|
+
background-color: #746B6B;
|
|
37
|
+
cursor: pointer;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
table.datagrid tbody th {
|
|
41
|
+
font-weight: bold;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
table.datagrid tbody td, table.datagrid tbody th {
|
|
45
|
+
text-align: left;
|
|
46
|
+
padding: .3em .7em;
|
|
47
|
+
border-bottom: 1px solid #eee;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
table.datagrid tbody tr.alternate td, table.datagrid tbody tr.alternate th {
|
|
51
|
+
background-color: #f1f1f1;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
table.datagrid tfoot td, table.datagrid tfoot th {
|
|
55
|
+
background-color: #FFFEE3;
|
|
56
|
+
color: #4B4545;
|
|
57
|
+
padding: .5em;
|
|
58
|
+
font-weight: bold;
|
|
59
|
+
border-top: 2px solid #4B4545;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
table.datagrid tfoot th { text-align: left; }
|
|
63
|
+
|
|
64
|
+
table.datagrid tfoot td { }
|
|
65
|
+
|
|
66
|
+
.invisible { display: none; }
|