Title: PerformerJS
Author: Chris Taylor
Published: <strong>8 Tháng 12, 2009</strong>
Last modified: 20 Tháng 4, 2015

---

Tìm kiếm plugin

Plugin này **chưa được cập nhật với 3 phiên bản mới nhất của WordPress**. Nó có 
thể không được hỗ trợ và bảo trì, và có thể xung đột với các phiên bản WordPress
mới nhất.

![](https://s.w.org/plugins/geopattern-icon/performerjs.svg)

# PerformerJS

 Bởi [Chris Taylor](https://profiles.wordpress.org/mrwiblog/)

[Tải về](https://downloads.wordpress.org/plugin/performerjs.zip)

 * [Chi tiết](https://vi.wordpress.org/plugins/performerjs/#description)
 * [Đánh giá](https://vi.wordpress.org/plugins/performerjs/#reviews)
 *  [Cài đặt](https://vi.wordpress.org/plugins/performerjs/#installation)
 * [Nhà phát triển](https://vi.wordpress.org/plugins/performerjs/#developers)

 [Hỗ trợ](https://wordpress.org/support/plugin/performerjs/)

## Mô tả

For beginners:

Ever wanted to put those really great effects on your website, but didn’t know how
to start? Yeah, so have we. That’s why we wrote [Performer](http://performerjs.org)–
to take away the pain. AJAX, toggling visibility, form and password checking, tabbing,
inline editing and more. We’ve got it all. Check out [all the features here](http://performerjs.org/docs),
or download the PerformerJS plugin to get started.

For intermediate developers:

Performer allows you to easily add JavaScript features – like AJAX stuff – to your
pages using nothing but CSS classes and other standard element attributes, like 
rel and rev. There are [a wide range of features available](http://performerjs.org/docs)
and Performer works with jQuery, MooTools and Prototype.

For advanced developers:

Prototype allows you to easily add JavaScript features to your pages using nothing
but CSS classes and other standard element attributes. Using the power of a JavaScript
library (there’s a list of libraries Performer supports below) means you have to
write less JavaScript code to get things done. But even that isn’t enough. For simple
effects and functions wouldn’t it be great to add the JavaScript functionality as
you build the HTML of a page? See the Getting Started section for some simple examples.

To be clear; Performer works with your JavaScript library to make it easier to add
simple functionality to your page. While it may be possible to write an entire complex
web application interface using Performer, I don’t recommend it. Check out [the Documentation](http://performerjs.org/docs)
for full details on all features Performer supports.

And if you don’t have one of the supported JavaScript libraries already in use on
your site, PerformerJS will automatically include the latest version of [jQuery](http://jquery.com)
from the Google AJAX API site.

## Cài đặt

Put the plugin into your /wp-content/plugins/ folder and activate using the Manage
Plugins screen. The files should be at the following locations:

/wp-content/plugins/performerjs/
 /wp-content/plugins/performerjs/index.php /wp-
content/plugins/performerjs/performer-min.js

## Hỏi đáp

  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](http://performerjs.org/docs).

  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.

## Đánh giá

![](https://secure.gravatar.com/avatar/b6c12c3e10de96dfbc2665e189ab83bed1d0e0e0ca3e51f7e4c834510d24d2a4?
s=60&d=retro&r=g)

### 󠀁[must-have!](https://wordpress.org/support/topic/must-have-274/)󠁿

 [Earnie Rhyker](https://profiles.wordpress.org/rhyker2u/) 11 Tháng 1, 2017

Just found about the existence of this plugin, and wish I had it months ago! Would
have saved sooooo much work. Thanks so much for releasing this!

 [ Đọc tất cả 1 đánh giá ](https://wordpress.org/support/plugin/performerjs/reviews/)

## Người đóng góp & Lập trình viên

“PerformerJS” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

 *   [ Chris Taylor ](https://profiles.wordpress.org/mrwiblog/)

[Dịch “PerformerJS” sang ngôn ngữ của bạn.](https://translate.wordpress.org/projects/wp-plugins/performerjs)

### Muốn tham gia phát triển?

[Duyệt code](https://plugins.trac.wordpress.org/browser/performerjs/), check out
[SVN repository](https://plugins.svn.wordpress.org/performerjs/), hoặc theo dõi 
[nhật ký phát triển](https://plugins.trac.wordpress.org/log/performerjs/) qua [RSS](https://plugins.trac.wordpress.org/log/performerjs/?limit=100&mode=stop_on_copy&format=rss).

## Nhật ký thay đổi

#### 1.0.5

Made plugin handle non-standard plugin directories. Tested up to 4.2.

#### 1.0.4

Added delay parameter to Looper, allowing for slideshows. Fixed some bugs.

#### 1.0.3

Fixed 3 bugs

#### 1.0.1

Updated to version 1.0.1 of the library, enabled loading of customised jQuery, Prototype
and MooTools version

#### 1.0

Updated to version 1.0 of the library

#### 0.8

Initial plugin version, numbered 0.8 to keep up with the version of the Performer
JavaScript library itself.

## Meta

 *  Phiên bản **1.0.5**
 *  Cập nhật lần cuối **11 năm trước**
 *  Số lượt cài đặt **10+**
 *  Phiên bản WordPress ** 2.7 hoặc cao hơn **
 *  Đã kiểm tra lên đến **4.2.39**
 *  Ngôn ngữ
 * [English (US)](https://wordpress.org/plugins/performerjs/)
 * Thẻ
 * [css](https://vi.wordpress.org/plugins/tags/css/)[html](https://vi.wordpress.org/plugins/tags/html/)
   [interaction](https://vi.wordpress.org/plugins/tags/interaction/)[javascript](https://vi.wordpress.org/plugins/tags/javascript/)
 *  [Nâng cao](https://vi.wordpress.org/plugins/performerjs/advanced/)

## Đánh giá

 5 trên 5 sao.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/performerjs/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/performerjs/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/performerjs/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/performerjs/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/performerjs/reviews/?filter=1)

[Thêm đánh giá của bạn](https://wordpress.org/support/plugin/performerjs/reviews/#new-post)

[Xem tất cả đánh giá](https://wordpress.org/support/plugin/performerjs/reviews/)

## Những người đóng góp

 *   [ Chris Taylor ](https://profiles.wordpress.org/mrwiblog/)

## Hỗ trợ

Có điều gì muốn nói? cần giúp đỡ?

 [Xem diễn đàn hỗ trợ](https://wordpress.org/support/plugin/performerjs/)

## Ủng hộ

Bạn có muốn hỗ trợ vào sự phát triển của plugin này?

 [ Ủng hộ plugin này ](http://www.stillbreathing.co.uk/donate/)