Ok I am having a lot of trouble making my Nav bar stay fixed in the upper left corner. Every time i scroll down the nav bar follows down the page. I need some help here is the JS but iam not too sure if my prolbem lays in the HTML.
//----------DHTML Menu Created using AllWebMenus PRO ver 3.1-#522---------------
//M:\Web\solarweb2\serviceparts_qms\serviceparts_qms_menu.awm
var awmMenuName='serviceparts_qms_menu';
var awmLibraryPath='/awmData-serviceparts_qms_menu';
var awmImagesPath='/awmData-serviceparts_qms_menu';
var awmSupported=(navigator.appName + navigator.appVersion.substring(0,1)=="Netscape5" || document.all || document.layers || navigator.userAgent.indexOf('Opera')>-1)?1:0;
if (awmAltUrl!='' && !awmSupported) window.location.replace(awmAltUrl);
if (awmSupported){
var awmMenuPath;
if (document.all) mpi=document.all['awmMenuPathImg-serviceparts_qms_menu'].src;
if (document.layers) mpi=document.images['awmMenuPathImg-serviceparts_qms_menu'].src;
if (navigator.appName + navigator.appVersion.substring(0,1)=="Netscape5" || navigator.userAgent.indexOf('Opera')>-1) mpi=document.getElementById('awmMenuPathImg-serviceparts_qms_menu').src;
awmMenuPath=mpi.substring(0,mpi.length-16);
while (awmMenuPath.search("'")>-1) {awmMenuPath=awmMenuPath.replace("'", "'");}
var nua=navigator.userAgent,scriptNo=(nua.indexOf('Safari')>-1)?7:(nua.indexOf('Gecko')>-1)?2:((document.layers)?3:((nua.indexOf('Opera')>-1)?4:((nua.indexOf('Mac')>-1)?5:((nua.indexOf('Konqueror')>-1)?6:1))));
document.write("<SCRIPT SRC='"+awmMenuPath+awmLibraryPath+"/awmlib"+scriptNo+".js'><\/SCRIPT>");
var n=null;
awmzindex='auto';
}
var awmSubmenusFrame='';
var awmSubmenusFrameOffset;
var awmOptimize=1;
function awmBuildMenu(){
if (awmSupported){
awmImagesColl=['leftnavbg.gif',150,24];
awmCreateCSS(0,1,0,n,n,0,n,n,'none',0,n,0,0);
awmCreateCSS(1,2,0,'#000000',n,n,'bold 9pt Arial',n,'none',0,n,0,0);
awmCreateCSS(0,2,0,'#000000','#FFCC00',n,'bold 9pt Arial',n,'none',0,n,0,0);
var s0=awmCreateMenu(0,0,0,0,1,0,1,2,0,0,100,0,0,0,n,n,"",n,1,5,1,0,"","",100);
it=s0.addItem(1,2,2," QMS Home ",n,n,"","/qms/",n,n,n,"/qms/",n);
it=s0.addItem(1,2,2," H&HS Home ",n,n,"","/",n,n,n,"/",n);
it=s0.addItem(1,2,2," Scope of Certificates ",n,n,"","scope/scope.htm",n,n,n,"scope/scope.htm",n);
it=s0.addItem(1,2,2," Administering Quality ",n,n,"","admin/admin.htm",n,n,n,"admin/admin.htm",n);
it=s0.addItem(1,2,2," Managing Quality ",n,n,"","managing/managing.htm",n,n,n,"managing/managing.htm",n);
it=s0.addItem(1,2,2," Quality Policy ",n,n,"","quality_policy.htm",n,n,n,"quality_policy.htm",n);
it=s0.addItem(1,2,2," Quality Objectives ",n,n,"","https://mpcd.cat.com/cda/layout?m=128773&x=7",n,n,n,"https://mpcd.cat.com/cda/layout?m=128773&x=7",n);
it=s0.addItem(1,2,2," Resources Management ",n,n,"","resources/resources.htm",n,n,n,"resources/resources.htm",n);
it=s0.addItem(1,2,2," <strong style='font-size:14pt;'>Process Maps </strong>",n,n,"","product_real/product_real.htm",n,n,n,"product_real/product_real.htm",n);
it=s0.addItem(1,2,2," Process Owners/<br> Coordinators ",n,n,"","javascript:OpenWindow('http://cat-n1-06.cis.cat.com/qsi/a4QSI/qs4reldc.nsf/(DocNumberLU)/WI-0053?OpenDocument&BaseTarget=_blank', '600', '600')",n,n,"javascript:OpenWindow('http://cat-n1-06.cis.cat.com/qsi/a4QSI/qs4reldc.nsf/(DocNumberLU)/WI-0053?OpenDocument&BaseTarget=_blank', '600', '600')",n,n);
it=s0.addItem(1,2,2," Measurement Analysis<br> & Improvement ",n,n,"","improvement/improvement.htm",n,n,n,"improvement/improvement.htm",n);
it=s0.addItem(1,2,2," MQ 12005 Certification",n,n,"","",n,n,n,"",n);
it=s0.addItem(1,2,2," ~ B PC Valves",n,n,"","product_real/mq12005_index.asp?contentpage=mq12005_bvalv.htm",n,n,n,"product_real/mq12005_index.asp?contentpage=mq12005_bvalv.htm",n);
it=s0.addItem(1,2,2," ~ Bolted Cylinders",n,n,"","product_real/mq12005_index.asp?contentpage=mq12005_boltd.htm",n,n,n,"product_real/mq12005_index.asp?contentpage=mq12005_boltd.htm",n);
it=s0.addItem(1,2,2," ~ Control Valves",n,n,"","product_real/mq12005_index.asp?contentpage=mq12005_mcv.htm",n,n,n,"product_real/mq12005_index.asp?contentpage=mq12005_mcv.htm",n);
it=s0.addItem(1,2,2," ~ Gear Pump",n,n,"","product_real/mq12005_index.asp?contentpage=mq12005_gpump.htm",n,n,n,"product_real/mq12005_index.asp?contentpage=mq12005_gpump.htm",n);
it=s0.addItem(1,2,2," ~ Heat Treat",n,n,"","product_real/mq12005_index.asp?contentpage=mq12005_heat.htm",n,n,n,"product_real/mq12005_index.asp?contentpage=mq12005_heat.htm",n);
it=s0.addItem(1,2,2," ~ Hydropro Cylinders",n,n,"","product_real/mq12005_index.asp?contentpage=mq12005_hydropro.htm",n,n,n,"product_real/mq12005_index.asp?contentpage=mq12005_hydropro.htm",n);
it=s0.addItem(1,2,2," ~ Paint",n,n,"","product_real/mq12005_index.asp?contentpage=mq12005_paint.htm",n,n,n,"product_real/mq12005_index.asp?contentpage=mq12005_paint.htm",n);
it=s0.addItem(1,2,2," ~ Tanks",n,n,"","product_real/mq12005_index.asp?contentpage=mq12005_tanks.htm",n,n,n,"product_real/mq12005_index.asp?contentpage=mq12005_tanks.htm",n);
it=s0.addItem(1,2,2," ~ Threaded Cylinders",n,n,"","product_real/mq12005_index.asp?contentpage=mq12005_thread.htm",n,n,n,"product_real/mq12005_index.asp?contentpage=mq12005_thread.htm",n);
it=s0.addItem(1,2,2," ~ Transmission Valves",n,n,"","product_real/mq12005_index.asp?contentpage=mq12005_mtv.htm",n,n,n,"product_real/mq12005_index.asp?contentpage=mq12005_mtv.htm",n);
it=s0.addItem(1,2,2," ~ Truck Struts",n,n,"","product_real/mq12005_index.asp?contentpage=mq12005_struts.htm",n,n,n,"product_real/mq12005_index.asp?contentpage=mq12005_struts.htm",n);
it=s0.addItem(1,2,2," ~ Truck Assy & Test",n,n,"","product_real/mq12005_index.asp?contentpage=mq12005_struts.htm",n,n,n,"product_real/mq12005_index.asp?contentpage=mq12005_STRUTS_ASSY_TEST.htm",n);
it=s0.addItem(1,2,2," ~ X3PC Valves",n,n,"","product_real/mq12005_index.asp?contentpage=mq12005_x3pc.htm",n,n,n,"product_real/mq12005_index.asp?contentpage=mq12005_x3pc.htm",n);
//it=s0.addItem(1,2,2," Process Change Request ",n,n,"","http://dms1.solar.cat.com/livelink/livelink?func=ll&objId=1534957&objAction=wf.Open&paneindex=0&nexturl=/livelink/livelink?func=ll&objId=1534957&objAction=initiate",n,n,n,"http://dms1.solar.cat.com/livelink/livelink?func=ll&objId=1534957&objAction=wf.Open&paneindex=0&nexturl=/livelink/livelink?func=ll&objId=1534957&objAction=initiate",n);
//it=s0.addItem(1,2,2," Process Change Request ",n,n,"","http://dms1.solar.cat.com/livelink/livelink?func=ll&objId=1534957&objAction=wf.Open&paneindex=0&nexturl=/livelink/livelink?func=ll&objId=1534957&objAction=initiate",n,n,n,"http://dms1.solar.cat.com/livelink/livelink?func=ll&objId=1534957&objAction=wf.Open&paneindex=0&nexturl=/livelink/livelink?func=ll&objId=1534957&objAction=initiate",n);
//it=s0.addItemWithImages(1,2,2," Request Status Reports ",n,n,"",0,0,1,2,2,2,n,n,n,"http://dms1.solar.cat.com/livelink/livelink?func=ll&objId=1548194&objAction=iso.browse&sort=name",n,n,n,"http://dms1.solar.cat.com/livelink/livelink?func=ll&objId=1548194&objAction=iso.browse&sort=name",n);
s0.pm.buildMenu();
}}
//managing/managing.htm//managing/managing.htm
//OpenWindow('http://dms1.solar.cat.com/livelink/livelink/3021134/Service_Parts_PO-PC_Matrix.xls?func=doc.OpenFetch&nodeid=3021134', '600', '600')//OpenWindow('http://dms1.solar.cat.com/livelink/livelink/3021134/Service_Parts_PO-PC_Matrix.xls?func=doc.OpenFetch&nodeid=3021134', '600', '600')
Ok and heres the HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML><!-- #BeginTemplate "Templates/contentPage-f2.dwt" -->
<!-- DW6 --><HEAD>
<!-- #BeginEditable "doctitle" -->
<title>Hydraulics & Hydraulic Systems QMS</title>
<!-- #EndEditable --><META http-equiv=Content-Type content=text/html;charset=UTF-8>
<LINK href="/qms/css/site.css" type=text/css rel=stylesheet>
<!-- #BeginEditable "ref-file" --><!-- #EndEditable -->
<META content="MSHTML 5.50.4916.2300" name=GENERATOR>
<!-- #BeginEditable "script" -->
<script language="JavaScript">
<!--
function OpenWindow (page, w, h) {
// var srcpage = page + ".htm";
var srcpage = page;
popupwin = window.open("","","toolbar=0,menubar=1,scrollbars=1,resizable=1,width=" + w + ",height=" + h);
if( popupwin != null) {
if (popupwin.opener == null) { popupwin.opener = self; }
}
popupwin.location.href = srcpage;
popupwin.focus();
}
//-->
</script>
<!-- #EndEditable -->
</HEAD>
<BODY bgcolor=white marginheight="0" marginwidth="0">
<SCRIPT language=javascript>
function send() {
if (document.search.queryText.value != "") {
document.search.submit();
}
}
</SCRIPT>
<TABLE cellspacing=0 cellpadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD class=logo><IMG src="/qms/images/cat_hydraulics.jpg"><BR><IMG height=1
src="/qms/images/pixel.gif" width=150></TD>
<TD width="100%" align=right valign="middle" class=logo2><font color="#FFC400" size="4" face="Geneva, Arial, Helvetica, sans-serif">
<strong><!-- #BeginEditable "Web Site Title" -->Hydraulics & Hydraulic Systems<br>
Quality Management System<!-- #EndEditable --></strong></font></TD>
</TR></TBODY></TABLE>
<TABLE cellspacing=0 cellpadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD class=leftnavwidget valign=bottom width=1 rowspan=3>
<TABLE cellspacing=0 cellpadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD valign=top>
<TABLE cellspacing=0 cellpadding=0 width=150 border=0>
<TBODY>
<TR>
<TD class=search>
<FORM name=search action=http://catatwork.ecorp.cat.com/search.jsp method=get>
<INPUT maxlength=100 size=10 name=queryText> <A href="javascript:send()">Search</A>
<!-- <INPUT type=hidden value=IS_CALLED_BY_CDA_SEARCH name=CALLING_FROM_PARAM> -->
</FORM></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD>
<TD class=topnavwidth width="100%" bgcolor=black>
<TABLE cellspacing=0 cellpadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD class=topnav>
<DIV><A
href="http://web.jol.cat.com/qms/">Home</A></DIV></TD>
<TD class=vline width=1><IMG src="/qms/images/vline.gif"
width=1></TD>
<TD class=topnav>
<DIV><A
href="http://chairman.corp.cat.com/">Chairman's
Corner</A></DIV></TD>
<TD class=vline width=1><IMG src="/qms/images/vline.gif"
width=1></TD>
<TD class=topnav>
<DIV><A
href="javascript:alert('nothing yet');">Departments</A></DIV></TD>
<TD class=vline width=1><IMG src="/qms/images/vline.gif"
width=1></TD>
<TD class=topnav>
<DIV><A
href="http://web.jol.cat.com/news/">News
and Information</A></DIV></TD>
<TD class=vline width=1><IMG src="/qms/images/vline.gif"
width=1></TD>
<TD class=topnav>
<DIV></DIV></TD></TR></TBODY></TABLE></TD></TR>
<TR>
<TD class=crumbtrail width="100%" colspan=10><img src="/qms/images/crumbtrailcurve.gif"></TD>
</TR></TBODY></TABLE>
<TABLE cellspacing=0 cellpadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD class=lmenu valign=top width=1><IMG
src="/qms/images/crumbtrailcorner.gif"></TD>
<TD width="100%">
<TABLE cellspacing=0 cellpadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD class=globalheader style="TEXT-ALIGN: left">
</TD>
<TD align=right>
<TABLE style="BORDER-RIGHT: white 5px solid" cellspacing=0
cellpadding=0 border=0>
<TBODY>
<TR>
<TD class=globalheader><A
href="https://clues.cat.com">CLUES</A></TD>
<TD class=globalheader>| </TD>
<TD class=globalheader><A
href="sitemap.html">Site
Map</A></TD>
<TD class=globalheader>| </TD>
<TD class=globalheader><A
href="/demo/qms/feedback.cfm">Contact
Us</A></TD>
</TR></TBODY>
</TABLE>
</TD>
</TR>
</TBODY>
</TABLE></TD></TR>
</TBODY></TABLE>
<TABLE cellspacing=0 cellpadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD class=lmenu rowspan=2>
<TABLE cellspacing=0 cellpadding=0 width=150 border=0>
<TBODY>
<TR>
<TD><IMG height=8 src="/qms/images/pixel.gif"
width=150></TD>
</TR></TBODY></TABLE></TD>
<TD class=leftgutter style="WIDTH: 1px" rowspan=2><IMG height=1
src="/qms/images/pixel.gif" width=1></TD>
<TD class=topgutter width="100%">
<TABLE cellspacing=10 cellpadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD valign=top width="100%" height=1>
<H3><!-- #BeginEditable "heading" -->Hydraulics & Hydraulic Systems
Quality Management System (QMS)<!-- #EndEditable --></H3>
<!-- #BeginEditable "Content" -->
<p align="center"><img src="/qms/images/hhs_center.jpg"></p>
<blockquote>
<p align="center">ISO <a href="iso/ISO9000-2000.pdf">9000</a>, <a href="iso/ISO9001-2000.pdf">9001</a> and <a href="iso/ISO9004-2000.pdf">9004</a> (9001 is what the standard is based on and others are guidance)</p>
<p align="center">This Hydraulics & Hydraulic Systems
Quality Management System website contains the
<a href="javascript:OpenWindow('http://cat-n1-06.cis.cat.com/qsi/a4QSI/qs4reldc.nsf/(DocNumberLU)/SOP-0060?OpenDocument&BaseTarget=_self',%20'600',%20'600')">quality manual
</a>for Caterpillar Incorporated - Joliet, IL Facility in compliance with the ISO 9001:2000 standard.
If you have any questions on QMS navigation or content,
please contact Casey McPherson at x6821.</p>
</blockquote>
<!-- #EndEditable --></TD>
</TR></TBODY></TABLE></TD></TR>
<TR>
<TD>
</TD></TR></TBODY></TABLE>
<div align="center">
<table>
<tr><td align="center">
<hr noshade size="1" width="500">
<p style="font-size:8pt;">Last Update: 3/5/08<br>
Caterpillar Confidential: Green<br>
Content Owner: Casey McPherson<br>
Web Master: Chris J. Carroll <br>
Copyright 2004 Caterpillar Inc., All Rights Reserved.</p>
</td></tr>
</table>
<!--- Revision Level History --->
<p> </p>
<table class="revision" width="50%">
<tr align="center">
<td class="rev">Revision Level History</td>
</tr>
<tr>
<td class="rev">
3/5/08 - Revision 2
<ul>
<li>Added Quality Manual
</ul>
</td>
</tr>
<tr>
<td class="rev">
12/22/04 - Revision 1
<ul>
<li>Added ISO documents
</ul>
</td>
</tr>
<tr>
<td class="rev">
09/04/04 - Original
</td>
</tr>
</table>
</div>
<!-- DO NOT MOVE! The following AllWebMenus code MUST ALWAYS BE PLACED JUST BEFORE THE /BODY TAG -->
<!-- ******** BEGIN ALLWEBMENUS CODE FOR serviceparts_qms_menu ******** -->
<img name='awmMenuPathImg-serviceparts_qms_menu' id='awmMenuPathImg-serviceparts_qms_menu' src='./awmmenupath.gif' alt='' width="1" height="1"><script type='text/javascript'>var MenuLinkedBy='AllWebMenus [2]', awmBN='522'; awmAltUrl='';</script><script src='serviceparts_qms_menu.js' language='JavaScript1.2' type='text/javascript'></script><script type='text/javascript'>awmBuildMenu();</script>
<!-- ******** END ALLWEBMENUS CODE FOR serviceparts_qms_menu ******** -->
</BODY><!-- #EndTemplate --></HTML>
Any Help would be appreciated!!!!! Thanks