OpenLayers Select Feature Example, Switch visibility

Select a feature on click with the Control.SelectFeature on a vector layer.

selected feature description