Attached is a scriptaculous module that implements many of the visual effects available on http://script.aculo.us/
Installation
- unpack the contents to your modules directory
- copy the template.php file to your theme directory - please be careful and not replace willy-nilly existing template.php files
- if you want blocks to have special effects, use the block.tpl.php template provided as an example
- if you want nodes to have special effects, use the node.tpl.php template provided as an example
When fully enabled
- a prototype.js framework library is loaded
- the Script.aculo.us scripts are loaded
- if you replace the standard collapsible settings, a different collapse.js file is loaded instead of the standard collapse.js
- a style.css is provided to un-hide collapsed blocks as these are now giverned by the script.aculo.us functions
Just click on some box headings and see what happens..
| Attachment | Size |
|---|---|
| scriptaculous.tar.gz | 42.82 KB |







First Bug - only live for 5 minutes..
For some reason the _init() hook was not working asas planned.
I found a post on drupal.org and replaced the _init() hook with _menu() hook and it seems to work perfectly well.
I will update the tar-ball and re-load.
Paddy.
Post new comment