Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

navigation question ... ??

Status
Not open for further replies.

Dre313

Technical User
Jun 4, 2003
219
US
I have made my main page with a script as my navigation menu...

What I want to know is.. Is there a way when i click on a link on the page it'll go in the middle of the page... instead of having to copy the scripted nav menu to all of the pages..

something like my nav menu is my header... when i click any link from the menu it'll display it in the middle .. that way if I have to change anything on the nav menu .. the only thing i have to change is the menu and not all the pages the menu is on..

HEres my code.. sorry its kinda messy::


<html>

<head>
<style>

a.menuNav {
color:black;
text-decoration:none;
font:normal 5pt Verdana, Arial;
background:eek:range;
width:100%;
height:100%;
padding:2 2 2 2;/*use this here to give the space between links. (top,right,bottom,left)*/
}
a.menuNav:hover{
text-decoration:none;
background:#FFcc66;
color:black;
}


table.menu
{
font-size:100%;
position:absolute;
visibility:hidden;

}
</style>

<meta http-equiv=&quot;content-type&quot; content=&quot;text/html; charset=utf-8&quot;>
<title>SRW Home Page</title>


<!-- BEGIN HEAD COMPONENT -->
<script language=&quot;javascript&quot;>
var homePage = 'no';
</script>
<meta name=&quot;Keywords&quot; content=&quot;&quot;>
<script language=&quot;JavaScript&quot;>
<!--

// PLATFORM/BROWSER SNIFFER FOR STYLESHEET INCLUDE

var browser = navigator.appName;
var ie = &quot;Microsoft Internet Explorer&quot;;
var netscape = &quot;Netscape&quot;;
var os = navigator.platform;
var mac = 'MacPPC';
var pccsspath = &quot;corp/includes/dupont.css&quot;;
var maccsspath = &quot;corp/includes/dupontmac.css&quot;;

if (browser == netscape && os != mac) {
document.write('<link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; title=&quot;css&quot; href=&quot;/dupontglobal/corp/includes/dupont_nn.css&quot;>');
}
else if (browser == ie && os != mac) {
document.write('<link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; title=&quot;css&quot; href=&quot;/dupontglobal/corp/includes/dupont.css&quot;>');
}
else if (browser == netscape && os == mac) {
document.write('<link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; title=&quot;css&quot; href=&quot;/dupontglobal/corp/includes/dupont_nn.css&quot;>');
}
else if (browser == ie && os == mac) {
document.write('<link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; title=&quot;css&quot; href=&quot;/dupontglobal/corp/includes/dupontmac.css&quot;>');
}


// Dropdown Menu With Go Button navigating to page within site
function navigate() {
var menuIndex = document.formExplore.selectMenu.selectedIndex;
document.location = document.formExplore.selectMenu.options[menuIndex].value;
}

