May 21st, 2008 Posted by Don Albrecht
I’m a javascript harlot and proud of it. I espouse no allegiance to any particular framework, widget or philosophy and pride myself n my ability to select the best tools for the job based on a project’s unique constraints. I find this puts me in a slightly unique position among developers. I don’t carry the deep and intimate details of the framework in my brain, instead I prefer to maintain a much shallower depth of understanding. I prefer road maps and traffic advisories to in depth aboriginal understanding.
This is why I was affected so severely by what seems to superficially be a minor inconvenience: the Scriptaculous wiki outage. Scriptaculous has already lagged behind prototype in its depth of documentation. This makes sense, after all, much of the heavy lifting and complex API’s are handled by prototype so an extensive documentation isn’t really necessary. For most developers, a few well executed demo implementations of the key features are all we need to get the job done. In fact, well executed demo implementations are especially critical for a framework like scriptaculous where many of the key features require complex implementation and are likely to be only used once or twice per project and not necessarily referenced day in and day out as the project comes together.
Last week, I was tasked to work on just such a feature. We new the type ahead find was straightforward to implement given the Scriptaculous documentation. We also knew that it was fundamentally gravy. Sure, the feature was important to the end product and would mean much of the difference between user frustration and adoption, but It was also significantly less important than some other items like successfully storing to the database, authentication and form processing. In short, we put it off to the end as I’m sure many developers would.
Unfortunately, the documentation was gone when we needed it. The wiki outage had hosed the Scriptaculous hosted media wiki instance and the page we needed was simply missing from the new system. During a several minute minor panic we tried the various internet archives and similar sites in a desperate attempt to find a new solution with negligible success. Eventually we found the documentation we needed.
To Scriptaculous’s credit it was in a surprisingly logical place and well done. Turns out that scriptaculous has wonderful self documentation as part of the functional tests / unit tests suite. These test files provided us with solid demonstrations of features we were looking to use for this project.
There’s no doubt in my mind that a software component’s single biggest asset is its documentation. This is as much a feature as an ultra-fast query selector or smoothly transitioning widget. Scriptaculous provides powerful documentation in a slightly unlikely place but doesn’t provide decent bread crumbs to its existence from the frameworks public site. Given the critical nature of such documentation, It would be nice if it integrated in to the public site or atleast minimally referenced as a resource.
April 6th, 2008 Posted by Don Albrecht
Tab Boxes are one of the most ubiquitous and popular of widgets. They pop up in everything from news sites to accounting software and for good reason. After all, tabs are one of the simplest and most efficient ways to cram more into a given block of screen real-estate than would fit otherwise.

Ajax24’s drop tabs replace the normal tab-box behavior concept with a twist. THese tabs pull blocks of content down from a tab bar to make them available and float them above the background content. (think window blinds or drawers as opposed to tabbed sheets of paper). I have a few reservations about the use of a widget with such slightly unconventional behavior. But all in all, the smooth motions of the widget and it’s novelty surely warrant exploration in more playful interfaces.
You can find the widget at
http://www.flash-free.org/en/2008/04/05/e24tabmenu-–-menu-desplegable-ajax/
November 28th, 2007 Posted by Don Albrecht
Edit in Place rich text areas has been a bit of a holy grail for me lately. Several of my project call for the ability to provide rich text on demand. You can already do this with the YUI rich text editor using some positioning magic. In this Prototype extension, the entire rich text area toggles to replace the inline content.
Rails support is provided out of the box.
Check it out here: http://inplacericheditor.box.re/
Via: Scripteka
November 19th, 2007 Posted by Don Albrecht

David Spurr’s Image Cropper is a powerful and easy to use widget for image cropping.
Some Features:
- Un-obtrusive
- Selection can be moved & resized
- Drag & Drop interface
- Size can be restricted to ratio
- Size can be restricted to minimum dimensions
- Size can be restricted to maximum dimensions
- Dynamic Preview
- All operations bounded by image
Get it here: http://www.defusion.org.uk/code/javascript-image-cropper-ui-using-prototype-scriptaculous/
November 8th, 2007 Posted by Don Albrecht
Prototype 1.6 has landed and is available here Prototype 1.6 final
Scriptaculous 1.8 (based on prototype 1.6) is available here script.aculo.us 1.8 final
Both releases help to dramatically simplify the task of writing AJAX applications.
November 5th, 2007 Posted by Don Albrecht
An effort is underway to merge several well known Prototype based widgets into a single widget library built on top of the prototype / scriptaculous stack. It’s already in a usable form combining the following widgets into a single js file.
- Dock
- Carousel
- Shadow
- Window
You can find it online at http://www.prototype-ui.com/
October 29th, 2007 Posted by Don Albrecht
Scriptaculous 1.8 is in beta and offers several remarkable new features:
- Complete rewrite of Ajax.InPlaceEditor and Ajax.InPlaceCollectionEditor
- Full CSS inheritance in Effect.Morph
- New core effect: Effect.Tween
- Sound: play mp3 files for sound effects; uses native playback on IE and available plugins
We’ll be looking at all of these in more depth soon.
October 22nd, 2007 Posted by Don Albrecht
Here’s a handy take on the lightbox image gallery that preserves the browsers back button.
The Back button closes the gallery.
Get it here:
http://www.cloversigns.co.uk/backbox/backbox.html
Filed under Uncategorized
October 16th, 2007 Posted by Don Albrecht

Here’s a simple and adaptable Notification widget for Prototype / Scripataculous development.
Features:
- Customizable Look & Feel
- Exists independent of Page Layout
- Easy rails integration with helpers.
- Can be used on any event.
- Ruby helper available.
Get it Here:
http://transparent-message.xilinus.com/
Filed under Uncategorized
October 15th, 2007 Posted by Don Albrecht

Here’s an excellent Prototype / Scriptaculous Carousel widget from the maker of yesterdays Prototype Window.
Features:
- scrollTo
- Ajax handler (“before”, “after”)
- Anim handler (“before”, “after”
- Ajax or static content
- Horizontal orientation
- Rails helper
Get it Online Here:
http://prototype-carousel.xilinus.com/
Filed under Uncategorized