[Mapserver-users] Multiple Layers using a dynamically generated drop down list : tree like interface

Stephen Clark stephen.clark at focus.ca
Fri Nov 14 16:18:15 EST 2003


This is a multi-part message in MIME format.

------=_NextPart_000_0321_01C3AAB1.C356BA00
Content-Type: multipart/alternative;
	boundary="----=_NextPart_001_0322_01C3AAB1.C356BA00"


------=_NextPart_001_0322_01C3AAB1.C356BA00
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Brian and others:

Could you provide some help on how to keep the list of layers that is =
checked "set to on" by the TREE to be set everytime the html page is =
loaded?

Is there a javascript INIT() finction that can be processed =
automatically everytime the html page id loaded?
I could use the [layers_esc] variable for further processing.

I have included my html file.

thanks,
Stephen



  ----- Original Message -----=20
  From: Brian Fischer=20
  To: Stephen Clark ; Calin D. NITU (office)=20
  Sent: Monday, October 27, 2003 7:09 AM
  Subject: RE: [Mapserver-users] Multiple Layers using a dynamically =
generated drop down list : tree like interface


  Here is the code I got from the USACE.  It also includes an example.



  Enjoy,

  Brian



  Brian Fischer

  Houston Engineering, Inc.

  Maple Grove, MN

  (763) 493-4522

  -----Original Message-----
  From: Stephen Clark [mailto:stephen.clark at focus.ca]=20
  Sent: Friday, October 24, 2003 6:44 PM
  To: Brian Fischer
  Subject: Re: [Mapserver-users] Multiple Layers using a dynamically =
generated drop down list : tree like interface



  Brian,



  That would be great.  Please send the javascript code.



  Thanks,

  Stephen

    ----- Original Message -----=20

    From: Brian Fischer=20

    To: Stephen Clark ; mapserver-users at lists.gis.umn.edu=20

    Sent: Wednesday, October 22, 2003 12:18 PM

    Subject: RE: [Mapserver-users] Multiple Layers using a dynamically =
generated drop down list : tree like interface



    Stephen,



    Take a look at: =
http://www.rrbdin.org/tools/mapviewer/basinviewer.htm.  I got the =
original code from the U.S. Army Corps of Engineers.



    I can give you the javascript code if you like.



    Brian



    Brian Fischer

    Houston Engineering, Inc.

    Maple Grove, MN

    (763) 493-4522

    -----Original Message-----
    From: Stephen Clark [mailto:stephen.clark at focus.ca]=20
    Sent: Wednesday, October 22, 2003 1:44 PM
    To: mapserver-users at lists.gis.umn.edu
    Subject: [Mapserver-users] Multiple Layers using a dynamically =
generated drop down list : tree like interface



    hi all,



    Has anyone setup a mapping site where the list of layers is grouped =
by category and expandable / collapsable via a (possible javascript) =
tree like interface.  Something like the way folders are expanded in =
Windows Explorer.



    thanks,

    Stephen