//-->
</script>
<script language=&quot;JavaScript1.2&quot; src=&quot;../includes/TopNav.js&quot;></script>
<!-- END HEAD COMPONENT -->
<style type=&quot;text/css&quot;>
<!--
@import url(&quot;-->
</style>
<!-- End 1st row nav (red nav) -->

<base target=&quot;middle&quot;>

<script type=&quot;text/javascript&quot;>
function showmenu(elmnt)
{
document.all(elmnt).style.visibility=&quot;visible&quot;
}

function hidemenu(elmnt)
{
document.all(elmnt).style.visibility=&quot;hidden&quot;
}
</script>

</head>
<body bgcolor=&quot;#ffffff&quot;>


<!-- BEGIN HEADER ROW -->
<table>
<tr>
<td width=&quot;750&quot; valign=&quot;top&quot;>


<!-- BEGIN HEADER COMPONENT -->

<table border=&quot;0&quot; width=&quot;750&quot; height=&quot;210&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;>

<!-- Begin Section Header and DuPont Logo -->
<!-- End Section Header and DuPont Logo -->
<tr>
<td height=&quot;210&quot;>
<table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;722&quot;>

<!-- BEGIN HEADER ROW -->
<tr>
<td width=&quot;750&quot;>

<!-- BEGIN HEADER COMPONENT -->

<table border=&quot;0&quot; width=&quot;764&quot; height=&quot;148&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;>

<!-- Begin Section Header and DuPont Logo -->
<tr>

<td align=&quot;left&quot; colspan=&quot;2&quot; valign=&quot;middle&quot; height=&quot;48&quot; width=&quot;414&quot;><a name=&quot;top&quot;></a><img border=&quot;0&quot; src=&quot;SabineBusiness.JPG&quot; width=&quot;234&quot; height=&quot;46&quot;></td>
<td align=&quot;right&quot; valign=&quot;middle&quot; height=&quot;48&quot; width=&quot;362&quot;></td>

</tr>
<!-- End Section Header and DuPont Logo -->
<tr>
<td colspan=&quot;3&quot; height=&quot;22&quot; width=&quot;778&quot;><img src=&quot; width=&quot;1&quot; height=&quot;20&quot; border=&quot;0&quot; alt=&quot;&quot;></td>
</tr>
<tr>
<td colspan=&quot;3&quot; height=&quot;78&quot; width=&quot;778&quot;>
<table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;780&quot;>
<!-- Begin Navigation Bar -->
<tr>
<!-- Begin Language/Country select -->

<td colspan=&quot;4&quot; class=&quot;body&quot; width=&quot;776&quot;><img src=&quot; height=&quot;21&quot; width=&quot;125&quot; border=&quot;0&quot;></td>

<!-- End Language/Country select -->
</tr>
<!-- Begin 1st row nav (red nav) -->
<tr>
<!-- Begin Search -->
<form name=&quot;seek1&quot; action=&quot;/NASApp/dupontglobal/corp/tmpl_search.jsp&quot; accept-charset=&quot;iso-8859-1&quot; method=&quot;GET&quot;><INPUT NAME=&quot;GXHC_gx_session_id_&quot; TYPE=&quot;HIDDEN&quot; VALUE=&quot;05925ad3c4edbaa8&quot; ><INPUT NAME=&quot;GXHC_lang&quot; TYPE=&quot;HIDDEN&quot; VALUE=&quot;en_US&quot; ><INPUT NAME=&quot;GXHC_ctry&quot; TYPE=&quot;HIDDEN&quot; VALUE=&quot;US&quot; >
<input type=hidden name=la value=&quot;en&quot;>
<input type=hidden name=col value=&quot;duptest&quot;>

<td rowspan=&quot;2&quot; width=&quot;370&quot;><img src=&quot; width=&quot;15&quot; height=&quot;1&quot; border=&quot;0&quot; alt=&quot;&quot;></td>
<td width=&quot;125&quot;><img src=&quot; <td width=&quot;125&quot;><img src=&quot; <td width=&quot;152&quot;><img src=&quot; </tr>
<tr>
<td valign=&quot;bottom&quot; width=&quot;125&quot;><img border=&quot;0&quot; src=&quot;epass_logo.bmp&quot; width=&quot;125&quot; height=&quot;25&quot;></td>
<td valign=&quot;bottom&quot; width=&quot;125&quot;><img border=&quot;0&quot; src=&quot;mail_logo.bmp&quot; width=&quot;125&quot; height=&quot;25&quot;></td>
<td valign=&quot;bottom&quot; width=&quot;152&quot;><img border=&quot;0&quot; src=&quot;diso_logo.bmp&quot; width=&quot;125&quot; height=&quot;25&quot;></td>
</form>
<!-- End Search -->
<!-- Begin 2nd row nav (grey nav) -->
</tr>

<tr>
<!-- Begin left curve and section title --><!-- End left curve and section title -->
<!-- Begin Section Header art --><!-- End Section Header art -->
<!-- Begin Worldwide graphics cell --><!-- End Worldwide graphics cell -->
</tr>

</table>

<!-- END HEADER COMPONENT -->

<!-- END HEADER ROW -->


<!-- BEGIN BREADCRUMB ROW --><!-- END BREADCRUMB ROW -->

<!-- BEGIN CONTENT ROW --><!-- END FOOTER ROW -->



<!-- BEGIN Keylime Limelight script -->

<SCRIPT LANGUAGE=&quot;JavaScript&quot;>
<!-- Keylime Software 4.1 13/07/2000
var kl_siteID = &quot;600&quot;;
var kl_tagProtocol = &quot;&quot;;
var kl_akamaipath = &quot;a1944.g.akamai.net/f/1944/1482/8h/&quot;;
if (location.protocol == &quot;https:&quot;)
{
kl_tagProtocol = &quot;s&quot;;
kl_akamaipath = &quot;a248.e.akamai.net/f/248/1482/8h/&quot;
}
var kl_tag = &quot;<SCR&quot; + &quot;IPT LANGUAGE='JavaScript' &quot; +
&quot;SRC=http&quot; + kl_tagProtocol + &quot;://&quot; + kl_akamaipath +
&quot;stats.klsoft.com/akamai/Site_&quot; + kl_siteID + kl_tagProtocol + &quot;_ePulse.js&quot; +
&quot;></SCR&quot; + &quot;IPT>&quot;;
document.write(kl_tag);
// -->
</SCRIPT>
<!-- END Keylime Limelight script -->



<table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;750&quot;>
<tr>

<td onmouseover=&quot;showmenu('menu1')&quot; onmouseout=&quot;hidemenu('menu1')&quot; width=&quot;127&quot; >
<img border=&quot;0&quot; src=&quot;business_logo.bmp&quot; width=&quot;125&quot; height=&quot;19&quot;><br />
<table class=&quot;menu&quot; id=&quot;menu1&quot; width=&quot;125&quot; cellspacing=&quot;1&quot; cellpadding=&quot;0&quot; >
<tr><td ><a class=&quot;menuNav&quot; href=&quot;../html&quot;><font size=&quot;1&quot; color=&quot;#000000&quot;>Adipure</a></font></td></tr>
<tr><td ><a class=&quot;menuNav&quot; href=&quot;../xhtml&quot;><font size=&quot;1&quot; color=&quot;#000000&quot;>BSD</a></td></tr>
<tr><td ><a class=&quot;menuNav&quot; href=&quot;../css&quot;><font size=&quot;1&quot; color=&quot;#000000&quot;>Building 5 NIL</a></td></tr>
<tr><td ><a class=&quot;menuNav&quot; href=&quot;../xml&quot;><font size=&quot;1&quot; color=&quot;#000000&quot;>CAD</a></td></tr>
<tr><td ><a class=&quot;menuNav&quot; href=&quot;../xsl&quot;><font size=&quot;1&quot; color=&quot;#000000&quot;>CDG</a></td></tr>
<tr><td ><a class=&quot;menuNav&quot; href=&quot;../xsl&quot;><font size=&quot;1&quot; color=&quot;#000000&quot;>CSD</a></td></tr>
<tr><td ><a class=&quot;menuNav&quot; href=&quot;../xsl&quot;><font size=&quot;1&quot; color=&quot;#000000&quot;>Diamine</a></td></tr>
<tr><td ><a class=&quot;menuNav&quot; href=&quot;../xsl&quot;><font size=&quot;1&quot; color=&quot;#000000&quot;>Environmental</a></td></tr>
<tr><td ><a class=&quot;menuNav&quot; href=&quot;../xsl&quot;><font size=&quot;1&quot; color=&quot;#000000&quot;>Ethylene</a></td></tr>
<tr><td ><a class=&quot;menuNav&quot; href=&quot;../xsl&quot;><font size=&quot;1&quot; color=&quot;#000000&quot;>Ethylene Copolymers Lab</a></td></tr>
<tr><td ><a class=&quot;menuNav&quot; href=&quot;../xsl&quot;><font size=&quot;1&quot; color=&quot;#000000&quot;>HMD</a></td></tr>
<tr><td ><a class=&quot;menuNav&quot; href=&quot;../xsl&quot;><font size=&quot;1&quot; color=&quot;#000000&quot;>Human Resources - DTI</a></td></tr>
<tr><td ><a class=&quot;menuNav&quot; href=&quot;../xsl&quot;><font size=&quot;1&quot; color=&quot;#000000&quot;>Human Resources - P&IP</a></td></tr>
<tr><td ><a class=&quot;menuNav&quot; href=&quot;../xsl&quot;><font size=&quot;1&quot; color=&quot;#000000&quot;>Incinerator</a></td></tr>
<tr><td ><a class=&quot;menuNav&quot; href=&quot;../xsl&quot;><font size=&quot;1&quot; color=&quot;#000000&quot;>Info System - DTI</a></td></tr>
<tr><td ><a class=&quot;menuNav&quot; href=&quot;../xsl&quot;><font size=&quot;1&quot; color=&quot;#000000&quot;>Info Technology - P&IP</a></td></tr>
<tr><td ><a class=&quot;menuNav&quot; href=&quot;../xsl&quot;><font size=&quot;1&quot; color=&quot;#000000&quot;>Power</a></td></tr>
<tr><td ><a class=&quot;menuNav&quot; href=&quot;../xsl&quot;><font size=&quot;1&quot; color=&quot;#000000&quot;>Research Lab B-568</a></td></tr>
<tr><td ><a class=&quot;menuNav&quot; href=&quot;../xsl&quot;><font size=&quot;1&quot; color=&quot;#000000&quot;>Safety & Occupational Health</a></td></tr>
<tr><td ><a class=&quot;menuNav&quot; href=&quot;../xsl&quot;><font size=&quot;1&quot; color=&quot;#000000&quot;>Site Training</a></td></tr>
<tr><td ><a class=&quot;menuNav&quot; href=&quot;../xsl&quot;><font size=&quot;1&quot; color=&quot;#000000&quot;>Site Servies</a></td></tr>

</table>
</td>

<td onmouseover=&quot;showmenu('menu2')&quot; onmouseout=&quot;hidemenu('menu2')&quot; width=&quot;127&quot; >
<img border=&quot;0&quot; src=&quot;teams_logo.bmp&quot; width=&quot;125&quot; height=&quot;19&quot;><br />
<table class=&quot;menu&quot; id=&quot;menu2&quot; width=&quot;125&quot; cellspacing=&quot;1&quot; cellpadding=&quot;0&quot; >
<tr><td ><a class=&quot;menuNav&quot; href=&quot;../html&quot;><font size=&quot;1&quot; color=&quot;#000000&quot;>Adipure SES CARE Team</a></td></tr>
<tr><td ><a class=&quot;menuNav&quot; href=&quot;../xhtml&quot;><font size=&quot;1&quot; color=&quot;#000000&quot;>DuPont Asian Group</a></td></tr>
<tr><td ><a class=&quot;menuNav&quot; href=&quot;../css&quot;><font size=&quot;1&quot; color=&quot;#000000&quot;>ESAC</a></td></tr>
<tr><td ><a class=&quot;menuNav&quot; href=&quot;../xml&quot;><font size=&quot;1&quot; color=&quot;#000000&quot;>FLS Network</a></td></tr>
<tr><td ><a class=&quot;menuNav&quot; href=&quot;../xsl&quot;><font size=&quot;1&quot; color=&quot;#000000&quot;>Material Handling Committee</a></td></tr>
<tr><td ><a class=&quot;menuNav&quot; href=&quot;../xsl&quot;><font size=&quot;1&quot; color=&quot;#000000&quot;>New Professionals Group</a></td></tr>
<tr><td ><a class=&quot;menuNav&quot; href=&quot;../xsl&quot;><font size=&quot;1&quot; color=&quot;#000000&quot;>Nylon Techincal Training</a></td></tr>
<tr><td ><a class=&quot;menuNav&quot; href=&quot;../xsl&quot;><font size=&quot;1&quot; color=&quot;#000000&quot;>P&IP</a></td></tr>
<tr><td ><a class=&quot;menuNav&quot; href=&quot;../xsl&quot;><font size=&quot;1&quot; color=&quot;#000000&quot;>P&IP Projects</a></td></tr>
<tr><td ><a class=&quot;menuNav&quot; href=&quot;../xsl&quot;><font size=&quot;1&quot; color=&quot;#000000&quot;>Resource Allocation Committee</a></td></tr>
<tr><td ><a class=&quot;menuNav&quot; href=&quot;../xsl&quot;><font size=&quot;1&quot; color=&quot;#000000&quot;>Sabine Black Network</a></td></tr>
<tr><td ><a class=&quot;menuNav&quot; href=&quot;../xsl&quot;><font size=&quot;1&quot; color=&quot;#000000&quot;>SAP DTI-Sabine</a></td></tr>
<tr><td ><a class=&quot;menuNav&quot; href=&quot;../xsl&quot;><font size=&quot;1&quot; color=&quot;#000000&quot;>SRW Women's Network</a></td></tr>
<tr><td ><a class=&quot;menuNav&quot; href=&quot;../xsl&quot;><font size=&quot;1&quot; color=&quot;#000000&quot;>Targeting Respect Team</a></td></tr>
<tr><td ><a class=&quot;menuNav&quot; href=&quot;../xsl&quot;><font size=&quot;1&quot; color=&quot;#000000&quot;>United Way</a></td></tr>

</table>
</td>

<td onmouseover=&quot;showmenu('menu3')&quot; onmouseout=&quot;hidemenu('menu3')&quot; width=&quot;127&quot; >
<img border=&quot;0&quot; src=&quot;general_logo.bmp&quot; width=&quot;125&quot; height=&quot;19&quot;><br />
<table class=&quot;menu&quot; id=&quot;menu3&quot; width=&quot;100%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;0&quot; >
<tr><td ><a class=&quot;menuNav&quot; href=&quot;../html&quot;><font size=&quot;1&quot; color=&quot;#000000&quot;>Applause Award Nomination</a></td></tr>
<tr><td ><a class=&quot;menuNav&quot; href=&quot;../xhtml&quot;><font size=&quot;1&quot; color=&quot;#000000&quot;>Ariba Buyer</a></td></tr>
<tr><td ><a class=&quot;menuNav&quot; href=&quot;../css&quot;><font size=&quot;1&quot; color=&quot;#000000&quot;>Busniess Review</a></td></tr>
<tr><td ><a class=&quot;menuNav&quot; href=&quot;../xml&quot;><font size=&quot;1&quot; color=&quot;#000000&quot;>DuPont Network News</a></td></tr>
<tr><td ><a class=&quot;menuNav&quot; href=&quot;../xsl&quot;><font size=&quot;1&quot; color=&quot;#000000&quot;>E-Pass Info. Site</a></td></tr>
<tr><td ><a class=&quot;menuNav&quot; href=&quot;../xsl&quot;><font size=&quot;1&quot; color=&quot;#000000&quot;>EPrism</a></td></tr>
<tr><td ><a class=&quot;menuNav&quot; href=&quot;../xsl&quot;><font size=&quot;1&quot; color=&quot;#000000&quot;>General</a></td></tr>
<tr><td ><a class=&quot;menuNav&quot; href=&quot;../xsl&quot;><font size=&quot;1&quot; color=&quot;#000000&quot;>MSDS Central</a></td></tr>
<tr><td ><a class=&quot;menuNav&quot; href=&quot;../xsl&quot;><font size=&quot;1&quot; color=&quot;#000000&quot;>My eResources</a></td></tr>
<tr><td ><a class=&quot;menuNav&quot; href=&quot;../xsl&quot;><font size=&quot;1&quot; color=&quot;#000000&quot;>NI&S Quality Manuals</a></td></tr>
<tr><td ><a class=&quot;menuNav&quot; href=&quot;../xsl&quot;><font size=&quot;1&quot; color=&quot;#000000&quot;>Sabine Conv Ctrs (Alpha)</a></td></tr>
<tr><td ><a class=&quot;menuNav&quot; href=&quot;../xsl&quot;><font size=&quot;1&quot; color=&quot;#000000&quot;>Sabine Conv Ctrs (Comm)</a></td></tr>
<tr><td ><a class=&quot;menuNav&quot; href=&quot;../xsl&quot;><font size=&quot;1&quot; color=&quot;#000000&quot;>Swap Board</a></td></tr>
<tr><td ><a class=&quot;menuNav&quot; href=&quot;../xsl&quot;><font size=&quot;1&quot; color=&quot;#000000&quot;>VICOR Schedule</a></td></tr>
<tr><td ><a class=&quot;menuNav&quot; href=&quot;../xsl&quot;><font size=&quot;1&quot; color=&quot;#000000&quot;>XMS Home Page</a></td></tr>

</table>
</td>

<td onmouseover=&quot;showmenu('menu4')&quot; onmouseout=&quot;hidemenu('menu4')&quot; width=&quot;127&quot; >
<img border=&quot;0&quot; src=&quot;safety_logo.bmp&quot; width=&quot;125&quot; height=&quot;19&quot;><br />
<table class=&quot;menu&quot; id=&quot;menu4&quot; width=&quot;100%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;0&quot; >
<tr><td ><a class=&quot;menuNav&quot; href=&quot;../html&quot;><font size=&quot;1&quot; color=&quot;#000000&quot;>DISO Home Page</a></td></tr>
<tr><td ><a class=&quot;menuNav&quot; href=&quot;../xhtml&quot;><font size=&quot;1&quot; color=&quot;#000000&quot;>DISO Guidelines</a></td></tr>
<tr><td ><a class=&quot;menuNav&quot; href=&quot;../css&quot;><font size=&quot;1&quot; color=&quot;#000000&quot;>Hazard Warning Labels Table</a></td></tr>
<tr><td ><a class=&quot;menuNav&quot; href=&quot;../xml&quot;><font size=&quot;1&quot; color=&quot;#000000&quot;>Info. Security Central</a></td></tr>
<tr><td ><a class=&quot;menuNav&quot; href=&quot;../xsl&quot;><font size=&quot;1&quot; color=&quot;#000000&quot;>Virus Hoax</a></td></tr>


</table>
</td>

<td onmouseover=&quot;showmenu('menu5')&quot; onmouseout=&quot;hidemenu('menu5')&quot; width=&quot;127&quot; >
<img border=&quot;0&quot; src=&quot;travel_logo.bmp&quot; width=&quot;125&quot; height=&quot;19&quot;><br />
<table class=&quot;menu&quot; id=&quot;menu5&quot; width=&quot;100%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;0&quot; >
<tr><td ><a class=&quot;menuNav&quot; href=&quot;../html&quot;><font size=&quot;1&quot; color=&quot;#000000&quot;>Currency Converter</a></td></tr>
<tr><td ><a class=&quot;menuNav&quot; href=&quot;../xhtml&quot;><font size=&quot;1&quot; color=&quot;#000000&quot;>DuPont Travel Web</a></td></tr>
<tr><td ><a class=&quot;menuNav&quot; href=&quot;../css&quot;><font size=&quot;1&quot; color=&quot;#000000&quot;>International Travel</a></td></tr>
<tr><td ><a class=&quot;menuNav&quot; href=&quot;../xml&quot;><font size=&quot;1&quot; color=&quot;#000000&quot;>TX Road Conditions</a></td></tr>
<tr><td ><a class=&quot;menuNav&quot; href=&quot;../xsl&quot;><font size=&quot;1&quot; color=&quot;#000000&quot;>Weather - Orange,TX</a></td></tr>


</table>
</td>

<td onmouseover=&quot;showmenu('menu6')&quot; onmouseout=&quot;hidemenu('menu6')&quot; width=&quot;127&quot; >
<img border=&quot;0&quot; src=&quot;external_logo.bmp&quot; width=&quot;125&quot; height=&quot;19&quot;><br />
<table class=&quot;menu&quot; id=&quot;menu6&quot; width=&quot;100%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;0&quot; >
<tr><td ><a class=&quot;menuNav&quot; href=&quot;../html&quot;><font size=&quot;1&quot; color=&quot;#000000&quot;>DuPont External Site</font></a></td></tr>
<tr><td ><a class=&quot;menuNav&quot; href=&quot;../xhtml&quot;><font size=&quot;1&quot; color=&quot;#000000&quot;>DuPont Fax Cover Sheet</font></a></td></tr>
<tr><td ><a class=&quot;menuNav&quot; href=&quot;../css&quot;><font size=&quot;1&quot; color=&quot;#000000&quot;>DuPont Human Resources</font></a></td></tr>
<tr><td ><a class=&quot;menuNav&quot; href=&quot;../xml&quot;><font size=&quot;1&quot; color=&quot;#000000&quot;>DuPont Stock Prices</font></a></td></tr>
<tr><td ><a class=&quot;menuNav&quot; href=&quot;../xsl&quot;><font size=&quot;1&quot; color=&quot;#000000&quot;>Off-Plant Info.</font></a></td></tr>

</table>
</td>
</tr>
</table>

</body>




THanks so much in advance...
 
cian -

I made the page and loaded on ym browser... it shows my IP address... does this mean that my server supports SSI ??
 
Yep!
Now try something more advanced using gwar2k1 example


Into the same page that shows your IP address put in:

<!--#include virtual=&quot;file.html&quot; -->

create another page in the SAME directory called file.html
and put some content in it, text or anything

When you next load page.shtml you will see file.html inside it.

After that we can go to the next step.. :)







- É -
 
sorry took so long to post back...

ok this is what i have done..

made a page, called it page.shtml and included this..

<!--#echo var=&quot;REMOTE_ADDR&quot; -->
<!--#include virtual=&quot;file.html&quot; -->

ok when i only include the first stmt..
<!--#echo var=&quot;REMOTE_ADDR&quot; -->

the IP address shows up with no problem...

now when i add
<!--#include virtual=&quot;file.html&quot; -->
on the same page (page.shtml)
i get an error...
Error processing SSI file '/file.html'

I have made a seperate page called it &quot;file.html&quot; and it is in the same directory as &quot;page.shtml&quot;

what am I doing wrong ???





 
The error means it probably cannot find the file ie the address might be wrong

There is a big difference between
<!--#include virtual=&quot;file.html&quot; -->
- and -
<!--#include virtual=&quot;/file.html&quot; -->

If file.html is in same directory use:
<!--#include virtual=&quot;file.html&quot; -->

If it is another directory use
<!--#include virtual=&quot;/root/directory/file.html&quot; -->

If your error is showing
Error processing SSI file '/file.html'
then it's looking in the root directory





- É -
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top