Advertisement

06.05.2008 at 02:31PM PDT, ID: 23462015
[x]
Attachment Details

Frontpage throws error

Asked by ExpExchHelp in FrontPage-Expressions, Hypertext Markup Language (HTML)

I worked on an HMTL file (in Frontpage) at work earlier.   No problems occurred when previewing the file.

Now at home (also using Frontpage), I get an error when I switch to PREVIEW mode.  

Attached are the JPG showing the error.   Below is also the HTML code.

As I haven't made any changes (between work & home), I wondering if something's wrong w/ my FrontPage version.    Any ideas?

EEHStart Free Trial
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
90:
91:
92:
93:
94:
95:
96:
97:
98:
99:
100:
101:
102:
103:
104:
105:
106:
107:
108:
109:
110:
111:
112:
113:
114:
115:
116:
117:
118:
119:
120:
121:
122:
123:
124:
125:
126:
127:
128:
129:
130:
131:
132:
133:
134:
135:
136:
137:
138:
139:
140:
141:
142:
143:
144:
145:
146:
147:
148:
149:
150:
151:
152:
153:
154:
155:
156:
157:
158:
159:
160:
161:
162:
163:
164:
165:
166:
167:
168:
169:
170:
171:
172:
173:
174:
175:
176:
177:
178:
179:
180:
181:
182:
183:
184:
185:
186:
187:
188:
189:
190:
191:
192:
193:
194:
195:
196:
197:
198:
199:
200:
201:
202:
203:
204:
205:
206:
207:
208:
209:
210:
211:
212:
213:
214:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Tom Bock</title>
 
<link href="styles.css" rel="stylesheet" type="text/css">
<style type="text/css">
.menutitle{
cursor:pointer;
margin-bottom: 5px;
background-color:#ECECFF;
color:#000000;
width:140px;
padding:2px;
text-align:center;
font-weight:bold;
/*/*/border:1px solid #000000;/* */
}
 
.submenu{
margin-bottom: 0.5em;
}
</style>
 
<script type="text/javascript">
 
