The plugins site is currently in development.
We've been looking to provide a higher-quality, spam-free experience at the plugins site for some time, and a major error on our part forced us to shut down the current site before we could put the new one in place. We are developing a new site, and you can follow along with its development on GitHub. For more information about this transition, including steps you can take as a plugin author to prepare, please read our post about what's going on.
jPoll 1.0
jPoll is a widget that allows you to easily embed a poll or voting widget. Using the configurable properties you specify a question and the different answers. The web page on which it is used only needs an empty container element, the plugin will render the form, radio buttons and labels.
When the visitor makes a choice and submits it the widget will make an AJAX request to a server-side app. The app will need to do something with the results (put them in a DB maybe) and then pass back a JSON response.
Once the JSON is received the plugin will process it an display the results with some nice animations :D
Configurable properties are as follows:
- ajaxOpts.url - [string] URL to server-side app
- groupName - [string] group name for radios
- groupsIDs - [array] labels and ids for radios
- pollHeading - [string] heading of the widget
- rowClass - [string] classname given to form containers (for styling)
- errors - [boolean] enable error message on submission without selection
