WordPress.org

Plugin Directory

PerformerJS

PerformerJS allows you to add really cool effects and features to your website by doing some simple editing of the HTML code in your pages.

What is Performer?

PerformerJS allows you to add really cool effects and features to your website by doing some simple editing of the HTML code in your pages. It allows you to affect stuff on your page, just like the clever JavaScript guys do, without writing any JavaScript. Yes, even AJAX.

Why did you write this plugin?

I think that Performer has the potential to make life much easier for website developers who want to get the basics done quickly. A lot of those developers use WordPress to create sites, so a simple plugin was a no-brainer.

How does Performer work?

Performer is pretty simple. First it detects if one of the supported JavaScript libraries is present (jQuery, MooTools and Prototype). If so it goes through the page looking for Performer CSS classes (such as 'toggler', 'loader' and 'pager'). Based on other CSS classes - which I call 'CSS-parameters' - Performer sets up simple JavaScript listeners to catch interaction events.

For example, for every 'toggler' link on the page Performer will attach a click listener to the link so then it is clicked the visibility of the target element is toggled. Simples.

There's loads more information in the Documentation.

And the WordPress plugin?

This plugin simply includes the Performer JavaScript file using the 'admin_head' (yes, Performer in the admin area) and 'wp_footer' hooks. However it first checks to see if one of the support JavaScript libraries is present, and if not includes the jQuery library using the Google AJAX API.

Requires: 2.7 or higher
Compatible up to: 3.3.2
Last Updated: 2012-1-21
Downloads: 2,830

Ratings

5 stars
5 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,1,1
100,1,1
0,1,0