<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:10pt"><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; ">Hi,</div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; "><br></div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; ">it´s not the first time I have had this problem, but I have looked into my own work and cannot find a solution.</div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; "><br></div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; ">When the popup appears, it is not positioned on the point I clicked..</div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; "><br></div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; ">I have included the geoext css and the popup css files in the html doc.</div><div style="font-family:
arial, helvetica, sans-serif; font-size: 10pt; "><br></div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; ">my code is here...if some could give me a clue as to where I should look for a solution I´d be most grateful,</div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; "><br></div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; ">cheers,</div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; "><br></div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; ">Rob</div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; "><br></div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; "><br></div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; "><br></div><div><font face="arial, helvetica, sans-serif" size="2"><div>var featureInfo = new
OpenLayers.Control.WMSGetFeatureInfo({</div><div><span class="Apple-tab-span" style="white-space:pre">        </span> infoFormat: "application/vnd.ogc.gml", </div><div> queryVisible: true,</div><div> highlightOnly: false,</div><div> maxFeatures: 20,</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>eventListeners: {</div><div> "getfeatureinfo": function(e) { </div><div> var items = [];</div><div> Ext.each(e.features, function(feature) {</div><div>
items.push({</div><div> xtype: "propertygrid",</div><div> title: feature.fid,</div><div> source: feature.attributes</div><div> });</div><div> });</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>new GeoExt.Popup({</div><div> url: "/geoserver/ows",</div><div> title: "Info",</div><div>
layout: "border",</div><div> region:"east",</div><div> //x: 330,</div><div> //y: 20,</div><div> width: 200,</div><div> height: 300,</div><div> layout: "accordion",</div><div> bodyStyle: 'background-color:#FFF;,font-size:14px;',</div><div> autoScroll: true,</div><div> map: mapPanel.map,</div><div> location: map.getLonLatFromPixel(e.xy),</div><div>
//location: e.xy,</div><div> //lonlat: mapPanel.map.getLonLatFromPixel(e.xy),</div><div> // html: e.text,</div><div> maximizable: false,</div><div> resizable: false,</div><div> collapsible: false,</div><div> items: items </div><div> }).show(); </div><div> }</div><div> }</div><div> });</div></font></div></div></body></html>