------=_NextPart_001_0322_01C3AAB1.C356BA00
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1264" name=3DGENERATOR>
<STYLE>@font-face {
	font-family: Tahoma;
}
@page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.25in 1.0in 1.25in; }
P.MsoNormal {
	FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
	FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
	FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
A:link {
	COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
	COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
	COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
	COLOR: purple; TEXT-DECORATION: underline
}
SPAN.emailstyle17 {
	COLOR: navy; FONT-FAMILY: Arial
}
SPAN.EmailStyle18 {
	COLOR: navy; FONT-FAMILY: Arial
}
DIV.Section1 {
	page: Section1
}
</STYLE>

<STYLE>
p.MsoNormal
	{margin-left:6.0pt;}
</STYLE>
<!--IncrdiXMLRemarkStart>
<IncrdiX-Info>
<X-FID>FLAVOR00-NONE-0000-0000-000000000000</X-FID>
<X-FVER>3.0</X-FVER>
<X-CNT>;</X-CNT>
</IncrdiX-Info>
<IncrdiXMLRemarkEnd--></HEAD>
<BODY lang=3DEN-US style=3D"BACKGROUND-POSITION: 0px 0px; MARGIN: 3pt =
6pt 6pt"=20
vLink=3Dpurple link=3Dblue bgColor=3Dwhite scroll=3Dyes X-FVER=3D"3.0" =
ORGYPOS=3D"0">
<DIV><FONT face=3DArial size=3D2>Brian and others:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Could you provide some help on how to =
keep the list=20
of layers that is checked "set to on" by the TREE to be set everytime =
the html=20
page is loaded?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Is there a javascript INIT() finction =
that can be=20
processed automatically everytime the html page id loaded?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I could use the [layers_esc] variable =
for further=20
processing.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I have included my html =
file.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>thanks,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Stephen</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV=20
  style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
  <A title=3Dbfischer at houstonengineeringinc.com=20
  href=3D"mailto:bfischer at houstonengineeringinc.com">Brian Fischer</A> =
</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A =
title=3Dstephen.clark at focus.ca=20
  href=3D"mailto:stephen.clark at focus.ca">Stephen Clark</A> ; <A=20
  title=3Dcalin at internetgids.be =
href=3D"mailto:calin at internetgids.be">Calin D. NITU=20
  (office)</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Monday, October 27, 2003 =
7:09=20
  AM</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> RE: [Mapserver-users] =
Multiple=20
  Layers using a dynamically generated drop down list : tree like=20
interface</DIV>
  <DIV><BR></DIV>
  <DIV class=3DSection1>
  <P class=3DMsoNormal><FONT face=3DArial color=3Dnavy size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Here is the =
code I=20
  got from the USACE.&nbsp; It also includes an =
example.</SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3DArial color=3Dnavy size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: =
Arial"></SPAN></FONT>&nbsp;</P>
  <P class=3DMsoNormal><FONT face=3DArial color=3Dnavy size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: =
Arial">Enjoy,</SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3DArial color=3Dnavy size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: =
Arial">Brian</SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3DArial color=3Dnavy size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: =
Arial"></SPAN></FONT>&nbsp;</P>
  <DIV>
  <P class=3DMsoNormal><FONT face=3DArial color=3Dnavy size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Brian=20
  Fischer</SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3DArial color=3Dnavy size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Houston =
Engineering,=20
  Inc.</SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3DArial color=3Dnavy size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Maple =
Grove,=20
  MN</SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3DArial color=3Dnavy size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">(763)=20
  493-4522</SPAN></FONT></P></DIV>
  <P class=3DMsoNormal style=3D"MARGIN-LEFT: 0.5in"><FONT face=3DTahoma =
size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">-----Original=20
  Message-----<BR><B><SPAN style=3D"FONT-WEIGHT: bold">From:</SPAN></B>=20
  </SPAN></FONT><FONT face=3DTahoma size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">Stephen =
Clark</SPAN></FONT><FONT=20
  face=3DTahoma size=3D2><SPAN style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Tahoma">=20
  [mailto:stephen.clark at focus.ca] <BR><B><SPAN=20
  style=3D"FONT-WEIGHT: bold">Sent:</SPAN></B> Friday, October 24, 2003 =
6:44=20
  PM<BR><B><SPAN style=3D"FONT-WEIGHT: bold">To:</SPAN></B> =
</SPAN></FONT><FONT=20
  face=3DTahoma size=3D2><SPAN style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Tahoma">Brian=20
  Fischer</SPAN></FONT><FONT face=3DTahoma size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"><BR><B><SPAN=20
  style=3D"FONT-WEIGHT: bold">Subject:</SPAN></B> Re: [Mapserver-users] =
Multiple=20
  Layers using a dynamically generated drop down list : tree like=20
  interface</SPAN></FONT></P>
  <P class=3DMsoNormal style=3D"MARGIN-LEFT: 0.5in"><FONT face=3D"Times =
New Roman"=20
  size=3D3><SPAN style=3D"FONT-SIZE: 12pt"></SPAN></FONT>&nbsp;</P>
  <DIV>
  <P class=3DMsoNormal style=3D"MARGIN-LEFT: 0.5in"><FONT face=3DArial =
size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial">Brian,</SPAN></FONT></P></DIV>
  <DIV>
  <P class=3DMsoNormal style=3D"MARGIN-LEFT: 0.5in"><FONT face=3D"Times =
New Roman"=20
  size=3D3><SPAN style=3D"FONT-SIZE: =
12pt"></SPAN></FONT>&nbsp;</P></DIV>
  <DIV>
  <P class=3DMsoNormal style=3D"MARGIN-LEFT: 0.5in"><FONT face=3DArial =
size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">That would be =
great.&nbsp; Please=20
  send the javascript code.</SPAN></FONT></P></DIV>
  <DIV>
  <P class=3DMsoNormal style=3D"MARGIN-LEFT: 0.5in"><FONT face=3D"Times =
New Roman"=20
  size=3D3><SPAN style=3D"FONT-SIZE: =
12pt"></SPAN></FONT>&nbsp;</P></DIV>
  <DIV>
  <P class=3DMsoNormal style=3D"MARGIN-LEFT: 0.5in"><FONT face=3DArial =
size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial">Thanks,</SPAN></FONT></P></DIV>
  <DIV>
  <P class=3DMsoNormal style=3D"MARGIN-LEFT: 0.5in"><FONT face=3DArial =
size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial">Stephen</SPAN></FONT></P></DIV>
  <BLOCKQUOTE=20
  style=3D"BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: =
medium none; PADDING-LEFT: 3pt; PADDING-BOTTOM: 0in; MARGIN: 5pt 0in 5pt =
3pt; BORDER-LEFT: black 1.5pt solid; PADDING-TOP: 0in; BORDER-BOTTOM: =
medium none">
    <DIV>
    <P class=3DMsoNormal style=3D"MARGIN-LEFT: 0.5in"><FONT face=3DArial =
size=3D2><SPAN=20
    style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">----- Original Message =
-----=20
    </SPAN></FONT></P></DIV>
    <DIV style=3D"font-color: black">
    <P class=3DMsoNormal style=3D"BACKGROUND: #e4e4e4; MARGIN-LEFT: =
0.5in"><B><FONT=20
    face=3DArial size=3D2><SPAN=20
    style=3D"FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: =
Arial">From:</SPAN></FONT></B><FONT=20
    face=3DArial size=3D2><SPAN style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial"> <A=20
    title=3Dbfischer at houstonengineeringinc.com=20
    href=3D"mailto:bfischer at houstonengineeringinc.com">Brian Fischer</A> =

    </SPAN></FONT></P></DIV>
    <DIV>
    <P class=3DMsoNormal style=3D"MARGIN-LEFT: 0.5in"><B><FONT =
face=3DArial=20
    size=3D2><SPAN=20
    style=3D"FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: =
Arial">To:</SPAN></FONT></B><FONT=20
    face=3DArial size=3D2><SPAN style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial"> <A=20
    title=3Dstephen.clark at focus.ca =
href=3D"mailto:stephen.clark at focus.ca">Stephen=20
    Clark</A> ; <A title=3Dmapserver-users at lists.gis.umn.edu=20
    =
href=3D"mailto:mapserver-users at lists.gis.umn.edu">mapserver-users at lists.g=
is.umn.edu</A>=20
    </SPAN></FONT></P></DIV>
    <DIV>
    <P class=3DMsoNormal style=3D"MARGIN-LEFT: 0.5in"><B><FONT =
face=3DArial=20
    size=3D2><SPAN=20
    style=3D"FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: =
Arial">Sent:</SPAN></FONT></B><FONT=20
    face=3DArial size=3D2><SPAN style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial">=20
    Wednesday, October 22, 2003 12:18 PM</SPAN></FONT></P></DIV>
    <DIV>
    <P class=3DMsoNormal style=3D"MARGIN-LEFT: 0.5in"><B><FONT =
face=3DArial=20
    size=3D2><SPAN=20
    style=3D"FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: =
Arial">Subject:</SPAN></FONT></B><FONT=20
    face=3DArial size=3D2><SPAN style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial"> RE:=20
    [Mapserver-users] Multiple Layers using a dynamically generated drop =
down=20
    list : tree like interface</SPAN></FONT></P></DIV>
    <DIV>
    <P class=3DMsoNormal style=3D"MARGIN-LEFT: 0.5in"><FONT =
face=3D"Times New Roman"=20
    size=3D3><SPAN style=3D"FONT-SIZE: =
12pt"></SPAN></FONT>&nbsp;</P></DIV>
    <P class=3DMsoNormal style=3D"MARGIN-LEFT: 0.5in"><FONT face=3DArial =
color=3Dnavy=20
    size=3D2><SPAN=20
    style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: =
Arial">Stephen,</SPAN></FONT></P>
    <P class=3DMsoNormal style=3D"MARGIN-LEFT: 0.5in"><FONT =
face=3D"Times New Roman"=20
    size=3D3><SPAN style=3D"FONT-SIZE: 12pt"></SPAN></FONT>&nbsp;</P>
    <P class=3DMsoNormal style=3D"MARGIN-LEFT: 0.5in"><FONT face=3DArial =
color=3Dnavy=20
    size=3D2><SPAN style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: =
Arial">Take a=20
    look at: <A=20
    =
href=3D"http://www.rrbdin.org/tools/mapviewer/basinviewer.htm">http://www=
.rrbdin.org/tools/mapviewer/basinviewer.htm</A>.=20
    &nbsp;I got the original code from the U.S. Army Corps of=20
    Engineers.</SPAN></FONT></P>
    <P class=3DMsoNormal style=3D"MARGIN-LEFT: 0.5in"><FONT =
face=3D"Times New Roman"=20
    size=3D3><SPAN style=3D"FONT-SIZE: 12pt"></SPAN></FONT>&nbsp;</P>
    <P class=3DMsoNormal style=3D"MARGIN-LEFT: 0.5in"><FONT face=3DArial =
color=3Dnavy=20
    size=3D2><SPAN style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: =
Arial">I can=20
    give you the javascript code if you like.</SPAN></FONT></P>
    <P class=3DMsoNormal style=3D"MARGIN-LEFT: 0.5in"><FONT =
face=3D"Times New Roman"=20
    size=3D3><SPAN style=3D"FONT-SIZE: 12pt"></SPAN></FONT>&nbsp;</P>
    <P class=3DMsoNormal style=3D"MARGIN-LEFT: 0.5in"><FONT face=3DArial =
color=3Dnavy=20
    size=3D2><SPAN=20
    style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: =
Arial">Brian</SPAN></FONT></P>
    <P class=3DMsoNormal style=3D"MARGIN-LEFT: 0.5in"><FONT =
face=3D"Times New Roman"=20
    size=3D3><SPAN style=3D"FONT-SIZE: 12pt"></SPAN></FONT>&nbsp;</P>
    <DIV>
    <P class=3DMsoNormal style=3D"MARGIN-LEFT: 0.5in"><FONT face=3DArial =
color=3Dnavy=20
    size=3D2><SPAN style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: =
Arial">Brian=20
    Fischer</SPAN></FONT></P>
    <P class=3DMsoNormal style=3D"MARGIN-LEFT: 0.5in"><FONT face=3DArial =
color=3Dnavy=20
    size=3D2><SPAN=20
    style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Houston=20
    Engineering, Inc.</SPAN></FONT></P>
    <P class=3DMsoNormal style=3D"MARGIN-LEFT: 0.5in"><FONT face=3DArial =
color=3Dnavy=20
    size=3D2><SPAN style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: =
Arial">Maple=20
    Grove, MN</SPAN></FONT></P>
    <P class=3DMsoNormal style=3D"MARGIN-LEFT: 0.5in"><FONT face=3DArial =
color=3Dnavy=20
    size=3D2><SPAN style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: =
Arial">(763)=20
    493-4522</SPAN></FONT></P></DIV>
    <P class=3DMsoNormal style=3D"MARGIN-LEFT: 0.5in"><FONT =
face=3DTahoma size=3D2><SPAN=20
    style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">-----Original=20
    Message-----<BR><B><SPAN style=3D"FONT-WEIGHT: =
bold">From:</SPAN></B> Stephen=20
    Clark [mailto:stephen.clark at focus.ca] <BR><B><SPAN=20
    style=3D"FONT-WEIGHT: bold">Sent:</SPAN></B> Wednesday, October 22, =
2003 1:44=20
    PM<BR><B><SPAN style=3D"FONT-WEIGHT: bold">To:</SPAN></B> <A=20
    =
href=3D"mailto:mapserver-users at lists.gis.umn.edu">mapserver-users at lists.g=
is.umn.edu</A><BR><B><SPAN=20
    style=3D"FONT-WEIGHT: bold">Subject:</SPAN></B> [Mapserver-users] =
Multiple=20
    Layers using a dynamically generated drop down list : tree like=20
    interface</SPAN></FONT></P>
    <P class=3DMsoNormal style=3D"MARGIN-LEFT: 0.5in"><FONT =
face=3D"Times New Roman"=20
    size=3D3><SPAN style=3D"FONT-SIZE: 12pt"></SPAN></FONT>&nbsp;</P>
    <DIV>
    <P class=3DMsoNormal style=3D"MARGIN-LEFT: 0.5in"><FONT face=3DArial =
size=3D2><SPAN=20
    style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">hi =
all,</SPAN></FONT></P></DIV>
    <DIV>
    <P class=3DMsoNormal style=3D"MARGIN-LEFT: 0.5in"><FONT =
face=3D"Times New Roman"=20
    size=3D3><SPAN style=3D"FONT-SIZE: =
12pt"></SPAN></FONT>&nbsp;</P></DIV>
    <DIV>
    <P class=3DMsoNormal style=3D"MARGIN-LEFT: 0.5in"><FONT face=3DArial =
size=3D2><SPAN=20
    style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">Has anyone setup a =
mapping site=20
    where the list of layers is grouped by category and expandable / =
collapsable=20
    via a (possible javascript) tree like interface.&nbsp; Something =
like the=20
    way folders are expanded in Windows =
Explorer.</SPAN></FONT></P></DIV>
    <DIV>
    <P class=3DMsoNormal style=3D"MARGIN-LEFT: 0.5in"><FONT =
face=3D"Times New Roman"=20
    size=3D3><SPAN style=3D"FONT-SIZE: =
12pt"></SPAN></FONT>&nbsp;</P></DIV>
    <DIV>
    <P class=3DMsoNormal style=3D"MARGIN-LEFT: 0.5in"><FONT face=3DArial =
size=3D2><SPAN=20
    style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial">thanks,</SPAN></FONT></P></DIV>
    <DIV>
    <P class=3DMsoNormal style=3D"MARGIN-LEFT: 0.5in"><FONT face=3DArial =
size=3D2><SPAN=20
    style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial">Stephen</SPAN></FONT></P></DIV>
    <DIV>
    <P class=3DMsoNormal style=3D"MARGIN-LEFT: 0.5in"><FONT =
face=3D"Times New Roman"=20
    size=3D3><SPAN=20
  style=3D"FONT-SIZE: =
12pt"></SPAN></FONT>&nbsp;</P></DIV></BLOCKQUOTE></DIV></BLOCKQUOTE></BOD=
Y></HTML>

------=_NextPart_001_0322_01C3AAB1.C356BA00--

------=_NextPart_000_0321_01C3AAB1.C356BA00
Content-Type: text/html;
	name="menudisplayfsj.html"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="menudisplayfsj.html"

<!doctype HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>

<head>
<meta name=3D"GENERATOR" content=3D"Microsoft FrontPage 5.0">
<meta name=3D"ProgId" content=3D"FrontPage.Editor.Document">
<meta http-equiv=3D"Content-Type" content=3D"text/html; =
charset=3Diso-8859-1">
<link rel=3D"StyleSheet" href=3D"tree/tree.css" type=3D"text/css">
<!-- Specify source file for building menus here. Just a javascript =
array -->
<script type=3D"text/javascript" src=3D"menusrc_fsj.js"></script>
<script type=3D"text/javascript">
function sendLayers(form) {
   <!-- if framed, indicated target name -->
   //form.target =3D "ladistmain";
   //form.target =3D "ladistmain";
   var sendLay =3D "";
   var lcount =3D 0;
   for (var i =3D 0; i< Tree.length; i++) {
     var treenode =3D Tree[i].split("|");
     <!-- traverse tree, count all actual layers -->
     if (treenode[3]) {lcount++}
   }
   for (var i =3D 0; i < lcount; i++) {
	if (form.layer[i].checked)=20
	{
      		<!-- process layers, build var that contains layer names and if =
checked or not -->
       		var sendLay =3D sendLay + " " + form.layer[i].value;
       	} =20
	else=20
	{
       		//var sendLay =3D sendLay;
		var sendLay =3D layers_esc;
     	}
   }
    //parent.ladistmain.document.mapserv.layers.value =3D sendLay;
	document.mapserv.layer.value =3D sendLay;

    <!-- change if do not want auto submit -->
    //parent.ladistmain.document.mapserv.submit();
  }

</script>
</head>

<script type=3D"text/javascript" src=3D"tree/tree3.js"></script>

<form name=3D"mapserv"  method=3D"get" =
action=3D"../cgi-bin/mapserv403.exe">
<table border=3D1 cellspacing=3D0 cellpadding=3D4 bgcolor=3D"#ffffff">
<tr>
      <td>=20
	<input type=3D"submit" value=3D"Refresh/Query"></center>
    <div id=3D"tree">
    <script type=3D"text/javascript">
<!--

	// Build the tree with createTree(array name of layers, Tree title, =
startnode (generally 0), array of nodes to initially open)
    	var Tree;
		createTree(Tree, "Map Layers", 0, [1,23]);

//-->
    </script>
  =20
	<td colspan=3D"2"><INPUT NAME=3D"img" TYPE=3D"image" SRC=3D"[img]" =
width=3D600 height=3D600 border=3D0>
   </tr>
   <tr>
	<td align=3D"right"><img src=3D"[scalebar]"></td>
   </tr>


      =09

  <br />
  <br />
  </p>


   =20
<input type=3D"hidden" name=3D"get_layers" value=3D"[get_layers]">
<input type=3D"hidden" name=3D"map" =
value=3D"c:\maps\nebc\NEBCdemo-14.map">
<input type=3D"hidden" name=3D"zoomsize" value=3D2>

<input type=3D"hidden" name=3D"program" =
value=3D"../cgi-bin/mapserv403.exe">
<input type=3D"hidden" name=3D"map_web_imagepath" value=3D"c:\program =
files\apache group\apache2\htdocs\tmp\">
<input type=3D"hidden" name=3D"map_web_imageurl" value=3D"/tmp/">


  </form>

</body>

</html>
------=_NextPart_000_0321_01C3AAB1.C356BA00--




More information about the mapserver-users mailing list