/***********************************************
* Switch Menu script- by Martial B of http://getElementById.com/
* Modified by Dynamic Drive for format & NS4/IE4 compatibility
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/
 
var persistmenu="yes" //"yes" or "no". Make sure each SPAN content contains an incrementing ID starting at 1 (id="sub1", id="sub2", etc)
var persisttype="sitewide" //enter "sitewide" for menu to persist across site, "local" for this page only
 
if (document.getElementById){ //DynamicDrive.com change
document.write('<style type="text/css">\n')
document.write('.submenu{display: none;}\n')
document.write('</style>\n')
}
 
function SwitchMenu(obj){
	if(document.getElementById){
	var el = document.getElementById(obj);
	var ar = document.getElementById("masterdiv").getElementsByTagName("span"); //DynamicDrive.com change
		if(el.style.display != "block"){ //DynamicDrive.com change
			for (var i=0; i<ar.length; i++){
				if (ar[i].className=="submenu") //DynamicDrive.com change
				ar[i].style.display = "none";
			}
			el.style.display = "block";
		}else{
			el.style.display = "none";
		}
	}
}
 
function get_cookie(Name) { 
var search = Name + "="
var returnvalue = "";
if (document.cookie.length > 0) {
offset = document.cookie.indexOf(search)
if (offset != -1) { 
offset += search.length
end = document.cookie.indexOf(";", offset);
if (end == -1) end = document.cookie.length;
returnvalue=unescape(document.cookie.substring(offset, end))
}
}
return returnvalue;
}
 
function onloadfunction(){
if (persistmenu=="yes"){
var cookiename=(persisttype=="sitewide")? "switchmenu" : window.location.pathname
var cookievalue=get_cookie(cookiename)
if (cookievalue!="")
document.getElementById(cookievalue).style.display="block"
}
}
 
function savemenustate(){
var inc=1, blockid=""
while (document.getElementById("sub"+inc)){
if (document.getElementById("sub"+inc).style.display=="block"){
blockid="sub"+inc
break
}
inc++
}
var cookiename=(persisttype=="sitewide")? "switchmenu" : window.location.pathname
var cookievalue=(persisttype=="sitewide")? blockid+";path=/" : blockid
document.cookie=cookiename+"="+cookievalue
}
 
if (window.addEventListener)
window.addEventListener("load", onloadfunction, false)
else if (window.attachEvent)
window.attachEvent("onload", onloadfunction)
else if (document.getElementById)
window.onload=onloadfunction
 
if (persistmenu=="yes" && document.getElementById)
window.onunload=savemenustate
 
</script>
 
</head>
 
<body style="background:#FFFFFF url(../00_GeneralImages/backgroundStripes.jpg) repeat-x;">
 
<table border="0" width="100%" id="table2" cellpadding="0">
	<tr>
		<td>&nbsp;</td>
	</tr>
</table>
 
<table id="tab1" width="700" border="0" align="center" cellspacing="0" cellpadding="0">
  <tr>
    <td bgcolor="#99BBCC" width="700" valign="bottom" colspan="3">
	<table border="0" width="700" id="table3" bordercolorlight="#FF0000" bgcolor="#FFFFFF" style="border-collapse: collapse">
		<tr>
			<td width="11" bgcolor="#FFFFFF" height="43">&nbsp;</td>
			<td width="37" valign="top" bgcolor="#FFFFFF" height="43">&nbsp;</td>
			<td width="371" bgcolor="#FFFFFF" height="43">
	<b><font face="Trebuchet MS" size="5" color="#666666">My name</font></b></td>
			<td width="202" bgcolor="#FFFFFF" height="43">&nbsp;</td>
			<td width="59" bgcolor="#FFFFFF" height="43">&nbsp;</td>
			<td width="6" bgcolor="#FFFFFF" height="43">&nbsp;</td>
		</tr>
		<tr>
			<td width="11" bgcolor="#FFFFFF" background="../00_GeneralImages/banner.jpg" height="44">&nbsp;</td>
			<td width="408" valign="top" bgcolor="#FFFFFF" background="../00_GeneralImages/banner.jpg" colspan="2" height="44">&nbsp;</td>
			<td width="202" bgcolor="#FFFFFF" background="../00_GeneralImages/banner.jpg" height="44">
	<font face="Verdana" size="4" color="#FFFFFF">Contact</font></td>
			<td width="59" bgcolor="#FFFFFF" background="../00_GeneralImages/banner.jpg" height="44">&nbsp;</td>
			<td width="6" bgcolor="#FFFFFF" background="../00_GeneralImages/banner.jpg" height="44">&nbsp;</td>
		</tr>
		<tr>
			<td width="11" bgcolor="#FFFFFF">&nbsp;</td>
			<td width="408" valign="top" bgcolor="#FFFFFF" colspan="2">&nbsp;</td>
			<td width="202" bgcolor="#FFFFFF">&nbsp;</td>
			<td width="59" bgcolor="#FFFFFF">&nbsp;</td>
			<td width="6" bgcolor="#FFFFFF">&nbsp;</td>
		</tr>
		<tr>
			<td width="11" bgcolor="#FFFFFF">&nbsp;</td>
			<td width="408" valign="top" bgcolor="#FFFFFF" colspan="2">&nbsp;</td>
			<td width="202" bgcolor="#FFFFFF">&nbsp;</td>
			<td width="59" bgcolor="#FFFFFF">&nbsp;</td>
			<td width="6" bgcolor="#FFFFFF">&nbsp;</td>
		</tr>
		<tr>
			<td width="11" bgcolor="#FFFFFF">&nbsp;</td>
			<td width="669" valign="top" bgcolor="#FFFFFF" colspan="4">
			<table border="0" width="669">
				<tr>
					<td width="169">&nbsp;</td>
					<td width="484" colspan="3"><b>
					<font face="Trebuchet MS" color="#666666">My name</font></b></td>
				</tr>
				<tr>
					<td width="169" rowspan="5" align="center">
					&nbsp;</td>
					<td width="484" colspan="3">
					&nbsp;</td>
				</tr>
				<tr>
					<td width="18">&nbsp;</td>
					<td width="460" colspan="2"><font face="Verdana" size="1">
					Street Address</font></td>
				</tr>
				<tr>
					<td width="18">&nbsp;</td>
					<td width="460" colspan="2"><font face="Verdana" size="1">
					City, State, Zip</font></td>
				</tr>
				<tr>
					<td width="18">&nbsp;</td>
					<td width="40"><b><font face="Verdana" size="1">phone </font>
					</b></td>
					<td width="422"><font face="Verdana" size="1">001+ (800) 
					123-4567</font></td>
				</tr>
				<tr>
					<td width="18">&nbsp;</td>
					<td width="40"><b><font face="Verdana" size="1">email </font>
					</b></td>
					<td width="422">
					<a href="mailto:thomasbock@verizon.net?subject=Tom Bock's resume">
					<font face="Verdana" size="1">email address</font></a></td>
				</tr>
			</table>
			</td>
			<td width="6" bgcolor="#FFFFFF">&nbsp;</td>
		</tr>
		</table>
	</td>
  </tr>
  <tr>
    <td bgcolor="#666666" width="15" valign="bottom">
	&nbsp;</td>
	<td width="782" id="dateMod" bgcolor="#666666"> 
	<p align="left"><font face="Verdana" size="1" color="#C0C0C0">Copy right 
	statement</font><td bgcolor="#666666">
  </tr>
  </table>
 
<script type="text/javascript" src="../DateModifiedFooter.js"></script>
 
</body>
</html>
Attachments:
 
Shows error
Shows error
 
[+][-]06.05.2008 at 11:48PM PDT, ID: 21726739

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.05.2008 at 11:50PM PDT, ID: 21726748

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.06.2008 at 01:18AM PDT, ID: 21727132

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: FrontPage-Expressions, Hypertext Markup Language (HTML)
Sign Up Now!
Solution Provided By: brundo
Participating Experts: 2
Solution Grade: A
 
 
[+][-]06.06.2008 at 05:32AM PDT, ID: 21728335

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.06.2008 at 09:16AM PDT, ID: 21730405

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628