Go Back   Computer Forums > Web Design | Website Development > Web Programming
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 02-14-2005, 01:10 PM   #1
Baseband Member
 
Join Date: Feb 2005
Posts: 21
Default One last thing root.

Okay this string is to long for one post so I split it in two. Question: I put the Intro Panel back in and im getting the same error.

<html>

<head>

<SCRIPT LANGUAGE="JavaScript">
<!--
function dmsJS_submitHrefSearchCIVARC(){document.submitSear chCIVARC.submit()}
function dmsJS_submitHrefSearchELEC(){document.submitSearch ELEC.submit()}
function dmsJS_submitHrefSearchINSTR(){document.submitSearc hINSTR.submit()}
function dmsJS_submitHrefSearchMECH(){document.submitSearch MECH.submit()}
function dmsJS_submitHrefSearchPROCESS(){document.submitSea rchPROCESS.submit()}
// -->

function change_form()
{
var el = document.getElementById? document.getElementById('formxyz'): document.all['formxyz'];

var formx1 = "<select name=\"subselect\"><option value=\"1\" name=\"1\">ARCHITECTURAL</option><option value=\"1\" name=\"1\">CADD</option><option value=\"1\" name=\"1\">CONCRETE/COATINGS</option><option value=\"1\" name=\"1\">CONTAINMENT</option><option value=\"1\" name=\"1\">DESIGN</option><option value=\"1\" name=\"1\">DOORS & WINDOWS</option><option value=\"1\" name=\"1\">FIRE PROTECTION</option><option value=\"1\" name=\"1\">MASONRY</option><option value=\"1\" name=\"1\">MATERIAL HANDLING</option><option value=\"1\" name=\"1\">REGULATORY</option><option value=\"1\" name=\"1\">SITEWORK</option><option value=\"1\" name=\"1\">STRUCTURAL METALS</option><option value=\"1\" name=\"1\">WELDING</option></select>";

var formx2 = "<select name=\"subselect\"><option value=\"1\" name=\"1\">ANALYZER</option><option value=\"1\" name=\"1\">AREA CLASSIFICATION</option><option value=\"1\" name=\"1\">BASIC MATLS/METHODS</option><option value=\"1\" name=\"1\">BUILDING POWER SYS</option><option value=\"1\" name=\"1\">CADD</option><option value=\"1\" name=\"1\">COMMUNICATIONS</option><option value=\"1\" name=\"1\">CONTROL SYSTEMS</option><option value=\"1\" name=\"1\">CRITICAL CONTROL SYS</option><option value=\"1\" name=\"1\">DCS</option><option value=\"1\" name=\"1\">DESIGN</option><option value=\"1\" name=\"1\">ELEC GROUNDING</option><option value=\"1\" name=\"1\">ELEC HEAT TRACING</option><option value=\"1\" name=\"1\">ELEC HEATING</option><option value=\"1\" name=\"1\">FILTRATION</option><option value=\"1\" name=\"1\">LIGHTING</option><option value=\"1\" name=\"1\">MOTOR</option><option value=\"1\" name=\"1\">MOTOR CONTROL</option><option value=\"1\" name=\"1\">POWER DISTRIBUTION</option><option value=\"1\" name=\"1\">SS/EW</option></select>";

var formx3 = "<select name=\"subselect\"><option value=\"1\" name=\"1\">ANALYZER</option><option value=\"1\" name=\"1\">BASIC MATLS/METHODS</option><option value=\"1\" name=\"1\">CONTROL SYSTEMS</option><option value=\"1\" name=\"1\">ESD/SIS</option><option value=\"1\" name=\"1\">HSC INSTRUMENT</option><option value=\"1\" name=\"1\">INVENTORY MEASUREMENT</option><option value=\"1\" name=\"1\">PROCESS CONTROLS</option><option value=\"1\" name=\"1\">PROCESS INSTRUMENTS</option><option value=\"1\" name=\"1\">PROCESS MEASUREMENT</option><option value=\"1\" name=\"1\">VALVE INSTR</option></select>";

var formx4 = "<select name=\"subselect\"><option value=\"1\" name=\"1\">CADD</option><option value=\"1\" name=\"1\">COMPRESSOR</option><option value=\"1\" name=\"1\">CORP SAFETY</option><option value=\"1\" name=\"1\">FILTRATION</option><option value=\"1\" name=\"1\"FIRE PROTECTION</option><option value=\"1\" name=\"1\">GASKET</option><option value=\"1\" name=\"1\">HEAT EXCHANGER</option><option value=\"1\" name=\"1\">HVAC</option><option value=\"1\" name=\"1\">INSULATION</option><option value=\"1\" name=\"1\">LINED PIPING & VALVE</option><option value=\"1\" name=\"1\">NDT/EQUIPMENT RELIAB</option><option value=\"1\" name=\"1\">P&ID SYMBOLOGY</option><option value=\"1\" name=\"1\">PAINTING</option><option value=\"1\" name=\"1\">PIPING</option><option value=\"1\" name=\"1\">PRESSURE VESSEL</option><option value=\"1\" name=\"1\">PRESSURIZED EQUIP</option><option value=\"1\" name=\"1\">PUMPS</option><option value=\"1\" name=\"1\">REFRIGERATION</option><option value=\"1\" name=\"1\">RELIEF SYSTEMS</option><option value=\"1\" name=\"1\">ROTATING EQUIPMENT</option><option value=\"1\" name=\"1\">SS/EW</option><option value=\"1\" name=\"1\">TANK LININGS & CORRO</option><option value=\"1\" name=\"1\">VACUUM SYSTEMS</option><option value=\"1\" name=\"1\">VALVES</option></select>";

var formx5 = "<select name=\"subselect\"><option value=\"1\" name=\"1\">CADD</option><option value=\"1\" name=\"1\">PROJ DESIGN MANUAL</option><option value=\"1\" name=\"1\">3b</option><option value=\"1\" name=\"1\">4b</option></select>";

if (document.form1.dropdn1.value=="civ-arc")
{
if (el && typeof el.innerHTML != "undefined") el.innerHTML = formx1;
}
if (document.form1.dropdn1.value=="elec")
{
if (el && typeof el.innerHTML != "undefined") el.innerHTML = formx2;
}
if (document.form1.dropdn1.value=="instr")
{
if (el && typeof el.innerHTML != "undefined") el.innerHTML = formx3;
}
if (document.form1.dropdn1.value=="mech")
{
if (el && typeof el.innerHTML != "undefined") el.innerHTML = formx4;
}
if (document.form1.dropdn1.value=="process")
{
if (el && typeof el.innerHTML != "undefined") el.innerHTML = formx5;
}
}

