ryxeo-glpi-git / lib / scriptaculous / README @ b67d8923
Historique | Voir | Annoter | Télécharger (1,91 ko)
1 | b67d8923 | Eric Seigne | == script.aculo.us web 2.0 javascript |
---|---|---|---|
2 | |||
3 | The Web is changing. The 30-year-old terminal-like technology it was originally |
||
4 | is gradually giving way to new ways of doing things. The power of AJAX allows |
||
5 | for rich user interaction without the trouble that has bugged traditional |
||
6 | web applications. |
||
7 | |||
8 | Building upon the wonderful Prototype JavaScript library, script.aculo.us |
||
9 | provides you with some great additional ingredients to mix in. |
||
10 | |||
11 | For more information, see http://script.aculo.us/ |
||
12 | |||
13 | == What's new in this release? |
||
14 | |||
15 | See the CHANGELOG file for information on what's new. |
||
16 | |||
17 | == Installation/Usage |
||
18 | |||
19 | script.aculo.us includes the Prototype JavaScript Framework |
||
20 | V1.6.0. You can use later versions, as they become available |
||
21 | (see http://prototypejs.org/). |
||
22 | |||
23 | Put prototype.js, and the six files scriptaculous.js, |
||
24 | builder.js, effects.js, dragdrop.js, controls.js and slider.js |
||
25 | in a directory of your website, e.g. /javascripts. |
||
26 | |||
27 | (The sound.js and unittest.js files are optional) |
||
28 | |||
29 | Now, you can include the scripts by adding the following |
||
30 | tags to the HEAD section of your HTML pages: |
||
31 | |||
32 | <script src="/javascripts/prototype.js" type="text/javascript"></script> |
||
33 | <script src="/javascripts/scriptaculous.js" type="text/javascript"></script> |
||
34 | |||
35 | scriptaculous.js will automatically load the other files of the |
||
36 | script.aculo.us distribution in, provided they are accessible |
||
37 | via the same path. |
||
38 | |||
39 | See http://wiki.script.aculo.us/scriptaculous/show/Usage for detailed |
||
40 | usage instructions. |
||
41 | |||
42 | == The distribution |
||
43 | |||
44 | Besides the script.aculo.us files in src, there's a complete |
||
45 | test tree included which holds functional and unit tests for |
||
46 | script.aculo.us. |
||
47 | |||
48 | If you need examples on how to implement things, the best place to |
||
49 | start is by opening test/run_functional_tests.html or |
||
50 | test/run_unit_tests.html in your browser, and looking at |
||
51 | the sources of the examples provided. |
||
52 | |||
53 | == License |
||
54 | |||
55 | script.aculo.us is licensed under the terms of the MIT License, |
||
56 | see the included MIT-LICENSE file. |