<br><br><div class="gmail_quote">Hi Joe, I think something like this shoul do it:<br><br> info = new OpenLayers.Control.<div id=":147" class="ii gt">WMSGetFeatureInfo({<br>
url: '<a href="http://tobagoborn.com:8080/geoserver/wms" target="_blank">http://tobagoborn.com:8080/geoserver/wms</a>',<br>
title: 'Identify features by clicking',<br> layers: [layer1, layer2,...], <---Here you provide an array of layer objects. These are the layers you are querying<br>
eventListeners: {<br>
getfeatureinfo: function(event) {<br>
map.addPopup(new OpenLayers.Popup.FramedCloud(<br>
"chicken",<br>
map.getLonLatFromPixel(event.xy),<br>
null,<br>
event.text,<br>
null,<br>
true<br>
));<br>
}<br>
}<br>
});<br>
map.addControl(info);<br>
info.activate();</div><br></div><br>