Script.aculo.us scripts for Drupal 4.7

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..

AttachmentSize
scriptaculous.tar.gz42.82 KB

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

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.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • You may post PHP code. You should include <?php ?> tags.
  • Web page addresses and e-mail addresses turn into links automatically.

More information about formatting options

CAPTCHA
This question is used to make sure you are a human visitor and to prevent spam submissions.
Image CAPTCHA
Copy the characters (respecting upper/lower case) from the image.
Get Firefox W3C Markup Validation Service W3C CSS Validation Service drupal.org | Community Plumbing Taylor McKnight  -  //gtmcknight Creative Commons License Irish

Syndicate

Syndicate content

Who's online

There are currently 0 users and 3 guests online.

pair Networks