Scriptaculous

script.aculo.us web 2.0 javascript The Web is changing. The 30-year-old terminal-like technology it was originally is gradually giving way to new ways of doing things. The power of AJAX allows for rich user interaction without the trouble that has bugged traditional web applications.

Building upon the wonderful Prototype JavaScript library, script.aculo.us provides you with some great additional ingredients to mix in.

For more information, see script.aculo.us/

What’s new in this release ? See the CHANGELOG file for information on what’s new.

You can follow twitter.com/scriptaculous if you want to be updated as we fix bugs and add new features.

Installation/Usage script.aculo.us includes the Prototype JavaScript Framework V1.6.0. You can use later versions, as they become available (see prototypejs.org/).

Put prototype.js, and the six files scriptaculous.js, builder.js, effects.js, dragdrop.js, controls.js and slider.js in a directory of your website, e.g. /javascripts.

(The sound.js and unittest.js files are optional)

Now, you can include the scripts by adding the following tags to the HEAD section of your HTML pages :

scriptaculous.js will automatically load the other files of the script.aculo.us distribution in, provided they are accessible via the same path.

See wiki.script.aculo.us/scriptaculous/show/Usage for detailed usage instructions.

The distribution Besides the script.aculo.us files in src, there’s a complete test tree included which holds functional and unit tests for script.aculo.us.

If you need examples on how to implement things, the best place to start is by opening test/run_functional_tests.html or test/run_unit_tests.html in your browser, and looking at the sources of the examples provided.

License script.aculo.us is licensed under the terms of the MIT License, see the included MIT-LICENSE file.


article rubrique

dimanche 13 décembre 2009
par Speed O pc

Puzzle Demo

Demos > Puzzle Demo This is an example showing how to implement a simple puzzle game with Sortables. (no move made yet) Source code (function() var p = $(’puzzle’), info = $(’puzzleinfo’), moves = 0 ; Sortable.create(’puzzle’, tag : ’img’, overlap : ’horizontal’, constraint : false, (...)
dimanche 13 décembre 2009
par Speed O pc

EFFECTS

Effects The Visual Effects library (effects.js) includes all you need to add advanced JavaScript animation to your web site or application. All animation is time-based, not frame based. So, if you tell an effect to last exactly one second, it will do so, regardless of the rendering speed of (...)
dimanche 13 décembre 2009
par Speed O pc

demos

Effect.Shrink Click me for a demo ! Reset Effect.Appear Click here for a demo ! Reset This is some test content. This is some test content.
dimanche 13 décembre 2009
par Speed O pc

BEHAVIOURS

The classes below let you add special behaviors to elements in the document DraggableDroppablesSortable
dimanche 13 décembre 2009
par Speed O pc

Draggable

To make an element draggable, create a new instance of class Draggable. For additional built-in functionality, make a Sortable instead. There is also a class named Draggables that exposes functions for observing drag actions. Draggables become much more useful when you use them with (...)

Statistiques

Dernière mise à jour

vendredi 26 février 2010

Publication

163 Articles
4 Albums photo
4 Brèves
47 Sites Web
4 Auteurs

Visites

35 aujourd'hui
36 hier
47616 depuis le début
7 visiteurs actuellement connectés