</script>


<STYLE type="text/css">
.body {
color: #000000;
font-family: Verdana;
font-weight: normal;
font-size:9pt;
}
.form {
color: #404040;
font-size:8pt;
margin-top: 0px;
font-family: verdana;
font-weight:normal;
font-variant:small-caps;
}

.docsearch {
color: #404040;
font-size:10pt;
margin-top: 0px;
font-family: verdana;
font-weight:bold;
font-variant:small-caps;
}

.quicksearch {
color: ##000080;
font-size:9pt;
margin-top: 0px;
font-family: verdana;
font-weight:bold;
font-variant:small-caps;
}

.date {
margin-left:10px;
margin-right:5px;
color: #cccc99;
font-size:8pt;
margin-top: 0px;
font-family: verdana;
font-weight:bold;
font-variant:small-caps;
}

A:link {
COLOR: blue;
TEXT-DECORATION: none
}

A:visited {
COLOR: blue;
TEXT-DECORATION: none
}

A:active {
COLOR: blue;
TEXT-DECORATION: none
}

A:hover {
TEXT-DECORATION: underline
}

</STYLE>

</head>

<SCRIPT src="http://hscnt7.americas.dowcornusa.com/engserv/functions.js"></SCRIPT>

<basefont face="Arial" color="BLACK" size=3>


