scripty2 API
Welcome to the scripty2 API Documentation.
This complete rewrite of the venerable script.aculo.us library is a prerelease alpha version and not meant for production use, although it is used in live projects like twistori and freckle and it works great!).
The API is not final and subject to change!
Note for alpha 1: This alpha release concentrates exclusively on the new effects engine.
scripty2 is divided into three parts, core, fx, and ui.
Sections
-
scripty2 core
Core contains various JavaScript and DOM extensions used by scripty2 and scripty2, and developer utility classes.
-
scripty2 fx
The scripty2 effects framework provides for time-based transformations of DOM elements and arbitrary JavaScript objects. This is at the core of scripty2 and presents a refinement of the visual effects framework of script.aculo.us 1.X.
-
scripty2 ui
s2.css: functions for CSS parsing, color normalization and CSS value interpolation.
Getting started
-
scripty2 depends on Prototype 1.6.1_rc3 or later. For your convenience, a development copy and a minified version of Prototype is included in the distribution.
To use scripty2, include these lines in your HTML:
<script src="prototype.js" type="text/javascript"></script> <script src="s2.js" type="text/javascript"></script>
Help & Community
-
Want to discuss? Share feature ideas, problems, suggestions, praise? You're welcome to do so on the scripty2 Google Group.
Found a genuine bug? Please report in detail on our Lighthouse bug tracker..
Interested in development? Check out the scripty2 repository on Github.