[Mapserver-users] displaying query info in separate frame

Steve McCrone ms57 at streamyx.com
Wed Sep 24 22:51:42 EDT 2003


Currently my application displays the shape file attributes in a separate
window using a java script fucntion -

function querycheck(){
  var new_window = null;
  leftPos = 50;
  topPos = 50;
  window.open('', 'querywindow',
"toolbar=no,dependent=yes,width=600,height=150, top=" + topPos + ", left=" +
leftPos + ", alwaysRaised=yes,resizeable=yes,scrollbars=no");

  document.mapserver.target="querywindow";
  document.mapserver.submit();
  document.mapserver.target = "_parent";
  return;
}

Where my map file contains -

 TEMPLATE "gps.html"
  END#Class
  HEADER "gps_header.html"
  FOOTER "gps_footer.html"
  TOLERANCE 8
  DUMP TRUE # allow GML export
================================

What I wish to do is to dispaly this info in a separete frame - how do I do
that?

Thanks




More information about the mapserver-users mailing list