<!--webbot bot="Include" U-Include="header.htm" TAG="BODY" startspan -->
<SCRIPT src="http://hscnt7.americas.dowcornusa.com/engserv/_private/_menutools.js"></SCRIPT>
<SCRIPT src="http://hscnt7.americas.dowcornusa.com/engserv/_private/_global.js"></SCRIPT>
<SCRIPT src="http://hscnt7.americas.dowcornusa.com/engserv/hsceng/_private/_local.js"></SCRIPT>
<SCRIPT language="javascript">
writeHeader();
</SCRIPT>
<!--webbot bot="Include" i-checksum="30154" endspan --><p>&nbsp;</p>

<div align="center">
<center>

<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0" width="864">
<TR><TD HEIGHT="20" align="center" width="220"></TD></TR>
<TR>

<!-- START INTRO PANEL -->
<TD VALIGN="TOP" align="center" width="220">
<div align="center">
<center>
<TABLE WIDTH="192" BORDER="0" CELLSPACING="0" CELLPADDING="5">
<TR><TD width="180"><img border="0" src="images/falcon.gif" width="95" height="72"></TD></TR>
</center>
</center>
<TR><TD bgcolor="#FFFFFF" width="180">
<p align="left">
<span class=body><font color="#000080"><b>Welcome to the Search/View/Print page.&nbsp;</b></font><br>
<br>
Engineering documents and drawings are available to search, view,
and print through the intranet.<br>
<br>
Documents and drawings may be accessed using a variety of search criteria or with quick searches.</span>
<p align="left">
<span class=body><b><font size="2"><span style="background-color: #FFFF00"><a href="java script:newWindow('http://hscnt7.americas.dowcornusa.com/falcon/searchtips/downloadinstructions.htm',475,475)">Drawing
Viewer Update</a></span> &nbsp;</font></b>
</span></p>
<p align="left">
<span class=body><b>First time users</b>:&nbsp; To view drawings <a href="java script:newWindow('http://hscnt7.americas.dowcornusa.com/falcon/searchtips/downloadinstructions.htm',475,475)">download
the viewer.</a><br>
<br>
<a href="java script:newWindow('http://hscnt7.americas.dowcornusa.com/falcon/searchtips/searchtipstable.htm',500,600)">
Tips for searching</a> &nbsp;<br>
<a href="java script:newWindow('http://hscnt7.americas.dowcornusa.com/falcon/searchtips/viewingtips.htm',625,400)">Tips for
viewing drawings<br>
</a>&nbsp;<br>
</span><a href="http://corpnt4c/engineering/default.htm"><img border="0" src="Images/ezweb.gif" width="168" height="22"></a></p>
</TD>
<center>

<center>
<TR><TD height="30" valign="bottom" width="180">&nbsp;
<p>&nbsp;</TD></TR>
</TABLE>
</center>
</div>
</center>
</TD>
<!-- END INTRO PANEL -->
<TD WIDTH="6" align="center"></TD>
__________________

midntcowboy25 is offline   Reply With Quote
Old 02-14-2005, 01:11 PM   #2
Baseband Member
 
Join Date: Feb 2005
Posts: 21
Default

Part 2:

<TD VALIGN="TOP" align="center" width="360">

<table width="360" cellpadding="2" border="0" align="center">
<form action='/scripts/falcon/dmswebs.exe' method='POST' Name='submitSearch'>
<input type=hidden name="startForm">
<input type=hidden name="RequestMode" value="JobRequestMode">
<input type=hidden name="SessionID" value="userid">
<TR>
<TD HEIGHT="30" COLSPAN="3" ALIGN="CENTER" VALIGN="TOP"><span class=docsearch>&nbsp;EMTN Search</span></TD></TR>
<tr>
<td align="left"><span class=form>DESCRIPTION</td>
<td align="left"><INPUT TYPE=text Name="Description" Size=30></td>

