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.
Files changed (263) hide show
  1. data/public/javascripts/old_sql/MochiKit-1.4.2/Changes +362 -0
  2. data/public/javascripts/old_sql/MochiKit-1.4.2/LICENSE.txt +69 -0
  3. data/public/javascripts/old_sql/MochiKit-1.4.2/MANIFEST +179 -0
  4. data/public/javascripts/old_sql/MochiKit-1.4.2/META.json +17 -0
  5. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/Async.html +814 -0
  6. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/Base.html +1703 -0
  7. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/Color.html +755 -0
  8. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/DOM.html +1197 -0
  9. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/DateTime.html +168 -0
  10. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/DragAndDrop.html +187 -0
  11. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/Format.html +300 -0
  12. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/Iter.html +524 -0
  13. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/Logging.html +420 -0
  14. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/LoggingPane.html +142 -0
  15. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/Position.html +38 -0
  16. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/Selector.html +240 -0
  17. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/Signal.html +508 -0
  18. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/Sortable.html +244 -0
  19. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/Style.html +385 -0
  20. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/VersionHistory.html +384 -0
  21. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/Visual.html +1161 -0
  22. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/index.html +447 -0
  23. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/js/toc.js +113 -0
  24. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/Async.rst +767 -0
  25. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/Base.rst +1445 -0
  26. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/Color.rst +651 -0
  27. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/DOM.rst +1143 -0
  28. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/DateTime.rst +145 -0
  29. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/DragAndDrop.rst +197 -0
  30. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/Format.rst +258 -0
  31. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/Iter.rst +454 -0
  32. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/Logging.rst +348 -0
  33. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/LoggingPane.rst +128 -0
  34. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/Position.rst +26 -0
  35. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/Selector.rst +203 -0
  36. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/Signal.rst +498 -0
  37. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/Sortable.rst +186 -0
  38. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/Style.rst +353 -0
  39. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/VersionHistory.rst +362 -0
  40. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/Visual.rst +895 -0
  41. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/index.rst +83 -0
  42. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/ajax_tables/ajax_tables.css +69 -0
  43. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/ajax_tables/ajax_tables.js +401 -0
  44. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/ajax_tables/domains.json +10 -0
  45. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/ajax_tables/domains.xml +40 -0
  46. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/ajax_tables/index.html +96 -0
  47. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/color_wheel/color_wheel.css +4 -0
  48. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/color_wheel/color_wheel.js +95 -0
  49. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/color_wheel/index.html +31 -0
  50. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/dnd_sortable/dnd_sortable.css +23 -0
  51. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/dnd_sortable/dropmarker.png +0 -0
  52. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/dnd_sortable/icon.png +0 -0
  53. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/dnd_sortable/index.html +54 -0
  54. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/dnd_sortable/sortable2_test.html +150 -0
  55. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/dnd_sortable/sortable3_test.html +42 -0
  56. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/dnd_sortable/sortable4_test.html +90 -0
  57. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/dnd_sortable/sortable5_test.html +29 -0
  58. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/dnd_sortable/sortable_test.html +38 -0
  59. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/dnd_sortable/sortable_tree_test.html +189 -0
  60. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/draggable/draggable.css +28 -0
  61. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/draggable/draggable.js +73 -0
  62. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/draggable/index.html +38 -0
  63. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/effects_bigslide.html +36 -0
  64. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/effects_blind.html +65 -0
  65. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/effects_blindslide.html +31 -0
  66. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/effects_combi.css +18 -0
  67. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/effects_fadeappear.html +61 -0
  68. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/effects_grow_shrink.html +38 -0
  69. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/effects_onload.html +67 -0
  70. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/effects_queue.html +67 -0
  71. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/effects_queue_limit.html +30 -0
  72. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/effects_scroll.html +483 -0
  73. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/effects_slide.html +62 -0
  74. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/full.html +71 -0
  75. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/icon.png +0 -0
  76. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/index.html +150 -0
  77. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/interpreter/index.html +88 -0
  78. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/interpreter/interpreter.css +54 -0
  79. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/interpreter/interpreter.js +373 -0
  80. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/key_events/index.html +78 -0
  81. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/key_events/key_events.css +5 -0
  82. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/key_events/key_events.js +85 -0
  83. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/logging_pane/index.html +46 -0
  84. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/logging_pane/logging_pane.css +78 -0
  85. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/logging_pane/logging_pane.js +11 -0
  86. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/mochiregexp/index.html +74 -0
  87. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/mochiregexp/mochiregexp.css +73 -0
  88. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/mochiregexp/mochiregexp.js +125 -0
  89. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/mouse_events/index.html +88 -0
  90. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/mouse_events/mouse_events.css +17 -0
  91. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/mouse_events/mouse_events.js +59 -0
  92. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/rounded_corners/index.html +28 -0
  93. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/rounded_corners/rounded_corners.css +3 -0
  94. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/rounded_corners/rounded_corners.js +19 -0
  95. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/simple_dnd/dnd_boxes.html +45 -0
  96. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/simple_dnd/dnd_full.html +119 -0
  97. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/simple_dnd/dnd_ghost.html +40 -0
  98. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/simple_dnd/dnd_hoverclass.html +43 -0
  99. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/simple_dnd/dnd_scroll.html +91 -0
  100. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/simple_dnd/dnd_snap.html +54 -0
  101. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/simple_dnd/index.html +93 -0
  102. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/simple_dnd/simple_dnd.css +64 -0
  103. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/sortable_tables/index.html +71 -0
  104. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/sortable_tables/sortable_tables.css +66 -0
  105. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/sortable_tables/sortable_tables.js +203 -0
  106. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/lib/SyntaxHighlighter/SyntaxHighlighter.css +177 -0
  107. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/lib/SyntaxHighlighter/Tests.html +339 -0
  108. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/lib/SyntaxHighlighter/shBrushCSharp.js +30 -0
  109. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/lib/SyntaxHighlighter/shBrushDelphi.js +31 -0
  110. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/lib/SyntaxHighlighter/shBrushJScript.js +22 -0
  111. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/lib/SyntaxHighlighter/shBrushPhp.js +23 -0
  112. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/lib/SyntaxHighlighter/shBrushPython.js +71 -0
  113. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/lib/SyntaxHighlighter/shBrushSql.js +40 -0
  114. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/lib/SyntaxHighlighter/shBrushVb.js +29 -0
  115. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/lib/SyntaxHighlighter/shBrushXml.js +61 -0
  116. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/lib/SyntaxHighlighter/shCore.js +622 -0
  117. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/view-source.css +1 -0
  118. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/view-source.html +19 -0
  119. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/view-source.js +70 -0
  120. data/public/javascripts/old_sql/MochiKit-1.4.2/include/_img/bg_docheader.gif +0 -0
  121. data/public/javascripts/old_sql/MochiKit-1.4.2/include/_img/g_bullet.gif +0 -0
  122. data/public/javascripts/old_sql/MochiKit-1.4.2/include/_img/g_logo_doc.gif +0 -0
  123. data/public/javascripts/old_sql/MochiKit-1.4.2/include/css/documentation.css +130 -0
  124. data/public/javascripts/old_sql/MochiKit-1.4.2/include/css/general.css +48 -0
  125. data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Async.js +682 -0
  126. data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Base.js +1489 -0
  127. data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Color.js +863 -0
  128. data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/DOM.js +1256 -0
  129. data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/DateTime.js +222 -0
  130. data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/DragAndDrop.js +793 -0
  131. data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Format.js +304 -0
  132. data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Iter.js +844 -0
  133. data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Logging.js +315 -0
  134. data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/LoggingPane.js +353 -0
  135. data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/MochiKit.js +188 -0
  136. data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/MockDOM.js +115 -0
  137. data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Position.js +236 -0
  138. data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Selector.js +415 -0
  139. data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Signal.js +897 -0
  140. data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Sortable.js +589 -0
  141. data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Style.js +594 -0
  142. data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Test.js +162 -0
  143. data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Visual.js +2026 -0
  144. data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/__package__.js +18 -0
  145. data/public/javascripts/old_sql/MochiKit-1.4.2/packed/MochiKit/MochiKit.js +7829 -0
  146. data/public/javascripts/old_sql/MochiKit-1.4.2/packed/MochiKit/__package__.js +6 -0
  147. data/public/javascripts/old_sql/MochiKit-1.4.2/packed/MochiKit/customize.html +251 -0
  148. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/FakeJSAN.js +40 -0
  149. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/SimpleTest/SimpleTest.js +381 -0
  150. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/SimpleTest/TestRunner.js +159 -0
  151. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/SimpleTest/test.css +28 -0
  152. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/cli.js +6 -0
  153. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/index.html +25 -0
  154. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/standalone.js +16 -0
  155. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_Base.js +577 -0
  156. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_Color.js +137 -0
  157. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_DateTime.js +52 -0
  158. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_DragAndDrop.js +30 -0
  159. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_Format.js +89 -0
  160. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_Iter.js +186 -0
  161. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_Logging.js +88 -0
  162. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-Async.html +408 -0
  163. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-Async.json +1 -0
  164. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-Base.html +34 -0
  165. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-Color.html +84 -0
  166. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-DOM-Safari.html +48 -0
  167. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-DOM.html +363 -0
  168. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-DateTime.html +39 -0
  169. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-DragAndDrop.html +54 -0
  170. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-Format.html +39 -0
  171. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-Iter.html +38 -0
  172. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-JSAN.html +32 -0
  173. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-Logging.html +40 -0
  174. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-MochiKit.html +18 -0
  175. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-Selector.html +295 -0
  176. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-Signal.html +43 -0
  177. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-Style.html +223 -0
  178. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-Visual.html +197 -0
  179. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_Signal.js +481 -0
  180. data/public/javascripts/old_sql/plotkit-0.9.1/COPYING +28 -0
  181. data/public/javascripts/old_sql/plotkit-0.9.1/PlotKit/Base.js +406 -0
  182. data/public/javascripts/old_sql/plotkit-0.9.1/PlotKit/Canvas.js +683 -0
  183. data/public/javascripts/old_sql/plotkit-0.9.1/PlotKit/EasyPlot.js +161 -0
  184. data/public/javascripts/old_sql/plotkit-0.9.1/PlotKit/Layout.js +756 -0
  185. data/public/javascripts/old_sql/plotkit-0.9.1/PlotKit/PlotKit.js +151 -0
  186. data/public/javascripts/old_sql/plotkit-0.9.1/PlotKit/PlotKit_Packed.js +2177 -0
  187. data/public/javascripts/old_sql/plotkit-0.9.1/PlotKit/SVG.js +705 -0
  188. data/public/javascripts/old_sql/plotkit-0.9.1/PlotKit/SweetCanvas.js +348 -0
  189. data/public/javascripts/old_sql/plotkit-0.9.1/PlotKit/SweetSVG.js +247 -0
  190. data/public/javascripts/old_sql/plotkit-0.9.1/PlotKit/dummy.svg +9 -0
  191. data/public/javascripts/old_sql/plotkit-0.9.1/PlotKit/excanvas.js +723 -0
  192. data/public/javascripts/old_sql/plotkit-0.9.1/README +1 -0
  193. data/public/javascripts/old_sql/plotkit-0.9.1/doc/MochiKitAdditions.html +2 -0
  194. data/public/javascripts/old_sql/plotkit-0.9.1/doc/MochiKitAdditions.txt +2 -0
  195. data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.Base.html +302 -0
  196. data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.Base.txt +139 -0
  197. data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.Canvas.html +172 -0
  198. data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.Canvas.txt +81 -0
  199. data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.EasyPlot.html +155 -0
  200. data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.EasyPlot.txt +50 -0
  201. data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.Layout.html +428 -0
  202. data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.Layout.txt +330 -0
  203. data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.QuickStart.html +368 -0
  204. data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.QuickStart.txt +256 -0
  205. data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.Renderer.html +436 -0
  206. data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.Renderer.txt +299 -0
  207. data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.SVG.html +159 -0
  208. data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.SVG.txt +64 -0
  209. data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.SweetCanvas.html +131 -0
  210. data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.SweetCanvas.txt +34 -0
  211. data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.SweetSVG.html +131 -0
  212. data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.SweetSVG.txt +34 -0
  213. data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.html +334 -0
  214. data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.txt +151 -0
  215. data/public/javascripts/old_sql/plotkit-0.9.1/doc/SVGCanvasCompat.html +304 -0
  216. data/public/javascripts/old_sql/plotkit-0.9.1/doc/SVGCanvasCompat.txt +144 -0
  217. data/public/javascripts/old_sql/plotkit-0.9.1/doc/barsample.png +0 -0
  218. data/public/javascripts/old_sql/plotkit-0.9.1/doc/black.png +0 -0
  219. data/public/javascripts/old_sql/plotkit-0.9.1/doc/blue.png +0 -0
  220. data/public/javascripts/old_sql/plotkit-0.9.1/doc/cyan.png +0 -0
  221. data/public/javascripts/old_sql/plotkit-0.9.1/doc/doc.css +62 -0
  222. data/public/javascripts/old_sql/plotkit-0.9.1/doc/generate.py +37 -0
  223. data/public/javascripts/old_sql/plotkit-0.9.1/doc/green.png +0 -0
  224. data/public/javascripts/old_sql/plotkit-0.9.1/doc/orange.png +0 -0
  225. data/public/javascripts/old_sql/plotkit-0.9.1/doc/piesample.png +0 -0
  226. data/public/javascripts/old_sql/plotkit-0.9.1/doc/purple.png +0 -0
  227. data/public/javascripts/old_sql/plotkit-0.9.1/doc/red.png +0 -0
  228. data/public/javascripts/old_sql/plotkit-0.9.1/scripts/custom_rhino.jar +0 -0
  229. data/public/javascripts/old_sql/plotkit-0.9.1/scripts/pack.py +58 -0
  230. data/public/javascripts/old_sql/plotkit-0.9.1/tests/axis.html +31 -0
  231. data/public/javascripts/old_sql/plotkit-0.9.1/tests/basic.html +25 -0
  232. data/public/javascripts/old_sql/plotkit-0.9.1/tests/basic.js +143 -0
  233. data/public/javascripts/old_sql/plotkit-0.9.1/tests/debug.html +56 -0
  234. data/public/javascripts/old_sql/plotkit-0.9.1/tests/demo-svg.html +58 -0
  235. data/public/javascripts/old_sql/plotkit-0.9.1/tests/demo-svg.js +133 -0
  236. data/public/javascripts/old_sql/plotkit-0.9.1/tests/demo.html +57 -0
  237. data/public/javascripts/old_sql/plotkit-0.9.1/tests/demo.js +136 -0
  238. data/public/javascripts/old_sql/plotkit-0.9.1/tests/dynamic.html +161 -0
  239. data/public/javascripts/old_sql/plotkit-0.9.1/tests/img/firefox.png +0 -0
  240. data/public/javascripts/old_sql/plotkit-0.9.1/tests/img/konqueror.png +0 -0
  241. data/public/javascripts/old_sql/plotkit-0.9.1/tests/img/mozilla.ico +0 -0
  242. data/public/javascripts/old_sql/plotkit-0.9.1/tests/img/msie.gif +0 -0
  243. data/public/javascripts/old_sql/plotkit-0.9.1/tests/img/opera.ico +0 -0
  244. data/public/javascripts/old_sql/plotkit-0.9.1/tests/img/safari.gif +0 -0
  245. data/public/javascripts/old_sql/plotkit-0.9.1/tests/labels-img.html +38 -0
  246. data/public/javascripts/old_sql/plotkit-0.9.1/tests/labels.html +43 -0
  247. data/public/javascripts/old_sql/plotkit-0.9.1/tests/prototype_compat.html +28 -0
  248. data/public/javascripts/old_sql/plotkit-0.9.1/tests/quickstart-easy.html +29 -0
  249. data/public/javascripts/old_sql/plotkit-0.9.1/tests/quickstart-horiz.html +53 -0
  250. data/public/javascripts/old_sql/plotkit-0.9.1/tests/quickstart-neg.html +29 -0
  251. data/public/javascripts/old_sql/plotkit-0.9.1/tests/quickstart-svg.html +61 -0
  252. data/public/javascripts/old_sql/plotkit-0.9.1/tests/quickstart.html +57 -0
  253. data/public/javascripts/old_sql/plotkit-0.9.1/tests/sample.txt +6 -0
  254. data/public/javascripts/old_sql/plotkit-0.9.1/tests/svg-sweet.html +29 -0
  255. data/public/javascripts/old_sql/plotkit-0.9.1/tests/svg-sweet.js +141 -0
  256. data/public/javascripts/old_sql/plotkit-0.9.1/tests/svg.html +26 -0
  257. data/public/javascripts/old_sql/plotkit-0.9.1/tests/svg.js +147 -0
  258. data/public/javascripts/old_sql/plotkit-0.9.1/tests/sweet.html +24 -0
  259. data/public/javascripts/old_sql/plotkit-0.9.1/tests/sweet.js +89 -0
  260. data/public/javascripts/old_sql/plotkit-0.9.1/tests/tests.css +66 -0
  261. data/public/javascripts/old_sql/plotkit-0.9.1/tests/testsvg.html +20 -0
  262. data/public/javascripts/old_sql/plotkit-0.9.1/tests/testsvg.js +31 -0
  263. metadata +264 -2
