Looks to me like you're using an old version of the GeoExt css - one that doesn't match your GeoExt version.
Andreas. On Tue, Mar 6, 2012 at 3:04 PM, Robert Buckley <robertdbuck...@yahoo.com> wrote: > Hi, > > you can try it out here... > > http://maps.zgb.de/geoportal/treenodes.html > > ________________________________ > Von: Andreas Hocevar <ahoce...@opengeo.org> > An: Robert Buckley <robertdbuck...@yahoo.com> > CC: "users@geoext.org" <users@geoext.org> > Gesendet: 14:59 Dienstag, 6.März 2012 > Betreff: Re: [Users] geoext.popup position wrong > > Can you be a bit more specific on how the popup position is wrong? > Maybe with a screenshot? > > It should be enough to configure > > location: e.xy > > Andreas. > > On Tue, Mar 6, 2012 at 2:06 PM, Robert Buckley <robertdbuck...@yahoo.com> > wrote: >> Hi, >> >> it´s not the first time I have had this problem, but I have looked into my >> own work and cannot find a solution. >> >> When the popup appears, it is not positioned on the point I clicked.. >> >> I have included the geoext css and the popup css files in the html doc. >> >> 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, >> >> cheers, >> >> Rob >> >> >> >> var featureInfo = new OpenLayers.Control.WMSGetFeatureInfo({ >> infoFormat: "application/vnd.ogc.gml", >> queryVisible: true, >> highlightOnly: false, >> maxFeatures: 20, >> eventListeners: { >> "getfeatureinfo": function(e) { >> var items = []; >> Ext.each(e.features, function(feature) { >> items.push({ >> xtype: "propertygrid", >> title: feature.fid, >> source: feature.attributes >> }); >> }); >> new GeoExt.Popup({ >> url: "/geoserver/ows", >> title: "Info", >> layout: "border", >> region:"east", >> //x: 330, >> //y: 20, >> width: 200, >> height: 300, >> layout: "accordion", >> bodyStyle: 'background-color:#FFF;,font-size:14px;', >> autoScroll: true, >> map: mapPanel.map, >> location: map.getLonLatFromPixel(e.xy), >> //location: e.xy, >> //lonlat: mapPanel.map.getLonLatFromPixel(e.xy), >> // html: e.text, >> maximizable: false, >> resizable: false, >> collapsible: false, >> items: items >> }).show(); >> } >> } >> }); >> >> _______________________________________________ >> Users mailing list >> Users@geoext.org >> http://www.geoext.org/cgi-bin/mailman/listinfo/users >> > > > > -- > Andreas Hocevar > OpenGeo - http://opengeo.org/ > Expert service straight from the developers. > > > > _______________________________________________ > Users mailing list > Users@geoext.org > http://www.geoext.org/cgi-bin/mailman/listinfo/users > -- Andreas Hocevar OpenGeo - http://opengeo.org/ Expert service straight from the developers. _______________________________________________ Users mailing list Users@geoext.org http://www.geoext.org/cgi-bin/mailman/listinfo/users