<table border=1>
<tr>
<td align="center"><span class=form>Discipline</td>
<td>
<select name="dropdn1" OnChange="change_form();">
<option name="civ-arc" value="civ-arc" SELECTED>civ-arc</option>
<option name="elec" value="elec">elec</option>
<option name="instr" value="instr">instr</option>
<option name="mech" value="mech">mech</option>
<option name="process" value="process">process</option>
</select>
</td>
<td align="center"><span class=form>Sub-Discipline</td>
<td>
<div id="formxyz">
<select name="subselect">
<option value="1" name="1">ARCHITECTURAL</option>
<option value="1" name="1">CADD</option>
<option value="1" name="1">CONCRETE/COATINGS</option>
<option value="1" name="1">CONTAINMENT</option>
<option value="1" name="1">DESIGN</option>
<option value="1" name="1">DOORS & WINDOWS</option>
<option value="1" name="1">FIRE PROTECTION</option>
<option value="1" name="1">MASONRY</option>
<option value="1" name="1">MATERIAL HANDLING</option>
<option value="1" name="1">REGULATORY</option>
<option value="1" name="1">SITEWORK</option>
<option value="1" name="1">STRUCTURAL METALS</option>
<option value="1" name="1">WELDING</option>
</select>
</div>
</td>
</tr>
</table>
</body>
</html>
</script>
<html>
<body>

</tr>
<tr><td align="right"><span class=form>FILENAME</td>
<td align="left"><INPUT TYPE=text Name="Filename" Size=15></td>

</tr>
<tr><td colspan=3 align=center>
<div align="center">
<center>
<table>
<tr>
<td align=center><input type="submit" value="Search"></td>
<td align=center><input type="reset" value="Clear" name="B2"></td>
</tr>
</table>
</center>
</div>
</td></tr>

</table>
</form>

</TD>
<!-- END SEARCH FORM -->
<!-- <TD WIDTH="10"></TD> -->
__________________

midntcowboy25 is offline   Reply With Quote
Old 02-14-2005, 04:14 PM   #3
Site Team
 
root's Avatar
 
Join Date: Mar 2004
Posts: 8,007
Default Re: One last thing root.

without meaning to be insulting...
Have you used a layout program like front page or dream weaver?
My guess is no.
and thats not a bad thing, but the code you've written is all over the place. perhaps you should aquire a copy of dream weaver, that will let you design graphically whilst keeping a rigid control over the actual HTML?
Now I don't mean this as an insult, i've coppied the code into turbopad, (which line lables and highlights syntax).
line 120 head tag closed body tag not opened.
147 two center tags closed whilst inside a table where no centre tags are opened.
172 cell tage closed, but row tage not closed before a new row is started.
173 / 175 two centre tags opened?
lines 184 185 two cells opened, but the first row of the table only has one cell. the second row has three.
188 / 257 the form is finished outside of the table it is started in.
232 - 236
you finish the body, finish the ocument, finish a script (but there is no start for this script) then you re-open the document, and reopen the body, to finish the tables that are started earlier.
on 259 you finish a cell outside of a table. I've gotten a little lost in the code and can't quite decide whether this cel is actually opene, but I don't think it is...

What I sugest you do is use a syntax highlighting editor, (I use turbopad) notepad2 is also great, as is code genie and edit plus (they are all free apart from edit plus).
set the tab indent to a reasonablysmall amount and each time you open an element increase the left tab stops, this will help you keep track of what elements are open, when you close them, remove a tab stop.then if you are tab stops over or short at the end you know to inspect the code.

