code: function(feature) {
          var layer = feature.layer;
          if(this.hover) {
              if(this.highlightOnly) {
                  this.highlight(feature);
              } else if(OpenLayers.Util.indexOf(
                  layer.selectedFeatures, feature) == -1) {
                  this.select(feature);
              }
          }
      }
docs: Method: overFeature
  Called on over a feature.
  Only responds if this.hover is true.
  
  Parameters:
  feature - {<OpenLayers.Feature.Vector>}