Selected 2.x

Legacy documentation for Selected 2.x.


The purpose of this plugin is to make it easier to dynamically parse CSS objects or select states of form elements at page load time. You might typically use this for applying a selected class to a navigation menu.

The Selected plugin checks the segment you've told it to look at and compares it against your code. When the segment matches, Selected will apply the code you specified to your template (usually something like class="selected").