That ecture one 'good practise' aside.
the problem was..
your form is called submitSearch but you refere to the bjecs as document.form1.dropdn1.value
this should be document.submitSearch.cropdn1.value
Code:
<html>
    <head>
        <SCRIPT LANGUAGE="JavaScript">
            <!--
            function dmsJS_submitHrefSearchCIVARC(){document.submitSearchCIVARC.submit()}
            function dmsJS_submitHrefSearchELEC(){document.submitSearchELEC.submit()}
            function dmsJS_submitHrefSearchINSTR(){document.submitSearchINSTR.submit()}
            function dmsJS_submitHrefSearchMECH(){document.submitSearchMECH.submit()}
            function dmsJS_submitHrefSearchPROCESS(){document.submitSearchPROCESS.submit()}
            // -->
            function change_form()
            {
                var el = document.getElementById? document.getElementById('formxyz'): document.all['formxyz'];
                var formx1 = "<select name=\"subselect\"><option value=\"1\" name=\"1\">ARCHITECTURAL</option><option value=\"1\" name=\"1\">CADD</option><option value=\"1\" name=\"1\">CONCRETE/COATINGS</option><option value=\"1\" name=\"1\">CONTAINMENT</option><option value=\"1\" name=\"1\">DESIGN</option><option value=\"1\" name=\"1\">DOORS & WINDOWS</option><option value=\"1\" name=\"1\">FIRE PROTECTION</option><option value=\"1\" name=\"1\">MASONRY</option><option value=\"1\" name=\"1\">MATERIAL HANDLING</option><option value=\"1\" name=\"1\">REGULATORY</option><option value=\"1\" name=\"1\">SITEWORK</option><option value=\"1\" name=\"1\">STRUCTURAL METALS</option><option value=\"1\" name=\"1\">WELDING</option></select>";
                var formx2 = "<select name=\"subselect\"><option value=\"1\" name=\"1\">ANALYZER</option><option value=\"1\" name=\"1\">AREA CLASSIFICATION</option><option value=\"1\" name=\"1\">BASIC MATLS/METHODS</option><option value=\"1\" name=\"1\">BUILDING POWER SYS</option><option value=\"1\" name=\"1\">CADD</option><option value=\"1\" name=\"1\">COMMUNICATIONS</option><option value=\"1\" name=\"1\">CONTROL SYSTEMS</option><option value=\"1\" name=\"1\">CRITICAL CONTROL SYS</option><option value=\"1\" name=\"1\">DCS</option><option value=\"1\" name=\"1\">DESIGN</option><option value=\"1\" name=\"1\">ELEC GROUNDING</option><option value=\"1\" name=\"1\">ELEC HEAT TRACING</option><option value=\"1\" name=\"1\">ELEC HEATING</option><option value=\"1\" name=\"1\">FILTRATION</option><option value=\"1\" name=\"1\">LIGHTING</option><option value=\"1\" name=\"1\">MOTOR</option><option value=\"1\" name=\"1\">MOTOR CONTROL</option><option value=\"1\" name=\"1\">POWER DISTRIBUTION</option><option value=\"1\" name=\"1\">SS/EW</option></select>";
                var formx3 = "<select name=\"subselect\"><option value=\"1\" name=\"1\">ANALYZER</option><option value=\"1\" name=\"1\">BASIC MATLS/METHODS</option><option value=\"1\" name=\"1\">CONTROL SYSTEMS</option><option value=\"1\" name=\"1\">ESD/SIS</option><option value=\"1\" name=\"1\">HSC INSTRUMENT</option><option value=\"1\" name=\"1\">INVENTORY MEASUREMENT</option><option value=\"1\" name=\"1\">PROCESS CONTROLS</option><option value=\"1\" name=\"1\">PROCESS INSTRUMENTS</option><option value=\"1\" name=\"1\">PROCESS MEASUREMENT</option><option value=\"1\" name=\"1\">VALVE INSTR</option></select>";
                var formx4 = "<select name=\"subselect\"><option value=\"1\" name=\"1\">CADD</option><option value=\"1\" name=\"1\">COMPRESSOR</option><option value=\"1\" name=\"1\">CORP SAFETY</option><option value=\"1\" name=\"1\">FILTRATION</option><option value=\"1\" name=\"1\"FIRE PROTECTION</option><option value=\"1\" name=\"1\">GASKET</option><option value=\"1\" name=\"1\">HEAT EXCHANGER</option><option value=\"1\" name=\"1\">HVAC</option><option value=\"1\" name=\"1\">INSULATION</option><option value=\"1\" name=\"1\">LINED PIPING & VALVE</option><option value=\"1\" name=\"1\">NDT/EQUIPMENT RELIAB</option><option value=\"1\" name=\"1\">P&ID SYMBOLOGY</option><option value=\"1\" name=\"1\">PAINTING</option><option value=\"1\" name=\"1\">PIPING</option><option value=\"1\" name=\"1\">PRESSURE VESSEL</option><option value=\"1\" name=\"1\">PRESSURIZED EQUIP</option><option value=\"1\" name=\"1\">PUMPS</option><option value=\"1\" name=\"1\">REFRIGERATION</option><option value=\"1\" name=\"1\">RELIEF SYSTEMS</option><option value=\"1\" name=\"1\">ROTATING EQUIPMENT</option><option value=\"1\" name=\"1\">SS/EW</option><option value=\"1\" name=\"1\">TANK LININGS & CORRO</option><option value=\"1\" name=\"1\">VACUUM SYSTEMS</option><option value=\"1\" name=\"1\">VALVES</option></select>";
                var formx5 = "<select name=\"subselect\"><option value=\"1\" name=\"1\">CADD</option><option value=\"1\" name=\"1\">PROJ DESIGN MANUAL</option><option value=\"1\" name=\"1\">3b</option><option value=\"1\" name=\"1\">4b</option></select>";
                if (document.submitSearch.dropdn1.value=="civ-arc")
                {
                    if (el && typeof el.innerHTML != "undefined") el.innerHTML = formx1;
                }
                if (document.submitSearch.dropdn1.value=="elec")
                {
                    if (el && typeof el.innerHTML != "undefined") el.innerHTML = formx2;
                }
                if (document.submitSearch.dropdn1.value=="instr")
                {
                    if (el && typeof el.innerHTML != "undefined") el.innerHTML = formx3;
                }
                if (document.submitSearch.dropdn1.value=="mech")
                {
                    if (el && typeof el.innerHTML != "undefined") el.innerHTML = formx4;
                }
                if (document.submitSearch.dropdn1.value=="process")
                {
                    if (el && typeof el.innerHTML != "undefined") el.innerHTML = formx5;
                }
            }
        </script>
        <STYLE type="text/css">
            .body {
                color: #000000;
                font-family: Verdana;
                font-weight: normal;
                font-size:9pt;
            }
            .form {
                color: #404040;
                font-size:8pt;
                margin-top: 0px;
                font-family: verdana;
                font-weight:normal;
                font-variant:small-caps;
            }
            .docsearch {
                color: #404040;
                font-size:10pt;
                margin-top: 0px;
                font-family: verdana;
                font-weight:bold;
                font-variant:small-caps;
            }
            .quicksearch {
                color: ##000080;
                font-size:9pt;
                margin-top: 0px;
                font-family: verdana;
                font-weight:bold;
                font-variant:small-caps;
            }
            .date {
                margin-left:10px;
                margin-right:5px;
                color: #cccc99;
                font-size:8pt;
                margin-top: 0px;
                font-family: verdana;
                font-weight:bold;
                font-variant:small-caps;
            }
            A:link {
                COLOR: blue;
                TEXT-DECORATION: none
            }
            A:visited {
                COLOR: blue;
                TEXT-DECORATION: none
            }
            A:active {
                COLOR: blue;
                TEXT-DECORATION: none
            }
            A:hover {
                TEXT-DECORATION: underline
            }
        </STYLE>
    </head>
