- GroupToggler: allows you to toggle the visibility of a group of elements using a commin CSS class
- FormChecker: does what it says on the tin – checks that valid values have been entered in form fields
Check it out!
So I’ve bought a new domain names (extending my power on the web, mwahaha) and am in the process of getting the very latest, cutting edge version of Peformer on performerjs.org. There are still some bugs to figure out, particularly in Internet Exploder, but you can see the range of features Performer offers.
It’s released in a Creative Commons licence meaning basically you can use it for what you want, but don’t say you did it all yourself. You can even adapt, build, tweak and chop/change to your hearts content. But any changes you make must be released under a similar licence to help benefit everyone.
No doubt I’ll be writing more about Performer as I add new features and polish up what’s there, but for now just take a look at how a few standard attributes can turn a boring page into an all-singing, all-dancing Web 2.0 wonderpage!
But that’s not all. Some of the older functions, such as the AJAX loader and tabbing functions, have got a little love as well. They now add extra classes to the elements they affect so you can style them easily. This stuff isn’t documented yet, but in a nutshell:
- When loading some data from a remote page using the Loader function the element which is being updated will have the class ‘loaderloading’ while the loading is happening. Phew, a few too many ‘loader’s there.
- When using the Tabber function to switch the visibility between different elements in a tag group, the link to the selected tab will have an additional class of ‘tabbercurrent’.
- UPDATE: the Toggler function adds the class ‘toggleropen’ when the toggled element is being shown. That means you can easily do ‘open’ and ‘close’ CSS styles.
I’ve got lots more ideas for Performer, but time is short at the moment. However this little library – and the fantastic prototype library it’s built on – continue to make my life better.