eZ Filter jQuery plugin is a simple plugin which binds select element with eZ Publish CMS view parameters.
This simple plugin binds select element with eZ Publish CMS view parameters.
When selecting an option eZ Publish view parameter will be added to the URL as follows:
(name)/value
Options with value of -1 will be removed from URL.
Plugin will preserve protocol, GET parameters, hash and any eZ Publish view parameters not present in select element.
Usage
HTML:
<select name="some_name">
<option value="-1">Select an option</option>
<option value="1">Option 1</option>
<option value="2">Option 2</option>
<option value="3">Option 3</option>
</select>
Javascript:
$('select').eZFilter();
Demo
Download
Version 1.0
ezembed
Comments