Run Time Error in Java Script Code during PREVIEW

C

Cody21

Stumped -- when I PREVIEW a page that has JavaScript (e.g., <script
type="text/javascript"> ), I get a Runt Time error on Line 1 (<html> ) and
the line that has that SCRIPT statement. It works fine when I Preview in
Browser (PF12), I've checked my Page Settings and Java and Scripting are
enabled....

How can I get rid of this Run Time error when in PREVIEW from FP2003?

Thanks
 
C

Cody21

No - I have I LOCAL right now . in fear of breaking something when/if I
publish this.

Do you want me to Paste the Code into this message?
 
J

Jon Spivey

I think that would be best - sounds like there's something quite strange
going on here.

Jon
 
C

Cody21

<html>
<head>
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Showroom 500</title>
<style>
<!--
td { font-family: Verdana; font-size: 10pt; font-weight: bold }
..style1 {
border: 1px solid #996600;
background-color: #FFFFFF;
}
-->
</style>
<meta name="keywords" content="Interior Design, Carpeting">
<meta name="Microsoft Theme" content="none, default">
<meta name="Microsoft Border" content="none">
</head>
<body link="#996600" vlink="#996600" alink="#996600" bgcolor="#FFF2CC"
topmargin="5" leftmargin="60" marginwidth="1" marginheight="1">
<!-- DO NOT MOVE! The following AllWebMenus linking code section must always
be placed right AFTER the BODY tag-->
<!-- ******** BEGIN ALLWEBMENUS CODE FOR menu ******** -->
<script type="text/javascript">var MenuLinkedBy="AllWebMenus
[4]",awmMenuName="menu",awmBN="630";awmAltUrl="";</script><script
charset="UTF-8" src="menu.js" type="text/javascript"></script><script
type="text/javascript">awmBuildMenu();</script>
<!-- ******** END ALLWEBMENUS CODE FOR menu ******** -->

<!-- add this line at the Menu insertion Point <td id="awmAnchor-menu"
style="width: 139px"> </td> -->

<p align="left"><a href="http://www.showroom500.com"><img border="0"
src="images/showroom500-logo.gif" width="300" height="68"></a>

<b><i><font color="#996600">.... where the Smart Designers
shop</font></i></b></p>
<p align="left"> </p>
<table border="0" style="width: 950px; height: 400px">
<tr>
<td id="awmAnchor-menu" style="width: 139px"> </td>
<td align="left" valign="top" class="style1"><!-- #BeginEditable
"EditArea" --> <br>
<br>
<br>
 
J

Jon Spivey

That's an error in the script for allwebmenus - you'll need to contact their
support.

Jon

Cody21 said:
<html>
<head>
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Showroom 500</title>
<style>
<!--
td { font-family: Verdana; font-size: 10pt; font-weight: bold }
.style1 {
border: 1px solid #996600;
background-color: #FFFFFF;
}
-->
</style>
<meta name="keywords" content="Interior Design, Carpeting">
<meta name="Microsoft Theme" content="none, default">
<meta name="Microsoft Border" content="none">
</head>
<body link="#996600" vlink="#996600" alink="#996600" bgcolor="#FFF2CC"
topmargin="5" leftmargin="60" marginwidth="1" marginheight="1">
<!-- DO NOT MOVE! The following AllWebMenus linking code section must
always
be placed right AFTER the BODY tag-->
<!-- ******** BEGIN ALLWEBMENUS CODE FOR menu ******** -->
<script type="text/javascript">var MenuLinkedBy="AllWebMenus
[4]",awmMenuName="menu",awmBN="630";awmAltUrl="";</script><script
charset="UTF-8" src="menu.js" type="text/javascript"></script><script
type="text/javascript">awmBuildMenu();</script>
<!-- ******** END ALLWEBMENUS CODE FOR menu ******** -->

<!-- add this line at the Menu insertion Point <td
id="awmAnchor-menu"
style="width: 139px"> </td> -->

<p align="left"><a href="http://www.showroom500.com"><img border="0"
src="images/showroom500-logo.gif" width="300" height="68"></a>

<b><i><font color="#996600">.... where the Smart Designers
shop</font></i></b></p>
<p align="left"> </p>
<table border="0" style="width: 950px; height: 400px">
<tr>
<td id="awmAnchor-menu" style="width: 139px"> </td>
<td align="left" valign="top" class="style1"><!-- #BeginEditable
"EditArea" --> <br>
<br>
<br>


Jon Spivey said:
I think that would be best - sounds like there's something quite strange
going on here.

Jon
 
D

David Berry

spend time using a flawed solution then have to spend more time
Would this be one of those flawed solutions Jon was talking about in the
other thread :)
 
J

Jon Spivey

Did you understand the other thread? If so how would you evaluate the
"flawed solution" in terms of accessibility or search ranking? Or can you
produce something better you've done?

Or do you want a prize for being a jester :)

Cheers,
Jon

David Berry said:
Would this be one of those flawed solutions Jon was talking about in the
other thread :)
 
D

David Berry

It was a joke Jon.


Jon Spivey said:
Did you understand the other thread? If so how would you evaluate the
"flawed solution" in terms of accessibility or search ranking? Or can you
produce something better you've done?

Or do you want a prize for being a jester :)

Cheers,
Jon
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top