<br>
<div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>
<div>Hi friends,</div>
<div> </div>
<div>I am having trouble with running a demo. My working directory is C:\ms4w\Apache\htdocs\workshop. Detailed directory is shown in the attachment.</div>
<div>All the data and the html files are in the folder 'workshop'. I am supposed to modify the index.hml file to get it work correctly.</div>
<div>The html is like below:</div>
<div> </div>
<p><html><br> <head><br> <title>MapServer Itasca Application</title><br> <script language="javascript"><br> function submit_form() {<br> var template = document.demo.map_web_template.options
[document.demo.map_web_template.selectedIndex].value;<br> if(template.indexOf("frame") != -1) document.demo.action = "frames.html";<br> if(template.indexOf("dhtml") != -1) document.demo.action
= "frames_dhtml.html";<br> }<br> </script><br> </head><br> <body bgcolor="#FFFFFF"></p>
<p> <center><h2>MapServer Itasca Application</h2></center><br> <p><hr><p><br> This demonstration application will take you through various levels of complexity. Starting with a basic application that
<br> allows a user to pan/zoom and change layers we add:<br> <ul><br> <li> dynamically configured scalebars<br> <li> javascript-based panning<br> <li> query results to a frame<br>
<li> and finally, a DHTML rubber-band zoom/query capabilty<br> </ul><br> The base data is the old-reliable Itasca dataset that we know and love...<br> <br> <font style="BACKGROUND-COLOR: #ffff66">
<!-- EDIT THE FORM ACTION --><br></font> <form name="demo" method="GET" action="/cgi-bin/mapserv40" onSubmit="submit_form()"></p>
<p> <input type="hidden" name="layer" value="lakespy2"><br> <input type="hidden" name="layer" value="dlgstln2"><br> <input type="hidden" name="zoomsize" value=2>
</p>
<p> <font style="BACKGROUND-COLOR: #ffff66"> <!-- EDIT THESE HIDDEN VARIABLES --></font><br> <input type="hidden" name="map" value="/usr/local/www/docs/mapserver_demos/workshop/itasca.map">
<br> <input type="hidden" name="program" value="/cgi-bin/mapserv40"><br> <input type="hidden" name="root" value="/mapserver_demos/workshop">
<br> <input type="hidden" name="map_web_imagepath" value="/usr/local/www/docs/tmp/"><br> <input type="hidden" name="map_web_imageurl" value="/tmp/">
</p>
<p> <select name="map_web_template" size="1"><br> <option value="itasca_basic.html"> Basic Application<br> <option value="itasca_adds_scalebar.html"> -- Adds second scalebar
<br> <option value="itasca_adds_pan.html"> -- Adds pan controls<br> <option value="itasca_adds_frames.html"> -- Adds frames<br> <option value="itasca_adds_dhtml.html"> -- Adds dhtml rubber-band box
<br> </select><br> <input type="submit" value="Initialize"></center><br> <br> </form></p>
<p> <p><hr><p><br> </body><br></html><br></p>
<div><br clear="all">I have tried all the ways to get it work. But I just couldn't get it right cuz I am not good at html. Hope I can get help from any of you.</div>
<div>Thanks in advance.<br> </div><br>-- <br>Jie Tian<br>Laboratory of Geographical Information & Spatial Analysis (LaGISA)<br>Department of Geography, Queen's University<br>Kingston, Ontario, Canada </div></blockquote>
</div><br>