root is offline   Reply With Quote
Old 02-14-2005, 04:15 PM   #4
Site Team
 
root's Avatar
 
Join Date: Mar 2004
Posts: 8,007
Default Re: One last thing root.

Code:
    <body>
        <SCRIPT src="http://hscnt7.americas.dowcornusa.com/engserv/functions.js"></SCRIPT>
        <basefont face="Arial" color="BLACK" size=3>
        <!--webbot bot="Include" U-Include="header.htm" TAG="BODY" startspan -->
        <SCRIPT src="http://hscnt7.americas.dowcornusa.com/engserv/_private/_menutools.js"></SCRIPT>
        <SCRIPT src="http://hscnt7.americas.dowcornusa.com/engserv/_private/_global.js"></SCRIPT>
        <SCRIPT src="http://hscnt7.americas.dowcornusa.com/engserv/hsceng/_private/_local.js"></SCRIPT>
        <SCRIPT language="javascript">
            writeHeader();
        </SCRIPT>
        <!--webbot bot="Include" i-checksum="30154" endspan --><p>&nbsp;</p>
        <div align="center">
            <center>
                <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0" width="864">
                    <TR>
                        <TD HEIGHT="20" align="center" width="220">
                        </TD>
                    </TR>
                    <TR>
                        <!-- START INTRO PANEL -->
                        <TD VALIGN="TOP" align="center" width="220">
                            <div align="center">
                                <center>
                                    <TABLE WIDTH="192" BORDER="0" CELLSPACING="0" CELLPADDING="5">
                                        <TR>
                                            <TD width="180">
                                                <img border="0" src="images/falcon.gif" width="95" height="72">
                                            </TD>
                                        </TR>
                                        <TR>
                                            <TD bgcolor="#FFFFFF" width="180">
                                                <p align="left">
                                                    <span class=body>
                                                        <font color="#000080">
                                                            <b>
                                                                Welcome to the Search/View/Print page.&nbsp;
                                                            </b>
                                                        </font>
                                                        <br>
                                                        <br>
                                                        Engineering documents and drawings are available to search, view,
                                                        and print through the intranet.<br>
                                                        <br>
                                                        Documents and drawings may be accessed using a variety of search criteria or with quick searches.</span>
                                                        <p align="left">
                                                            <span class=body>
                                                                <b>
                                                                    <font size="2">
                                                                        <span style="background-color: #FFFF00">
                                                                            <a href="java script:newWindow('http://hscnt7.americas.dowcornusa.com/falcon/searchtips/downloadinstructions.htm',475,475)">
                                                                                Drawing Viewer Update
                                                                            </a>
                                                                        </span>
                                                                        &nbsp;
                                                                    </font>
                                                                </b>
                                                            </span>
                                                        </p>
                                                        <p align="left">
                                                            <span class=body>
                                                                <b>
                                                                    First time users
                                                                </b>
                                                                :&nbsp; To view drawings
                                                                <a href="java script:newWindow('http://hscnt7.americas.dowcornusa.com/falcon/searchtips/downloadinstructions.htm',475,475)">
                                                                    download the viewer.
                                                                </a>
                                                                <br>
                                                                <br>
                                                                <a href="java script:newWindow('http://hscnt7.americas.dowcornusa.com/falcon/searchtips/searchtipstable.htm',500,600)">
                                                                    Tips for searching
                                                                </a>
                                                                &nbsp;
                                                                <br>
                                                                <a href="java script:newWindow('http://hscnt7.americas.dowcornusa.com/falcon/searchtips/viewingtips.htm',625,400)">
                                                                    Tips for viewing drawings
                                                                    <br>
                                                                </a>
                                                                &nbsp;
                                                                <br>
                                                            </span>
                                                            <a href="http://corpnt4c/engineering/default.htm">
                                                                <img border="0" src="Images/ezweb.gif" width="168" height="22">
                                                            </a>
                                                        </p>
                                                    </span>
                                                </p>
                                            </TD>
                                        </TR>
                                        <TR>
                                            <TD height="30" valign="bottom" width="180">
                                                &nbsp;
                                                <p>
                                                    &nbsp;
                                                </p>
                                            </TD>
                                        </TR>
                                    </TABLE>
                                </center>
                            </div>
                        </TD>
                        <!-- END INTRO PANEL -->
                        <TD WIDTH="6" align="center">
                        </TD>
                        <TD VALIGN="TOP" align="center" width="360">
