[mapserver-users] SUM: Question concerning php-mapscript and frame(set)s and querybypoint method
Peter
blackmail at snafu.de
Tue Mar 26 05:05:56 PST 2002
Well, I've got it! Thanks to all.
It was a simple job to do it with javascript:
/**Ergebnisse infofenster anzeigen*/
?>
<script type="text/javascript">
<!--
fenster = window.open("info.phtml?modus=1&objekt_id=<?php echo
$dbrecord['ID']; ?>&hauptnutzung=&searchtype=0&searchresult=<?php echo
$dbrecord['ID'];
?>&sortierung=objektname","info","width=200,height=200,left=600,top=400");
fenster.focus();
//-->
</script>
Stephen Woodbridge wrote:
>Peter,
>
>I think what you have to do is use a javascript form validate on submit
>function that determines if this is a query and then sets the
>traget="results_frame_name" before doing the submit.
>
>-Steve
>
>Peter wrote:
>
>>Hi Listers,
>>
>>got some kind of a fundamental question concerning php-mapscript and
>>frame(set)s and querybypoint method.
>>
>>My map is part of a form as usual, but I do have some kind of result
>>frame on the right side of my complete frameset (css).
>>
>>When I perform a querbypoint I get the results (dbase-records...), but
>>I'd like to write the results to the right frame.
>>
>>Normally I would do that with the HTML Tag <form action> and so on.
>>But, problem is that the map itself and the user-choices (pan, zoomIn,
>>ZoomOut) are already a for handling the parameters for mapserver.
>>
>>Is there some kind of HTML-TAG or any other soloution, that, within the
>>phtml page, the results will be written to the frame on the right side?
>>Is this possible with php or maybe with javascript?
>>
>>I appreciate every idea!
>>
>>Peter
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20020326/935acdfa/attachment.htm>
More information about the MapServer-users
mailing list