PDA

View Full Version : Error Checking



nathaliaMota
06-09-2005, 12:26 AM
This works, but it gives me an error. How can I fix the error?

<html>
<head>
<title>
Rescue Africa
</title>
<style type="text/css">
/*
To embed fonts into your stylesheet:
@font-face{font-family:"";
src:url(.eot)}
*/
a{font: 1em "Typewriter Royal 200"}
a:link{color:"#E0E0E0"; text-decoration:none}
a:active{color:"#E0E0E0"; text-decoration:none}
a:visited{color:"#E0E0E0"; text-decoration:none}
a:hover{color:"#B8AAA9"; text-decoration:none}
</style>
<!--
<script type="text/javascript" language="javascript" src="keepinframe.js"></script>
-->
<script type="text/javascript" language="javascript" src="loadimagestopface.js"></script>

<STYLE TYPE="text/css">
<!-- /* $WEFT -- Created by: Nathalia B. P. Mota (nbm311@stu.aii.edu) on 6/5/2005 -- */
@font-face {
font-family: Typewriter Royal 200;
font-style: normal;
font-weight: normal;
src: url(TYPEWRI2.eot);
}
@font-face {
font-family: Times New Roman;
font-style: normal;
font-weight: normal;
src: url(TIMESNE0.eot);
}
-->

</STYLE>

</head>
<body marginwidth="0" marginheight="0" leftmargin="0" topmargin="0" bgcolor="#000000" text="#999999" link="#E0E0E0" alink="#E0E0E0" vlink="#E0E0E0" hover="#513C3A">
<table width="440" cellpadding="0" cellspacing="0" border="0">
<tr>
<!-- begin table cell that holds the navigation at the top of the homepage -->
<td bgcolor="#702F28">
<table width="440" cellpadding="0" cellspacing="0" border="0">
<tr>
<td bgcolor="#702F28" width="92">
<!-- Opening 2 pages in 2 different frames with one link.
Note: the first location is topFace1.html, this page,
because I don't want this frame to change -->
<a href="javascript:location='topFace1.html';
parent.subNav.location='crisis.html';
parent.middle.location='crisisTXTOldB.html'"
onmouseover="window.status='What is going on in Africa that is being called genocide?'; return true">
The Crisis
</a>
</td>
<td bgcolor="#702F28" width="63">
<a href="javascript:location='topFace1.html';
parent.subNav.location='impact.html';
parent.middle.location='impactTXTOldB.html'"
onmouseover="window.status='Who is being impacted by the AIDS crisis in Africa?'; return true">
Impact
</a>
</td>
<td bgcolor="#702F28" width="106">
<a href="javascript:location='topFace1.html';
parent.subNav.location='perspectives.html';
parent.middle.location='perspectivesTXTOldB.html'"
onmouseover="window.status='Biblical view on the AIDS crisis in Africa'; return true">
Perspectives
</a>
</td>
<td bgcolor="#702F28" width="69">
<a href="javascript:location='topFace1.html';
parent.subNav.location='intlAid.html';
parent.middle.location='intlAidTXTOldB.html'"
onmouseover="window.status='International Aid: Who is helping?'; return true">
Intl Aid
</a>
</td>
<td bgcolor="#702F28" width="110">
<a href="javascript:location='topFace1.html';
parent.subNav.location='getInvolved.html';
parent.middle.location='getInvolvedTXTOldB.html'"
onmouseover="window.status='How you can make a difference and help rescue a generation of Africans.'; return true">
Get Involved
</a>
</td>
</tr>
</table>
</td>
<!-- end table cell that holds the navigation at the top of the homepage -->

<!-- begin table cell that holds transparent spacer image next to top menu -->
<td bgcolor="#702F28">
<img src="img/transparent.gif" height="26" width="28" border="0" alt="" title="" hspace="0" vspace="0" align="left" />
</td>
<!-- end table cell that holds transparent spacer image next to top menu -->

</tr>
<tr>
<td>
<img src="img/topFace.jpg" height="206" width="440" border="0" alt="picture of African boy crying with tears of blood" title="" hspace="0" vspace="0" align="left" />
</td>
<!-- begin table cell that holds transparent image serving as place-holder for right-side border -->
<td bgcolor="#702F28" title="">
<img src="img/transparent.gif" height="10" width="28" border="0" alt="" title="" hspace="0" vspace="0" align="left" />
</td>
<!-- end table cell that holds transparent image serving as place-holder for right-side border -->
</tr>
</table>
</body>
</html>

jscheuer1
06-09-2005, 03:33 AM
Is there someplace I can see this page live? Or, can you supply the missing external javascript files, linked pages and images? It is hard to determine what error is due to missing support files and what is due to the on page code. In fact, if I remove the references to the external .js files, there are no errors except for 'file not found' when I click on the links.