<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>&nbsp;</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>&nbsp;</div>
<p>&lt;html&gt;<br>&nbsp; &lt;head&gt;<br>&nbsp;&nbsp;&nbsp; &lt;title&gt;MapServer Itasca Application&lt;/title&gt;<br>&nbsp;&nbsp;&nbsp; &lt;script language=&quot;javascript&quot;&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; function submit_form() {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; var template = document.demo.map_web_template.options
 [document.demo.map_web_template.selectedIndex].value;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if(template.indexOf(&quot;frame&quot;) != -1) document.demo.action = &quot;frames.html&quot;;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if(template.indexOf(&quot;dhtml&quot;) != -1) document.demo.action
 = &quot;frames_dhtml.html&quot;;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp; &lt;/script&gt;<br>&nbsp; &lt;/head&gt;<br>&nbsp; &lt;body bgcolor=&quot;#FFFFFF&quot;&gt;</p>
<p>&nbsp;&nbsp;&nbsp; &lt;center&gt;&lt;h2&gt;MapServer Itasca Application&lt;/h2&gt;&lt;/center&gt;<br>&nbsp;&nbsp;&nbsp; &lt;p&gt;&lt;hr&gt;&lt;p&gt;<br>&nbsp;&nbsp;&nbsp; This demonstration application will take you through various levels of complexity. Starting with a basic application that 
<br>&nbsp;&nbsp;&nbsp; allows a user to pan/zoom and change layers we add:<br>&nbsp;&nbsp;&nbsp; &lt;ul&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;li&gt; dynamically configured scalebars<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;li&gt; javascript-based panning<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;li&gt; query results to a frame<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;li&gt; and finally, a DHTML rubber-band zoom/query capabilty<br>&nbsp;&nbsp;&nbsp; &lt;/ul&gt;<br>&nbsp;&nbsp;&nbsp; The base data is the old-reliable Itasca dataset that we know and love...<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;<font style="BACKGROUND-COLOR: #ffff66">
 &lt;!-- EDIT THE FORM ACTION --&gt;<br></font>&nbsp;&nbsp;&nbsp; &lt;form name=&quot;demo&quot; method=&quot;GET&quot; action=&quot;/cgi-bin/mapserv40&quot; onSubmit=&quot;submit_form()&quot;&gt;</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;input type=&quot;hidden&quot; name=&quot;layer&quot; value=&quot;lakespy2&quot;&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;input type=&quot;hidden&quot; name=&quot;layer&quot; value=&quot;dlgstln2&quot;&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;input type=&quot;hidden&quot; name=&quot;zoomsize&quot; value=2&gt; 
</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;<font style="BACKGROUND-COLOR: #ffff66">&nbsp; &lt;!-- EDIT THESE HIDDEN VARIABLES --&gt;</font><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;input type=&quot;hidden&quot; name=&quot;map&quot; value=&quot;/usr/local/www/docs/mapserver_demos/workshop/itasca.map&quot;&gt; 
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;input type=&quot;hidden&quot; name=&quot;program&quot; value=&quot;/cgi-bin/mapserv40&quot;&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;input type=&quot;hidden&quot; name=&quot;root&quot; value=&quot;/mapserver_demos/workshop&quot;&gt; 
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;input type=&quot;hidden&quot; name=&quot;map_web_imagepath&quot; value=&quot;/usr/local/www/docs/tmp/&quot;&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;input type=&quot;hidden&quot; name=&quot;map_web_imageurl&quot; value=&quot;/tmp/&quot;&gt; 
</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;select name=&quot;map_web_template&quot; size=&quot;1&quot;&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;option value=&quot;itasca_basic.html&quot;&gt; Basic Application<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;option value=&quot;itasca_adds_scalebar.html&quot;&gt; &amp;nbsp;&amp;nbsp;-- Adds second scalebar 
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;option value=&quot;itasca_adds_pan.html&quot;&gt; &amp;nbsp;&amp;nbsp;-- Adds pan controls<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;option value=&quot;itasca_adds_frames.html&quot;&gt; &amp;nbsp;&amp;nbsp;-- Adds frames<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;option value=&quot;itasca_adds_dhtml.html&quot;&gt; &amp;nbsp;&amp;nbsp;-- Adds dhtml rubber-band box 
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/select&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;input type=&quot;submit&quot; value=&quot;Initialize&quot;&gt;&lt;/center&gt;<br>&nbsp; <br>&nbsp;&nbsp;&nbsp; &lt;/form&gt;</p>
<p>&nbsp;&nbsp;&nbsp; &lt;p&gt;&lt;hr&gt;&lt;p&gt;<br>&nbsp; &lt;/body&gt;<br>&lt;/html&gt;<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>&nbsp;</div><br>-- <br>Jie Tian<br>Laboratory of Geographical Information &amp; Spatial Analysis (LaGISA)<br>Department of Geography, Queen's University<br>Kingston, Ontario, Canada </div></blockquote>
</div><br>