Navigation gifs not appearing on page load

wxdqz

New Member
<!-- m --><a class="postlink" href="http://wave.prohosting.com/iudoe/index.htm">http://wave.prohosting.com/iudoe/index.htm</a><!-- m -->

The name gif to the left loads ok but the nav. gifs to the right of the page do not for some reason until you click on one of them. I'm pretty sure this is not a directory issue as why should the name gif appear whilst the others do not when they all reside in the same directory?

Here is the code for the top frame page.

<html>
<head>
<title>nav</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript">
<!--
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.indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a;}}
}

function MM_findObj(n, d) { //v4.0
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[n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers.document);
if(!x && document.getElementById) x=document.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))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a)&&x.oSrc;i++) x.src=x.oSrc;
}
//-->
</script>
</head>

<body text="#000000" background="Assets/images/navback.gif" bgcolor="#999966" topmargin="5" onLoad="MM_preloadImages('Assets/images/resume.gif','Assets/images/benefit.gif','Assets/images/contact.gif','Assets/images/bio.gif','Assets/images/bio_f2.gif','Assets/images/benefit_f2.gif','Assets/images/resume_f2.gif','Assets/images/contact_f2.gif')">
<table width="515" border="0" cellpadding="0" cellspacing="0" align="center" height="0" name="nav">
<tr>
<td width="222" height="22" valign="baseline"> <a href=http://www.webdeveloper.com/forum/archive/index.php/"index.htm" target="_top"><img name="name" src="Assets/images/name.gif" width="190" height="39" border="0"></a>
<!-- fwtable fwsrc="name.png" fwbase="name" fwstyle="Dreamweaver" fwdocid = "726587668" fwnested="0" -->
</td>
<td width="238" height="22">
<table border="0" cellpadding="0" cellspacing="0" width="233">
<!-- fwtable fwsrc="navigation.png" fwbase="navigation.gif" fwstyle="Dreamweaver" fwdocid = "410399224" fwnested="0" -->
<tr>
<td><img src="Assets/images/spacer.gif" width="163" height="1" border="0"></td>
<td><img src="Assets/images/spacer.gif" width="70" height="1" border="0"></td>
<td><img src="Assets/images/spacer.gif" width="1" height="1" border="0"></td>
</tr>
<tr>
<td><a href="bio.htm" target="mainFrame" onClick="MM_swapImage('bio','','Assets/images/bio_f2.gif','resume','','Assets/images/resume.gif','benefit','','Assets/images/benefit.gif','contact','','Assets/images/contact.gif',1)" ><img name="bio" src=http://www.webdeveloper.com/forum/archive/index.php/"fireworks/images/bio.gif" width="163" height="19" border="0" align="top"></a></td>
<td><a href="resume.htm" target="mainFrame" onClick="MM_swapImage('bio','','Assets/images/bio.gif','resume','','Assets/images/resume_f2.gif','benefit','','Assets/images/benefit.gif','contact','','Assets/images/contact.gif',1)" ><img name="resume" src=http://www.webdeveloper.com/forum/archive/index.php/"fireworks/images/resume.gif" width="70" height="19" border="0" align="top"></a></td>
<td><img src="fireworks/images/spacer.gif" width="1" height="19" border="0"></td>
</tr>
<tr>
<td><a href="benefits.htm" target="mainFrame" onClick="MM_swapImage('bio','','Assets/images/bio.gif','resume','','Assets/images/resume.gif','benefit','','Assets/images/benefit_f2.gif','contact','','Assets/images/contact.gif',1)" ><img name="benefit" src=http://www.webdeveloper.com/forum/archive/index.php/"fireworks/images/benefit.gif" width="163" height="20" border="0" align="top"></a></td>
<td><a href="contact.htm" onClick="MM_swapImage('bio','','Assets/images/bio.gif','resume','','Assets/images/resume.gif','benefit','','Assets/images/benefit.gif','contact','','Assets/images/contact_f2.gif',1)" target="mainFrame" ><img name="contact" src=http://www.webdeveloper.com/forum/archive/index.php/"fireworks/images/contact.gif" width="70" height="20" border="0" align="top"></a></td>
<td><img src="fireworks/images/spacer.gif" width="1" height="20" border="0"></td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
 
Back
Top