<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE></TITLE>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18939"></HEAD>
<BODY bgColor=#ffffff text=#000000>
<P><FONT color=#008000><FONT color=#008000><FONT size=2><SPAN
class=156043022-02092010><FONT color=#0000ff face=Arial>My below GetFeatureInfo
command is working correctly and whenever I click on the feature
it displays the correct information about the feature into a div I created
called 'nodeList'. Well I am trying to get this info to be shown in a popup like
the example on the site using popup.js but it won't work. Now I can
create the popup no problem (empty) but not sure how to add the getfeatureinfo
response to the popup as the example uses a openlayers control instead. Any help
appreciated!</FONT></SPAN></FONT></FONT></FONT></P>
<P><FONT color=#008000><FONT color=#008000><FONT size=2><SPAN
class=156043022-02092010> </SPAN>//support GetFeatureInfo </FONT><SPAN
class=156043022-02092010><FONT color=#0000ff size=2
face=Arial> <BR> </FONT></SPAN></FONT></FONT><FONT
size=2>map.events.register(<FONT color=#a31515><FONT
color=#a31515>'click'</FONT></FONT>, map, <FONT color=#0000ff><FONT
color=#0000ff>function</FONT></FONT> (e) {</FONT><FONT size=2><SPAN
class=156043022-02092010><FONT color=#0000ff
face=Arial> <BR></FONT></SPAN><FONT color=#0000ff><FONT
color=#0000ff>new</FONT></FONT> OpenLayers.Util.getElement(<FONT
color=#a31515><FONT color=#a31515>'nodeList'</FONT></FONT>).innerHTML = <FONT
color=#a31515><FONT color=#a31515>"Loading... please
wait..."</FONT></FONT>;</FONT><FONT size=2><SPAN class=156043022-02092010><FONT
color=#0000ff face=Arial> <BR> </FONT></SPAN><FONT color=#0000ff><FONT
color=#0000ff>var</FONT></FONT> url =
layer_Major_Parks.getFullRequestString({</FONT><FONT size=2><SPAN
class=156043022-02092010><FONT color=#0000ff
face=Arial> <BR> </FONT></SPAN>REQUEST: <FONT color=#a31515><FONT
color=#a31515>"GetFeatureInfo"</FONT></FONT>,</FONT><FONT size=2><SPAN
class=156043022-02092010><FONT color=#0000ff
face=Arial> <BR> </FONT></SPAN>EXCEPTIONS: <FONT color=#a31515><FONT
color=#a31515>"application/vnd.ogc.se_xml"</FONT></FONT>,</FONT><FONT
size=2><SPAN class=156043022-02092010><FONT color=#0000ff
face=Arial> <BR> </FONT></SPAN>BBOX:
map.getExtent().toBBOX(),</FONT><FONT size=2><SPAN
class=156043022-02092010><FONT color=#0000ff
face=Arial> <BR> </FONT></SPAN>X: e.xy.x,</FONT><FONT size=2><SPAN
class=156043022-02092010><FONT color=#0000ff
face=Arial> <BR> </FONT></SPAN>Y: e.xy.y,</FONT><FONT size=2><SPAN
class=156043022-02092010><FONT color=#0000ff
face=Arial> <BR> </FONT></SPAN>INFO_FORMAT: <FONT color=#a31515><FONT
color=#a31515>'text/html'</FONT></FONT>,</FONT><FONT size=2><SPAN
class=156043022-02092010><FONT color=#0000ff
face=Arial> <BR> </FONT></SPAN>QUERY_LAYERS:
layer_Major_Parks.params.LAYERS,</FONT><FONT size=2><SPAN
class=156043022-02092010><FONT color=#0000ff
face=Arial> <BR></FONT></SPAN>WIDTH: map.size.w,<SPAN
class=156043022-02092010><FONT color=#0000ff
face=Arial> <BR> </FONT></SPAN>HEIGHT: map.size.h});</FONT></P>
<P><FONT size=2></FONT></P>
<P><FONT color=#008000><FONT color=#008000><FONT size=2>//put in an alert for
debugging</FONT><SPAN class=156043022-02092010><FONT color=#0000ff size=2
face=Arial> <BR> </FONT></SPAN></FONT></FONT><FONT
size=2>OpenLayers.loadURL(url, <FONT color=#a31515><FONT
color=#a31515>''</FONT></FONT>, <FONT color=#0000ff><FONT
color=#0000ff>this</FONT></FONT>, setHTML);</FONT><FONT size=2><SPAN
class=156043022-02092010><FONT color=#0000ff
face=Arial> <BR> </FONT></SPAN>OpenLayers.Event.stop(e);<SPAN
class=156043022-02092010><FONT color=#0000ff
face=Arial> <BR> </FONT></SPAN>});</FONT></P>
<P><FONT size=2></FONT></P>
<P><FONT color=#008000><FONT color=#008000><FONT size=2>//function to set the
HTML </FONT><SPAN class=156043022-02092010><FONT color=#0000ff size=2
face=Arial> <BR> </FONT></SPAN></FONT></FONT><FONT size=2><FONT
color=#0000ff><FONT color=#0000ff>function</FONT></FONT> setHTML(response)
{</FONT><FONT size=2><SPAN class=156043022-02092010><FONT color=#0000ff
face=Arial> <BR> </FONT></SPAN><FONT color=#0000ff><FONT
color=#0000ff>new</FONT></FONT> OpenLayers.Util.getElement(<FONT
color=#a31515><FONT color=#a31515>'nodeList'</FONT></FONT>).innerHTML =
response.responseText;<SPAN class=156043022-02092010><FONT color=#0000ff
face=Arial> <BR> </FONT></SPAN>}</FONT></P>
<DIV><P><HR>
This e-mail is intended for the original recipient(s) only. If you have received it in error, please advise the sender and delete this message.
</P></DIV>
</BODY></HTML>