deviled egg
04-23-2008, 09:00 PM
Can anyone offer some advice/suggestions as to why my navigation is working in firefox or IE? The home buttom and the contact button work, but the other 4 navs are no bueno. please veiw the site at: http://dev.threeduck.com/riskassessment/index.php
and here is the code I am having issues with:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Pre Employment Verification Services</title>
<link rel="stylesheet" rev="stylesheet" href="css/rag_stylesheet.css" type="text/css" media="screen" charset="utf-8" />
<script type="text/javascript">
<!--
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
</head>
<body>
<!--start container div tag -->
<body onload="MM_preloadImages('images/rag_bttn1_ovr.jpg','images/rag_bttn2_ovr.jpg','images/rag_bttn3_ovr.jpg','images/rag_bttn4_ovr.jpg','images/rag_bttn5_ovr.jpg','images/rag_bttn6_ovr.jpg')">
<div id="container"> <!--<div align="center"> -->
<!--start header div tag -->
<div id="header">
<img src="images/rag_title.jpg" alt=" pre verification of employment" width="935" height="160" border="0" />
<!--start upper-nav div tag -->
<div id="upper-nav">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="9%" align="left" valign="top"><img src="images/rag_lft_spcr.jpg" width="140" height="32" /></td>
<td width="4%" align="left" valign="top"><a href="index.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image2','','images/rag_bttn1_ovr.jpg',1)"><img src="images/rag_bttn1.jpg" name="Image2" width="60" height="32" border="0" id="Image2" /></a></td>
<td width="7%" align="left" valign="top"><a href="services.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image3','','images/rag_bttn2_ovr.jpg',1)"><img src="images/rag_bttn2.jpg" name="Image3" width="115" height="32" border="0" id="Image3" /></a></td>
<td width="10%" align="left" valign="top"><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image4','','images/rag_bttn3_ovr.jpg',1)"><img src="images/rag_bttn3.jpg" name="Image4" width="147" height="32" border="0" id="Image4" /></a></td>
<td width="33%" align="left" valign="top"><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image5','','images/rag_bttn4_ovr.jpg',1)"><img src="images/rag_bttn4.jpg" name="Image5" width="103" height="32" border="0" id="Image5" /></a></td>
<td width="12%" align="left" valign="top"><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image6','','images/rag_bttn5_ovr.jpg',1)"><img src="images/rag_bttn5.jpg" name="Image6" width="154" height="32" border="0" id="Image6" /></a></td>
<td width="12%" align="left" valign="top"><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image7','','images/rag_bttn6_ovr.jpg',1)"><img src="images/rag_bttn6.jpg" name="Image7" width="84" height="32" border="0" id="Image7" /></a></td>
<td width="13%" align="left" valign="top"><img src="images/rag_rt_spcr.jpg" width="132" height="32" /></td>
</tr>
</table>
<!--end upper-nav div tag -->
</div>
<!--end header div tag -->
</div>
and here is the code I am having issues with:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Pre Employment Verification Services</title>
<link rel="stylesheet" rev="stylesheet" href="css/rag_stylesheet.css" type="text/css" media="screen" charset="utf-8" />
<script type="text/javascript">
<!--
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
</head>
<body>
<!--start container div tag -->
<body onload="MM_preloadImages('images/rag_bttn1_ovr.jpg','images/rag_bttn2_ovr.jpg','images/rag_bttn3_ovr.jpg','images/rag_bttn4_ovr.jpg','images/rag_bttn5_ovr.jpg','images/rag_bttn6_ovr.jpg')">
<div id="container"> <!--<div align="center"> -->
<!--start header div tag -->
<div id="header">
<img src="images/rag_title.jpg" alt=" pre verification of employment" width="935" height="160" border="0" />
<!--start upper-nav div tag -->
<div id="upper-nav">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="9%" align="left" valign="top"><img src="images/rag_lft_spcr.jpg" width="140" height="32" /></td>
<td width="4%" align="left" valign="top"><a href="index.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image2','','images/rag_bttn1_ovr.jpg',1)"><img src="images/rag_bttn1.jpg" name="Image2" width="60" height="32" border="0" id="Image2" /></a></td>
<td width="7%" align="left" valign="top"><a href="services.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image3','','images/rag_bttn2_ovr.jpg',1)"><img src="images/rag_bttn2.jpg" name="Image3" width="115" height="32" border="0" id="Image3" /></a></td>
<td width="10%" align="left" valign="top"><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image4','','images/rag_bttn3_ovr.jpg',1)"><img src="images/rag_bttn3.jpg" name="Image4" width="147" height="32" border="0" id="Image4" /></a></td>
<td width="33%" align="left" valign="top"><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image5','','images/rag_bttn4_ovr.jpg',1)"><img src="images/rag_bttn4.jpg" name="Image5" width="103" height="32" border="0" id="Image5" /></a></td>
<td width="12%" align="left" valign="top"><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image6','','images/rag_bttn5_ovr.jpg',1)"><img src="images/rag_bttn5.jpg" name="Image6" width="154" height="32" border="0" id="Image6" /></a></td>
<td width="12%" align="left" valign="top"><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image7','','images/rag_bttn6_ovr.jpg',1)"><img src="images/rag_bttn6.jpg" name="Image7" width="84" height="32" border="0" id="Image7" /></a></td>
<td width="13%" align="left" valign="top"><img src="images/rag_rt_spcr.jpg" width="132" height="32" /></td>
</tr>
</table>
<!--end upper-nav div tag -->
</div>
<!--end header div tag -->
</div>