@@ -0,0 +1,895 @@
1
+ .. title:: MochiKit.Visual - visual effects
2
+
3
+ Name
4
+ ====
5
+
6
+ MochiKit.Visual - visual effects
7
+
8
+
9
+ Synopsis
10
+ ========
11
+
12
+ ::
13
+
14
+ // round the corners of all h1 elements
15
+ roundClass("h1", null);
16
+
17
+ // round the top left corner of the element with the id "title"
18
+ roundElement("title", {corners: "tl"});
19
+
20
+ // Add an fade effect to an element
21
+ fade('myelement');
22
+
23
+
24
+ Description
25
+ ===========
26
+
27
+ MochiKit.Visual provides visual effects and animations for HTML elements.
28
+
29
+
30
+ Dependencies
31
+ ============
32
+
33
+ - :mochiref:`MochiKit.Base`
34
+ - :mochiref:`MochiKit.Iter`
35
+ - :mochiref:`MochiKit.DOM`
36
+ - :mochiref:`MochiKit.Color`
37
+ - :mochiref:`MochiKit.Position`
38
+
39
+
40
+ Overview
41
+ ========
42
+
43
+ MochiKit.Visual provides different visual effects: rounded corners and
44
+ animations for your HTML elements. Rounded corners are created
45
+ completely through CSS manipulations and require no external images or
46
+ style sheets. This implementation was adapted from Rico_. Dynamic
47
+ effects are ported from Scriptaculous_.
48
+
49
+ .. _Rico: http://www.openrico.org
50
+
51
+ .. _Scriptaculous: http://script.aculo.us
52
+
53
+
54
+ Animations & Effects
55
+ --------------------
56
+
57
+ Dynamic or animated effects are managed by a basic looping service (see
58
+ :mochiref:`Base`). The effect looping is controlled by timers that are invoked
59
+ at regular and short intervals while the effect is executing. The base looping
60
+ service takes the current system time into consideration, automatically
61
+ skipping effect steps on execution delays.
62
+
63
+ The effect classes need only handle dynamic updates based on a floating-point
64
+ number between ``0.0`` and ``1.0`` (the effect position). This effect position
65
+ may also be manipulated by :mochiref:`Transitions` to provide non-linear
66
+ updates, which may further enhance the visual effect.
67
+
68
+ The effect timer and transitions can be controlled through a set of
69
+ :mochiref:`DefaultOptions` that are available for all effect classes.
70
+
71
+
72
+ The Effects Queue
73
+ -----------------
74
+
75
+ When you create effects based on user input (mouse clicks for example), it can
76
+ create conflicts between the effects if multiple effects are running at the
77
+ same time. To manage this problem, the Queue mechanism has been introduced:
78
+ it's responsible for running the effects as you desired.
79
+
80
+ By default, you have one Queue called ``'global'``, and the effects run in
81
+ ``'parallel'`` (see :mochiref:`DefaultOptions`). Every effect has a ``queue``
82
+ option to customize this. Its value can be a string, thereby using the
83
+ ``global`` scope:
84
+
85
+ - `front`: the effect will be run before any other non-started effect;
86
+ - `end`: the effect will be run when all other effects have finished;
87
+ - `break`: every other effect is immediately finalized when the the effect start;
88
+ - `parallel`: the effect runs in parallel with other effects.
89
+
90
+ But you have even more control if you use an object with the following
91
+ property keys:
92
+
93
+ - `position` takes one of the values listed above;
94
+ - `scope` contains the queue name. If it's ``"global"`` the effect will use the
95
+ default queue, otherwise you can define your own queue name. For example, if
96
+ you add an effect on a specified element, you may use the element id as scope;
97
+ - `limit` defines how many effects can be stored in the queue at a single time.
98
+ If an effect is added when the limit has been reached, it will never be run
99
+ (it's lost).
100
+
101
+
102
+ API Reference
103
+ =============
104
+
105
+ Functions
106
+ ---------
107
+
108
+ :mochidef:`roundClass(tagName[, className[, options]])`:
109
+
110
+ Rounds all of the elements that match the ``tagName`` and
111
+ ``className`` specifiers, using the options provided. ``tagName``
112
+ or ``className`` can be ``null`` to match all tags or classes.
113
+ Regarding the ``options``, see the :mochiref:`roundElement` function.
114
+
115
+ *Availability*:
116
+ Available in MochiKit 1.3.1+
117
+
118
+
119
+ :mochidef:`roundElement(element[, options])`:
120
+
121
+ Immediately round the corners of the specified ``element``.
122
+
123
+ element:
124
+ An element ID string or a DOM node (see
125
+ :mochiref:`MochiKit.DOM.getElement`).
126
+
127
+ options:
128
+ The ``options`` mapping has the following defaults:
129
+
130
+ ========= =================
131
+ corners ``"all"``
132
+ color ``"fromElement"``
133
+ bgColor ``"fromParent"``
134
+ blend ``true``
135
+ border ``false``
136
+ compact ``false``
137
+ ========= =================
138
+
139
+ The ``options`` parameters can have following values:
140
+
141
+ corners:
142
+ Specifies which corners of the element should be rounded.
143
+ Choices are:
144
+
145
+ - all
146
+ - top
147
+ - bottom
148
+ - tl (top left)
149
+ - bl (bottom left)
150
+ - tr (top right)
151
+ - br (bottom right)
152
+
153
+ Example:
154
+ ``"tl br"``: top-left and bottom-right corners are rounded
155
+
156
+ blend:
157
+ Specifies whether the color and background color should be
158
+ blended together to produce the border color.
159
+
160
+ *Availability*:
161
+ Available in MochiKit 1.3.1+
162
+
163
+
164
+ :mochidef:`toggle(element[, effect[, options]])`:
165
+
166
+ Toggle an ``element`` between visible and invisible state using an
167
+ effect.
168
+
169
+ element:
170
+ An element ID string or a DOM node (see
171
+ :mochiref:`MochiKit.DOM.getElement`).
172
+
173
+ effect:
174
+ One of the visual pairs to use:
175
+
176
+ ============ =========================================
177
+ ``"appear"`` :mochiref:`appear` and :mochiref:`fade`
178
+ ``"blind"`` :mochiref:`blindUp` and :mochiref:`blindDown`
179
+ ``"size"`` :mochiref:`grow` and :mochiref:`shrink`
180
+ ``"slide"`` :mochiref:`slideUp` and :mochiref:`slideDown`
181
+ ============ =========================================
182
+
183
+ options:
184
+ The optional effect options (see the respective effect
185
+ functions for details).
186
+
187
+ *Availability*:
188
+ Available in MochiKit 1.4+
189
+
190
+
191
+ :mochidef:`tagifyText(element[, tagifyStyle])`:
192
+
193
+ Transform the node text into ``SPAN`` nodes each containing a single
194
+ letter. Only text nodes that are immediate children will be modified
195
+ by this function.
196
+
197
+ element:
198
+ An element ID string or a DOM node (see
199
+ :mochiref:`MochiKit.DOM.getElement`).
200
+
201
+ tagifyStyle:
202
+ Style to apply to each new ``SPAN`` node, defaults to
203
+ ``'position: relative'``.
204
+
205
+ *Availability*:
206
+ Available in MochiKit 1.4+
207
+
208
+
209
+ :mochidef:`multiple(elements, effect[, options])`:
210
+
211
+ Launch the same effect on a list of ``elements``.
212
+
213
+ elements:
214
+ A list of element ID strings or a DOM nodes (see
215
+ :mochiref:`MochiKit.DOM.getElement`).
216
+
217
+ effect:
218
+ An effect class constructor function.
219
+
220
+ options:
221
+ The effect options (see the respective effect class). A special
222
+ ``speed`` value will be added to the effect ``delay`` for each
223
+ additional element in the list. This cause the effects to not run
224
+ exactly in parallel by default.
225
+
226
+ ========= =================
227
+ speed ``0.1``
228
+ delay ``0.0`` (initial)
229
+ ========= =================
230
+
231
+ *Availability*:
232
+ Available in MochiKit 1.4+
233
+
234
+
235
+ Combination Effects
236
+ -------------------
237
+
238
+ :mochidef:`fade(element[, options])`:
239
+
240
+ Fades an ``element`` using the :mochiref:`Opacity` effect. Once
241
+ the effect has completed, the ``element`` will be hidden with
242
+ :mochiref:`MochiKit.Style.hideElement` and the original element
243
+ opacity will be restored.
244
+
245
+ element:
246
+ An element ID string or a DOM node (see
247
+ :mochiref:`MochiKit.DOM.getElement`).
248
+
249
+ options:
250
+ ====== =============================================
251
+ from ``element.opacity || 1.0``
252
+ to ``0.0``
253
+ ====== =============================================
254
+
255
+ *Availability*:
256
+ Available in MochiKit 1.4+
257
+
258
+
259
+ :mochidef:`appear(element [, options])`:
260
+
261
+ Slowly shows an ``element`` using the :mochiref:`Opacity` effect.
262
+ If the ``element`` has ``"display: none"`` style, it will be changed
263
+ to ``"display: block"`` with :mochiref:`MochiKit.Style.showElement`.
264
+
265
+ element:
266
+ An element ID string or a DOM node (see
267
+ :mochiref:`MochiKit.DOM.getElement`).
268
+
269
+ options:
270
+ ===== =============================================
271
+ from ``element.opacity || 0.0``
272
+ to ``1.0``
273
+ ===== =============================================
274
+
275
+ *Availability*:
276
+ Available in MochiKit 1.4+
277
+
278
+
279
+ :mochidef:`puff(element [, options])`:
280
+
281
+ Make an ``element`` double size while also fading it using the
282
+ :mochiref:`Scale` and :mochiref:`Opacity` effects in parallel.
283
+ Once the effect has completed, the ``element`` will be hidden with
284
+ :mochiref:`MochiKit.Style.hideElement` and the original element
285
+ size, position and opacity will be restored.
286
+
287
+ element:
288
+ An element ID string or a DOM node (see
289
+ :mochiref:`MochiKit.DOM.getElement`).
290
+
291
+ options:
292
+ See :mochiref:`DefaultOptions`.
293
+
294
+ *Availability*:
295
+ Available in MochiKit 1.4+
296
+
297
+
298
+ :mochidef:`blindUp(element [, options])`:
299
+
300
+ Blind an ``element`` up, changing its vertical size to 0 using the
301
+ :mochiref:`Scale` effect. Once the effect has completed, the
302
+ ``element`` will be hidden with
303
+ :mochiref:`MochiKit.Style.hideElement` and the original element
304
+ size will be restored.
305
+
306
+ element:
307
+ An element ID string or a DOM node (see
308
+ :mochiref:`MochiKit.DOM.getElement`).
309
+
310
+ options:
311
+ See :mochiref:`DefaultOptions`.
312
+
313
+ *Availability*:
314
+ Available in MochiKit 1.4+
315
+
316
+
317
+ :mochidef:`blindDown(element [, options])`:
318
+
319
+ Blind an ``element`` down, restoring its vertical size using the
320
+ :mochiref:`Scale` effect. If the ``element`` has ``"display: none"``
321
+ style, it will be changed to ``"display: block"`` with
322
+ :mochiref:`MochiKit.Style.showElement`.
323
+
324
+ element:
325
+ An element ID string or a DOM node (see
326
+ :mochiref:`MochiKit.DOM.getElement`).
327
+
328
+ options:
329
+ See :mochiref:`DefaultOptions`.
330
+
331
+ *Availability*:
332
+ Available in MochiKit 1.4+
333
+
334
+
335
+ :mochidef:`switchOff(element [, options])`:
336
+
337
+ A switch-off like effect, making the ``element`` disappear, using
338
+ the :mochiref:`Opacity` and :mochiref:`Scale` effects in sequence.
339
+ The initial :mochiref:`Opacity` effect uses a flicker (partially
340
+ random) transformation. Once the effect has completed, the
341
+ ``element`` will be hidden with
342
+ :mochiref:`MochiKit.Style.hideElement` and the original element
343
+ opacity, size and position will be restored.
344
+
345
+ element:
346
+ An element ID string or a DOM node (see
347
+ :mochiref:`MochiKit.DOM.getElement`).
348
+
349
+ options:
350
+ See :mochiref:`DefaultOptions`. Note that the options will
351
+ only affect the secondary :mochiref:`Scale` effect.
352
+
353
+ *Availability*:
354
+ Available in MochiKit 1.4+
355
+
356
+
357
+ :mochidef:`dropOut(element [, options])`:
358
+
359
+ Make the element fall and fade using the
360
+ :mochiref:`Move` and :mochiref:`Opacity` effects in parallel.
361
+ Once the effect has completed, the ``element`` will be hidden with
362
+ :mochiref:`MochiKit.Style.hideElement` and the original element
363
+ position and opacity will be restored.
364
+
365
+ element:
366
+ An element ID string or a DOM node (see
367
+ :mochiref:`MochiKit.DOM.getElement`).
368
+
369
+ options:
370
+ The ``distance`` option controls the number of pixels that the
371
+ element will move downwards. See also the
372
+ :mochiref:`DefaultOptions`.
373
+
374
+ ======== =======
375
+ distance ``100``
376
+ ======== =======
377
+
378
+ *Availability*:
379
+ Available in MochiKit 1.4+
380
+
381
+
382
+ :mochidef:`shake(element [, options])`:
383
+
384
+ Shake an element from left to right using a sequence of six
385
+ :mochiref:`Move` effects. Once the effect has completed, the
386
+ original ``element`` position will be restored.
387
+
388
+ element:
389
+ An element ID string or a DOM node (see
390
+ :mochiref:`MochiKit.DOM.getElement`).
391
+
392
+ options:
393
+ See :mochiref:`DefaultOptions`. Note that the options will
394
+ only affect the last :mochiref:`Move` effect.
395
+
396
+ *Availability*:
397
+ Available in MochiKit 1.4+
398
+
399
+
400
+ :mochidef:`slideDown(element [, options])`:
401
+
402
+ Slide an ``element`` down using the :mochiref:`Scale` effect.
403
+ The ``element`` must have a fixed height and contain a single
404
+ child. If the ``element`` has ``"display: none"`` style it
405
+ will be changed to ``"display: block"`` with
406
+ :mochiref:`MochiKit.Style.showElement`.
407
+
408
+ element:
409
+ An element ID string or a DOM node (see
410
+ :mochiref:`MochiKit.DOM.getElement`).
411
+
412
+ options:
413
+ See :mochiref:`DefaultOptions`.
414
+
415
+ *Availability*:
416
+ Available in MochiKit 1.4+
417
+
418
+
419
+ :mochidef:`slideUp(element [, options])`:
420
+
421
+ Slide an ``element`` up using the :mochiref:`Scale` effect.
422
+ The ``element`` must have a fixed height and contain a single
423
+ child. Once the effect has completed, the ``element`` will be
424
+ hidden with :mochiref:`MochiKit.Style.hideElement` and the
425
+ original element size will be restored.
426
+
427
+ element:
428
+ An element ID string or a DOM node (see
429
+ :mochiref:`MochiKit.DOM.getElement`).
430
+
431
+ options:
432
+ See :mochiref:`DefaultOptions`.
433
+
434
+ *Availability*:
435
+ Available in MochiKit 1.4+
436
+
437
+
438
+ :mochidef:`squish(element [, options])`:
439
+
440
+ Reduce the horizontal and vertical sizes at the same time using
441
+ a single :mochiref:`Scale` effect. The result is similar to the
442
+ :mochiref:`shrink` effect with a ``top-left`` value for the
443
+ ``direction`` option. The ``element`` should have fixed width and
444
+ height. Once the effect has completed, the ``element`` will be
445
+ hidden with :mochiref:`MochiKit.Style.hideElement` and the
446
+ original element size will be restored.
447
+
448
+ element:
449
+ An element ID string or a DOM node (see
450
+ :mochiref:`MochiKit.DOM.getElement`).
451
+
452
+ options:
453
+ See :mochiref:`DefaultOptions`.
454
+
455
+ *Availability*:
456
+ Available in MochiKit 1.4+
457
+
458
+
459
+ :mochidef:`grow(element [, options])`:
460
+
461
+ Grows an ``element`` size using :mochiref:`Scale`, :mochiref:`Move`
462
+ and :mochiref:`Opacity` effects in parallel. The ``element`` should
463
+ have fixed width, height and top-left position. Before the effect
464
+ starts, the ``element`` will be shown with
465
+ :mochiref:`MochiKit.Style.showElement` and the size and position
466
+ values will be read.
467
+
468
+ element:
469
+ An element ID string or a DOM node (see
470
+ :mochiref:`MochiKit.DOM.getElement`).
471
+
472
+ options:
473
+ The following options and default values control this
474
+ effect. Note that the :mochiref:`Opacity` effect is turned
475
+ off by default. See also the :mochiref:`DefaultOptions`.
476
+
477
+ ================= ========================================
478
+ direction ``"center"``
479
+ moveTransition ``MochiKit.Visual.Transitions.sinoidal``
480
+ scaleTransition ``MochiKit.Visual.Transitions.sinoidal``
481
+ opacityTransition ``MochiKit.Visual.Transitions.full``
482
+ ================= ========================================
483
+
484
+ The ``direction`` option controls the origin point of the effect.
485
+ The following values are allowed:
486
+
487
+ ===================== ========================================
488
+ ``"center"`` Grows from the center
489
+ ``"top-left"`` Grows from the top left corner
490
+ ``"top-right"`` Grows from the top right corner
491
+ ``"bottom-left"`` Grows from the bottom left corner
492
+ ``"bottom-right"`` Grows from the bottom right corner
493
+ ===================== ========================================
494
+
495
+ *Availability*:
496
+ Available in MochiKit 1.4+
497
+
498
+
499
+ :mochidef:`shrink(element [, options])`:
500
+
501
+ Shrinks an ``element`` using :mochiref:`Scale`, :mochiref:`Move`
502
+ and :mochiref:`Opacity` effects in parallel. The ``element`` should
503
+ have fixed width, height and top-left position. Once the effect has
504
+ completed, the ``element`` will be hidden with
505
+ :mochiref:`MochiKit.Style.hideElement` and the original size and
506
+ position will be restored.
507
+
508
+ element:
509
+ An element ID string or a DOM node (see
510
+ :mochiref:`MochiKit.DOM.getElement`).
511
+
512
+ options:
513
+ The following options and default values control this
514
+ effect. Note that the :mochiref:`Opacity` effect is turned
515
+ off by default. See also the :mochiref:`DefaultOptions`.
516
+
517
+ ================= ========================================
518
+ direction ``"center"``
519
+ moveTransition ``MochiKit.Visual.Transitions.sinoidal``
520
+ scaleTransition ``MochiKit.Visual.Transitions.sinoidal``
521
+ opacityTransition ``MochiKit.Visual.Transitions.full``
522
+ ================= ========================================
523
+
524
+ The ``direction`` option controls the destination point of the
525
+ effect. The following values are allowed:
526
+
527
+ ===================== ========================================
528
+ ``"center"`` Grows from the center
529
+ ``"top-left"`` Grows from the top left corner
530
+ ``"top-right"`` Grows from the top right corner
531
+ ``"bottom-left"`` Grows from the bottom left corner
532
+ ``"bottom-right"`` Grows from the bottom right corner
533
+ ===================== ========================================
534
+
535
+ *Availability*:
536
+ Available in MochiKit 1.4+
537
+
538
+
539
+ :mochidef:`pulsate(element [, options])`:
540
+
541
+ Switches the ``element`` visibility using a pulsating
542
+ :mochiref:`Opacity` effect. The effect both starts and
543
+ ends with a ``0`` opacity value.
544
+
545
+ element:
546
+ An element ID string or a DOM node (see
547
+ :mochiref:`MochiKit.DOM.getElement`).
548
+
549
+ options:
550
+ The ``pulses`` option controls the number of pulses
551
+ made during the effect. See also the
552
+ :mochiref:`DefaultOptions`.
553
+
554
+ ====== ========
555
+ pulses ``5``
556
+ ====== ========
557
+
558
+ *Availability*:
559
+ Available in MochiKit 1.4+
560
+
561
+
562
+ :mochidef:`fold(element [, options])`:
563
+
564
+ Reduce first the ``element`` vertical size, and then the
565
+ horizontal size using two :mochiref:`Scale` effects in sequence.
566
+ The ``element`` should have both fixed width and height. Once
567
+ the effect has completed, the ``element`` will be hidden
568
+ with :mochiref:`MochiKit.Style.hideElement` and the original
569
+ size and position will be restored.
570
+
571
+ element:
572
+ An element ID string or a DOM node (see
573
+ :mochiref:`MochiKit.DOM.getElement`).
574
+
575
+ options:
576
+ See :mochiref:`DefaultOptions`. Note that the options
577
+ will only affect the first :mochiref:`Scale` effect.
578
+
579
+ *Availability*:
580
+ Available in MochiKit 1.4+
581
+
582
+
583
+ Basic Effects Classes & Constants
584
+ ---------------------------------
585
+
586
+ :mochidef:`Transitions`:
587
+
588
+ Default transition functions available for all effects. A transition
589
+ function adjusts the current position value between 0 and 1 in order
590
+ to achieve a non-linear sequence of position values for the effect.
591
+
592
+ =========== ========================================
593
+ linear A straight linear transition.
594
+ sinoidal A smooth sine value transition.
595
+ reverse A reverse linear transition.
596
+ flicker A sine transition with random additions.
597
+ wobble A multi-period sine curve transition with 4.5 wobbles and ending with one (1).
598
+ pulse A multi-period triangle curve transition with 5 pulses (by default) and ending with zero (0).
599
+ parabolic A smooth parabolic transition.
600
+ none A fixed zero (0) value transition.
601
+ full A fixed one (1) value transition.
602
+ =========== ========================================
603
+
604
+ *Availability*:
605
+ Available in MochiKit 1.4+
606
+
607
+
608
+ :mochidef:`DefaultOptions`:
609
+
610
+ Default options for all effects. Note that all effects inherit
611
+ the :mochiref:`Base` class and thereby also support a number of
612
+ events that can be specified as callback functions among the
613
+ effect options.
614
+
615
+ =========== ========================================
616
+ transition ``MochiKit.Visual.Transitions.sinoidal``
617
+ duration ``1.0`` (seconds)
618
+ fps ``25.0``
619
+ sync ``false`` (only set for :mochiref:`Parallel` or :mochiref:`Sequence` effects)
620
+ from ``0.0``
621
+ to ``1.0``
622
+ delay ``0.0``
623
+ queue ``'parallel'``
624
+ =========== ========================================
625
+
626
+ *Availability*:
627
+ Available in MochiKit 1.4+
628
+
629
+
630
+ :mochidef:`Base()`:
631
+
632
+ Base class to all effects. Define a basic looping service, use it
633
+ for creating new effects.
634
+
635
+ You can override the methods ``setup``, ``update`` and ``finish``.
636
+
637
+ The class defines a number of events that will be called during effect
638
+ life. The events are:
639
+
640
+ - beforeStart
641
+ - beforeSetup
642
+ - beforeUpdate
643
+ - afterUpdate
644
+ - beforeFinish
645
+ - afterFinish
646
+
647
+ If you want to define your own callbacks, define it in the options
648
+ parameter of the effect. Example::
649
+
650
+ // I slide it up and then down again
651
+ slideUp('myelement', {afterFinish: function () {
652
+ slideDown('myelement');
653
+ });
654
+
655
+ Specific ``internal`` events are also available: for each one listed above,
656
+ the same exists with an 'Internal' postfix (e.g. 'beforeStartInternal').
657
+ Their purpose is mainly for creating your own effect and keep the user
658
+ access to event callbacks (not overriding the library ones).
659
+
660
+ *Availability*:
661
+ Available in MochiKit 1.4+
662
+
663
+
664
+ :mochidef:`Parallel(effects [, options])`:
665
+
666
+ Launch a list of ``effects`` in parallel.
667
+
668
+ effects:
669
+ An array of instantiated effect objects. Note that they *must*
670
+ all have ``sync`` set to ``true``.
671
+
672
+ options:
673
+ See :mochiref:`DefaultOptions`.
674
+
675
+ *Availability*:
676
+ Available in MochiKit 1.4+
677
+
678
+
679
+ :mochidef:`Sequence(effects [, options])`:
680
+
681
+ Launch a list of ``effects`` in sequence, one after the other.
682
+
683
+ effects:
684
+ An array of instantiated effect objects. Note that they *must*
685
+ all have ``sync`` set to ``true``.
686
+
687
+ options:
688
+ See :mochiref:`DefaultOptions`. Note that the default value
689
+ for some options is different and that some of the transition
690
+ and timing options don't make sense to override.
691
+
692
+ =========== ========================================
693
+ transition ``MochiKit.Visual.Transitions.linear``
694
+ duration Sum of the ``duration`` for all ``effects``.
695
+ from Only ``0.0`` makes sense.
696
+ to Only ``1.0`` makes sense.
697
+ =========== ========================================
698
+
699
+ *Availability*:
700
+ Available in MochiKit 1.4+
701
+
702
+
703
+ :mochidef:`Opacity(element [, options])`:
704
+
705
+ Change the opacity of an ``element`` progressively.
706
+
707
+ element:
708
+ An element ID string or a DOM node (see
709
+ :mochiref:`MochiKit.DOM.getElement`).
710
+
711
+ options:
712
+ The following options and default values control this effect.
713
+ See also the :mochiref:`DefaultOptions`.
714
+
715
+ ====== ========
716
+ from ``0.0``
717
+ to ``1.0``
718
+ ====== ========
719
+
720
+ *Availability*:
721
+ Available in MochiKit 1.4+
722
+
723
+
724
+ :mochidef:`Move(element [, options])`:
725
+
726
+ Changes the (top left) position of an ``element`` in small steps,
727
+ creating a moving effect.
728
+
729
+ element:
730
+ An element ID string or a DOM node (see
731
+ :mochiref:`MochiKit.DOM.getElement`).
732
+
733
+ options:
734
+ The following options and default values control this effect.
735
+ See also the :mochiref:`DefaultOptions`.
736
+
737
+ ========= ================
738
+ x ``0``
739
+ y ``0``
740
+ mode ``'relative'``
741
+ ========= ================
742
+
743
+ The ``mode`` option controls if the specified ``x`` and ``y``
744
+ coordinates are ``relative`` or ``absolute`` with respect to the
745
+ current ``element`` position.
746
+
747
+ *Availability*:
748
+ Available in MochiKit 1.4+
749
+
750
+
751
+ :mochidef:`Scale(element, percent [, options])`:
752
+
753
+ Changes the size of an ``element``.
754
+
755
+ element:
756
+ An element ID string or a DOM node (see
757
+ :mochiref:`MochiKit.DOM.getElement`).
758
+
759
+ percent:
760
+ Final wanted size in percent of current size. The size will be
761
+ reduced if the value is between 0 and 100, and raised if the
762
+ value is above 100.
763
+
764
+ options:
765
+ The following options and default values control this effect.
766
+ See also the :mochiref:`DefaultOptions`.
767
+
768
+ ================ ============
769
+ scaleX ``true``
770
+ scaleY ``true``
771
+ scaleContent ``true``
772
+ scaleFromCenter ``false``
773
+ scaleMode ``"box"``
774
+ scaleFrom ``100.0``
775
+ scaleTo ``percent``
776
+ ================ ============
777
+
778
+ The ``scaleContent`` option controls if the element ``font-size``
779
+ should also be scaled along with the size. The ``scaleFromCenter``
780
+ option allows continual adjustment of the ``element`` top left
781
+ position to keep the element centered during the size change.
782
+ The ``scaleMode`` option is used to determine the original
783
+ ``element`` size. It can have one of the following values:
784
+
785
+ ================ =========================================
786
+ ``"box"`` Uses ``offsetHeight`` and ``offsetWidth``
787
+ ``"contents"`` Uses ``scrollHeight`` and ``scrollWidth``
788
+ {...} Uses ``originalHeight`` and ``originalWidth`` from the specified object
789
+ ================ =========================================
790
+
791
+ *Availability*:
792
+ Available in MochiKit 1.4+
793
+
794
+
795
+ :mochidef:`Highlight(element [, options])`:
796
+
797
+ Highlights an ``element`` by flashing the background color. The
798
+ color is first set to the ``startcolor`` and is then slowly
799
+ morphed into the ``endcolor``, normally the original background
800
+ color of the element.
801
+
802
+ element:
803
+ An element ID string or a DOM node (see
804
+ :mochiref:`MochiKit.DOM.getElement`).
805
+
806
+ options:
807
+ The following options and default values control this effect.
808
+ See also the :mochiref:`DefaultOptions`.
809
+
810
+ =========== ==============
811
+ startcolor ``'#ffff99'``
812
+ endcolor ``element.style.backgroundColor``
813
+ =========== ==============
814
+
815
+ *Availability*:
816
+ Available in MochiKit 1.4+
817
+
818
+
819
+ :mochidef:`ScrollTo(element [, options])`:
820
+
821
+ Scroll the window to the position of the given ``element``. Note
822
+ that this effect only scrolls the top window and not any parent
823
+ elements with scrollbars due to ``"overflow: auto"`` style.
824
+
825
+ element:
826
+ An element ID string or a DOM node (see
827
+ :mochiref:`MochiKit.DOM.getElement`).
828
+
829
+ options:
830
+ See :mochiref:`DefaultOptions`.
831
+
832
+ *Availability*:
833
+ Available in MochiKit 1.4+
834
+
835
+
836
+ :mochidef:`Morph(element [, options])`:
837
+
838
+ Make a transformation to the given ``element``. It's called with the option
839
+ ``style`` with an array holding the styles to change. It works with
840
+ properties for size (``font-size``, ``border-width``, ...) and properties
841
+ for color (``color``, ``background-color``, ...).
842
+
843
+ For size, it's better to have defined the original style. You *must*
844
+ use the same unit in the call to Morph (no translation exists between two
845
+ different units).
846
+
847
+ Parsed length are postfixed with: em, ex, px, in, cm, mm, pt, pc.
848
+
849
+ Example::
850
+
851
+ <div id="foo" style="font-size: 1em">MyDiv</div>
852
+ ...
853
+ Morph("foo", {"style": {"font-size": "2em"}});
854
+
855
+ element:
856
+ An element ID string or a DOM node (see
857
+ :mochiref:`MochiKit.DOM.getElement`).
858
+
859
+ options:
860
+ See :mochiref:`DefaultOptions`.
861
+
862
+ *Availability*:
863
+ Available in MochiKit 1.4+
864
+
865
+
866
+ Authors
867
+ =======
868
+
869
+ - Kevin Dangoor <dangoor@gmail.com>
870
+ - Bob Ippolito <bob@redivi.com>
871
+ - Thomas Herve <therve@gmail.com>
872
+ - Round corners originally adapted from Rico <http://openrico.org/>
873
+ (though little remains)
874
+ - Effects originally adapted from Script.aculo.us
875
+ <http://script.aculo.us/>
876
+
877
+
878
+ Copyright
879
+ =========
880
+
881
+ Copyright 2005 Bob Ippolito <bob@redivi.com>. This program is
882
+ dual-licensed free software; you can redistribute it and/or modify it
883
+ under the terms of the `MIT License`_ or the `Academic Free License
884
+ v2.1`_.
885
+
886
+ .. _`MIT License`: http://www.opensource.org/licenses/mit-license.php
887
+ .. _`Academic Free License v2.1`: http://www.opensource.org/licenses/afl-2.1.php
888
+
889
+ Portions adapted from `Rico`_ are available under the terms of the
890
+ `Apache License, Version 2.0`_.
891
+
892
+ Portions adapted from `Scriptaculous`_ are available under the terms
893
+ of the `MIT License`_.
894
+
895
+ .. _`Apache License, Version 2.0`: http://www.apache.org/licenses/LICENSE-2.0.html