root is offline   Reply With Quote
Old 02-14-2005, 04:15 PM   #5
Site Team
 
root's Avatar
 
Join Date: Mar 2004
Posts: 8,007
Default Re: One last thing root.

Code:
                           <table width="360" cellpadding="2" border="0" align="center">
                                <form action='/scripts/falcon/dmswebs.exe' method='POST' Name='submitSearch'>
                                    <TR>
                                        <TD HEIGHT="30" COLSPAN="3" ALIGN="CENTER" VALIGN="TOP">
                                            <input type=hidden name="startForm">
                                            <input type=hidden name="RequestMode" value="JobRequestMode">
                                            <input type=hidden name="SessionID" value="userid">
                                            <span class=docsearch>
                                                &nbsp;EMTN Search
                                            </span>
                                        </TD>
                                    </TR>
                                    <tr>
                                        <td align="left">
                                            <span class=form>
                                                DESCRIPTION
                                            </span>
                                        </td>
                                        <td align="left"><INPUT TYPE=text Name="Description" Size=30></td>
                                            <table border=1>
                                                <tr>
                                                    <td align="center">
                                                        <span class=form>
                                                            Discipline
                                                        </span>
                                                    </td>
                                                    <td>
                                                        <select name="dropdn1" OnChange="change_form();">
                                                            <option name="civ-arc" value="civ-arc" SELECTED>civ-arc</option>
                                                            <option name="elec" value="elec">elec</option>
                                                            <option name="instr" value="instr">instr</option>
                                                            <option name="mech" value="mech">mech</option>
                                                            <option name="process" value="process">process</option>
                                                        </select>
                                                    </td>
                                                    <td align="center"><span class=form>
                                                        Sub-Discipline
                                                    </td>
                                                    <td>
                                                        <div id="formxyz">
                                                            <select name="subselect">
                                                                <option value="1" name="1">ARCHITECTURAL</option>
                                                                <option value="1" name="1">CADD</option>
                                                                <option value="1" name="1">CONCRETE/COATINGS</option>
                                                                <option value="1" name="1">CONTAINMENT</option>
                                                                <option value="1" name="1">DESIGN</option>
                                                                <option value="1" name="1">DOORS & WINDOWS</option>
                                                                <option value="1" name="1">FIRE PROTECTION</option>
                                                                <option value="1" name="1">MASONRY</option>
                                                                <option value="1" name="1">MATERIAL HANDLING</option>
                                                                <option value="1" name="1">REGULATORY</option>
                                                                <option value="1" name="1">SITEWORK</option>
                                                                <option value="1" name="1">STRUCTURAL METALS</option>
                                                                <option value="1" name="1">WELDING</option>
                                                            </select>
                                                        </div>
                                                    </td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right">
                                            <span class=form>
                                                FILENAME
                                            </span>
                                        </td>
                                        <td align="left">
                                            <INPUT TYPE=text Name="Filename" Size=15>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td colspan=3 align=center>
                                            <div align="center">
                                                <center>
                                                    <table>
                                                        <tr>
                                                            <td align=center>
                                                                <input type="submit" value="Search">
                                                            </td>
                                                            <td align=center>
                                                                <input type="reset" value="Clear" name="B2">
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </center>
                                            </div>
                                        </td>
                                    </tr>
                                </form>
                            </table>
                        </TD>
                    </tr>
                </table>
            </center>
        </div>
    </body>
</html>
<!-- END SEARCH FORM -->
root is offline   Reply With Quote
Old 02-15-2005, 07:35 AM   #6
Baseband Member
 
Join Date: Feb 2005
Posts: 21
Default

Well root thanks again. I was using Frontpage 2003, why the lines were so out of order was because Im obviously new to this and I was just trying to learn a few things with javascripting without using frontpage. Thanks for the suggestions on those other editors, I will try them out and maybe they will help me keep my code a little more ordered.
__________________

midntcowboy25 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is 12:26 AM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0