Versions

Protaculous2.fwaction (2013-11-25) (Downloaded 332 times)

Contains:

  • Protaculous 2 (page-action) - v. 1.1

Compatible: Pro 5, Pro 5.5, and Pro 6

Protaculous2.fwaction (2013-01-15) (Downloaded 5 times)

Contains:

  • Protaculous 2 (page-action) - v. 1.0.3

Compatible: Pro 4, Pro 5, Pro 5.5, and Pro 6

Protaculous2.fwaction (2013-01-02) (Downloaded 4 times)

Contains:

  • Protaculous 2 (page-action) - v. 1.0.1

Compatible: Pro 4, Pro 5, and Pro 5.5

Author: Walter Davis

developer template javascript css effects prototype scriptaculous

This is a complete re-write of the Protaculous Action. Unlike the original, it does not bundle the Prototype and Scriptaculous JavaScript libraries within itself, instead it always links to external scripts hosted on the Google CDN (Content Delivery Network). This Action also does not include the Carousel Actions; check out the Carousel 2 Action for those.

Using the CDN makes the internal mechanics of the Action considerably simpler. It also introduces a breaking change: if you need to use these libraries without a local network (say on a CD-ROM, or in a working environment without Internet access) you will not be able to do so with this version of the Action.

New Features:

  • Choose individual Scriptaculous libraries, rather than loading all of them all the time. (Usually, all you need is effects.js.)
  • Custom Scripts: need to add libraries other than Prototype and Scriptaculous? You can add up to 10 additional scripts to the page, as long as there is a public CDN version of them available somewhere. (Basics here, darned near everything here.)
  • jQuery noConflict added automatically: Yes, this means you can link to jQuery at Google or another CDN, and Prototype won’t freak out. No, this still isn’t a good idea in principle, but you can do it anyway if you really want to.
  • External scripts: tidy up your page head by moving your custom observer code into external script files.

Upgrade your page

If you use this Action on the same page as another instance of the Scripty Actions (or the built-in FX Actions) you will get an additional bonus: any reference to prototype.js or scriptaculous.js will be re-written to use the latest version of those libraries. This can solve some subtle issues with IE 9 or later.

6 Comments

Hi Walter,

Slight problem for me with this action is each time I publish/upload the site since having installed Protaculous 2 Action, every page that uses ScriptyFader gets rebuilt and reuploaded even if no work has been done on it. Strangely, all pages that use the ScriptyFader Action do not have Protaculous 2 applied to them.

It's not a mega problem, just not sure if this is what to expect each and every time.

  • Protaculous 2 Action v 1.1
  • ScriptyFader (item-action) - v. 0.6.1
  • ScriptyFader Option (item-action) - v. 0.6.1
  • ScriptyFader Thumbnail (item-action) - v. 0.6.1

Regards, David

Hi Walter, i tried the prodaculous 2 Aktion and it works on my home side to make a flying toolbox … with jquery … but on the other side the normal freeway script to not work … the code i bring in after head

<link rel="stylesheet" href="//code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.css"> <script src="//code.jquery.com/jquery-1.10.2.js"></script> <script src="//code.jquery.com/ui/1.11.4/jquery-ui.js"></script> <style> #draggable { width: 150px; height: 150px; padding: 0.5em; } </style> <script> $(function() { $( "#draggable" ).draggable(); }); </script>

Hi Walter, i tried the prodaculous 2 Aktion and it works on my home side to make a flying toolbox … with jquery … but on the other side the normal freeway script to not work … the code i bring in after head

<link rel="stylesheet" href="//code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.css"> <script src="//code.jquery.com/jquery-1.10.2.js"></script> <script src="//code.jquery.com/ui/1.11.4/jquery-ui.js"></script> <style> #draggable { width: 150px; height: 150px; padding: 0.5em; } </style> <script> $(function() { $( "#draggable" ).draggable(); }); </script>

@peter Can you post a link to a page showing the error?

You also realize you can do draggable in Scriptaculous – that is where the whole idea of dragging things originated…

Hi. I try to use Transition FX freeway pro 7 but it isnot working. What could be happening? Thank you

Sign In or to comment.