i messed up some code :(...

F

FrontPageUser

i was trying to indert an on off html code and now when i view the site, the
theme is gone. Can anyone fix this so i can see teh theme when i preview?
Thanks!


<html>
<script language="JavaScript">
<!--
function FP_setStatusBarText(txt) {//v1.0
window.status=txt;
}
// -->
</script>

<script language="JavaScript">
<!--
function FP_setStatusBarText(txt) {//v1.0
window.status=txt;
}
// -->
</script>

<body onload="dynAnimation()" language="Javascript1.2" >

<head><meta http-equiv="Content-Type" content="text/html;
charset=windows-1252"><meta http-equiv="Content-Language"
content="en-us"><title>Triple Diamond Development Incorporated</title><meta
name="GENERATOR" content="Microsoft FrontPage 6.0"><meta name="ProgId"
content="FrontPage.Editor.Document"><style>
<!--
td .GreyBoxRight
{
background-color: #F0F0F0;
border: solid 0px #FFF;
border-top: solid 1px #FFF;
padding: 2px;
padding-left: 10px;
width: 180px;
}

-->
</style><script language="JavaScript">
<!--
function FP_setStatusBarText(txt) {//v1.0
window.status=txt;
}
// -->
</script><bgsound
src="Jazz%20-%20Thelonious%20Monk%20-%20Solo%20Blues%20Piano.mp3"
loop="-1"><script language="JavaScript" fptype="dynamicanimation">
<!--
function dynAnimation() {}
function clickSwapImg() {}
 
S

Steve Easton

Everything in your page between and including the <head> and </head> tags
needs to be between the <html> tag and the <body> tag.

--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
........................with a computer
 
F

FrontPageUser

i believe its all between the <html> tags. Here is a cope of all the code
from that one page thats messed up.

****<html>
<script language="JavaScript">
<!--
function FP_setStatusBarText(txt) {//v1.0
window.status=txt;
}
// -->
</script>

<script language="JavaScript">
<!--
function FP_setStatusBarText(txt) {//v1.0
window.status=txt;
}
// -->
</script>

<meta name="Microsoft Theme" content="journal-custom 1011">
<body onload="dynAnimation()" language="Javascript1.2" >

<head><meta http-equiv="Content-Type" content="text/html;
charset=windows-1252"><meta http-equiv="Content-Language"
content="en-us"><title>Triple Diamond Development Incorporated</title><meta
name="GENERATOR" content="Microsoft FrontPage 6.0"><meta name="ProgId"
content="FrontPage.Editor.Document"><style>
<!--
td .GreyBoxRight
{
background-color: #F0F0F0;
border: solid 0px #FFF;
border-top: solid 1px #FFF;
padding: 2px;
padding-left: 10px;
width: 180px;
}

-->
</style><script language="JavaScript">
<!--
function FP_setStatusBarText(txt) {//v1.0
window.status=txt;
}
// -->
</script><bgsound
src="Jazz%20-%20Thelonious%20Monk%20-%20Solo%20Blues%20Piano.mp3"
loop="-1"><script language="JavaScript" fptype="dynamicanimation">
<!--
function dynAnimation() {}
function clickSwapImg() {}
//-->
</script><script language="JavaScript1.2" fptype="dynamicanimation"
src="animate.js">
</script></head><span id="sound"></span> <p><font color="#808080">Welcome to
Triple Diamond Development Inc. After
reviewing the information below, please explore the site through the provided
links to the left.</font></p>

<hr>




<h2><font color="#808080">Our Mission</font></h2>
<p onmouseover="FP_setStatusBarText('Welcome To Triple Diamond Development')">
<font color="#808080">Our mission is to provide quality condominiums for our
customers and deliver
them in a timely manner. Triple Diamond provides responsible development
through
working with local municipal establishments and working with the people in
the community. We not only want to work with you on a business level but we
also want
to work with you on a personal level so that we can better understand your
wants. We do more than enhance the
aesthetics of the communities we work in, we
also strive to make an economical impact as well.</font></p>

<hr>


<p> </p>
<h2><font color="#808080">Company Profile</font></h2>
<p><font color="#808080">Our company was founded four years ago, in early
2002, by Fred Khoshaba. Although it is
a young company, our founder has over 38 years of experience in the
construction
and electrical fields. He started the company with his first project,
Eastgate
Condominiums in the Logan Square and Hermosa neighborhoods of Chicago. This
first
project featured six luxury condos and three commercial office spaces. He
later
expanded the company with our current project, Edgebrook Pointe, which is
located in
Chicago's Edgebrook community. This project features eighteen luxury condos
available
with two or three rooms and six front stores. Mr. Khoshaba is continuously
looking for further projects to
</font>
<a dynamicanimation="fpAnimformatRolloverFP1" fprolloverstyle="color:
#E44D03" onmouseover="rollIn(this)" onmouseout="rollOut(this)"
language="Javascript1.2" href="http://www.tdd-inc.com/prod03.htm">
<font color="#0000FF">expand</font></a><font color="#808080"> his business
so he can continue serving
you, his customer, with quality products.</font></p>

<hr>

<p> </p>
<h2><font color="#808080">Contact Information</font></h2>
<p><font color="#808080">If you have any questions regarding any of our
properties, customer support,
sales or about this website, please feel free to contact us 24/7 via the
information provide below or through our
</font>
<a href="http://www.tdd-inc.com/feedback.htm">
<font color="#0000FF">feedback</font></a><font color="#808080"> page, thank
you.
</font> </p>

<dl>
<dt><font color="#808080"><strong>Telephone</strong> </font> </dt>
<dd><font color="#808080">
<!--webbot bot="Substitution" s-variable="CompanyPhone" --></font></dd>
<dt><font color="#808080"><strong>FAX</strong> </font> </dt>
<dd><font color="#808080">
<!--webbot bot="Substitution" s-variable="CompanyFAX" --></font></dd>
<dt><font color="#808080"><strong>Postal address</strong> </font> </dt>
<dd><font color="#808080">6419 W. Touhy Ave, Chicago, IL 60646</font></dd>
<dt><font color="#808080"><strong>Electronic mail</strong> </font> </dt>
<dd><font color="#808080">
<a id="spamspoiler_ph1" style="color: blue"
href="mailto:[email protected]?subject=General Information">Contact General
Info</a>
<script language="JavaScript">
var userTo = 'TripleDiamondGenInfo';
var domainTo = 'gmail.com';
var userCC = '';
var domainCC = '';
var userBCC = '';
var domainBCC = '';
var subject = '';
var body = '';
document.write('<a href=\"mailto:' + escape(userTo) + '@' + escape(domainTo)
+ '\">Contact General Info</a>');
var ssDiv = document.getElementById("spamspoiler_ph1");
ssDiv.style.display="none";

</script><br>
<a id="spamspoiler_ph2" style="color: blue"
href="mailto:[email protected]?subject=Sales">Contact Sales</a>
<script language="JavaScript">
var userTo = 'TripleDiamondSales';
var domainTo = 'gmail.com';
var userCC = '';
var domainCC = '';
var userBCC = '';
var domainBCC = '';
var subject = '';
var body = '';
document.write('<a href=\"mailto:' + escape(userTo) + '@' + escape(domainTo)
+ '\">Contact Sales</a>');
var ssDiv = document.getElementById("spamspoiler_ph2");
ssDiv.style.display="none";

</script><br>
<a id="spamspoiler_ph3" style="color: blue"
href="mailto:[email protected]">Contact Customer Support
</a>
<script language="JavaScript">
var userTo = 'TripleDiamondSupport';
var domainTo = 'gmail.com';
var userCC = '';
var domainCC = '';
var userBCC = '';
var domainBCC = '';
var subject = '';
var body = '';
document.write('<a href=\"mailto:' + escape(userTo) + '@' + escape(domainTo)
+ '\">Contact Customer Support</a>');
var ssDiv = document.getElementById("spamspoiler_ph3");
ssDiv.style.display="none";

</script><br>
<a id="spamspoiler_ph4" style="color: blue"
href="mailto:[email protected]?subject=Web Master">Contact The Webmaster
<script language="JavaScript">
var userTo = 'stangg172005';
var domainTo = 'gmail.com';
var userCC = '';
var domainCC = '';
var userBCC = '';
var domainBCC = '';
var subject = '';
var body = '';
document.write('<a href=\"mailto:' + escape(userTo) + '@' + escape(domainTo)
+ '\">Contact The Webmaster</a>');
var ssDiv = document.getElementById("spamspoiler_ph4");
ssDiv.style.display="none";

</script>
</a>
</font></dd>
<dt><b>Directions</b></dt>
<dd>
<a target="_blank"
href="http://maps.google.com/maps?f=q&hl=en&q=6419+W.+Touhy+Ave,+Chicago,+IL+60646">Get Direction!</a></dd>
</dl></body>
</html>****
 
T

Trevor L.

FrontPageUser said:
i believe its all between the <html> tags. Here is a cope of all the
code
from that one page thats messed up.

I haven't commented on this thread before, but here is what I see (in-line)
****<html>

PLACE said:
<script language="JavaScript">
<!--
function FP_setStatusBarText(txt) {//v1.0
window.status=txt;
}
// -->
</script>

<script language="JavaScript">
<!--
function FP_setStatusBarText(txt) {//v1.0
window.status=txt;
}
// -->
</script>

The same function is defined twice. Remove one.
The tag should read said:
<meta name="Microsoft Theme" content="journal-custom 1011">
<body onload="dynAnimation()" language="Javascript1.2" >

This <body> tag is out of place.
The language attribute is not required. Remove it
dynAnimation is a do nothing function - see its definition below - so the
onload=" " seems to serve no purpose

This head tag is out of place

<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252"><meta http-equiv="Content-Language"
content="en-us"><title>Triple Diamond Development
Incorporated</title><meta
name="GENERATOR" content="Microsoft FrontPage 6.0"><meta name="ProgId"
content="FrontPage.Editor.Document">
<style>

This tag should read said:
<!--
td .GreyBoxRight
{
background-color: #F0F0F0;
border: solid 0px #FFF;
border-top: solid 1px #FFF;
padding: 2px;
padding-left: 10px;
width: 180px;
}

-->
</style>

<!--
function FP_setStatusBarText(txt) {//v1.0
window.status=txt;
}
// -->
</script>

This function has been defined. Remove it.
<bgsound
src="Jazz%20-%20Thelonious%20Monk%20-%20Solo%20Blues%20Piano.mp3"
loop="-1">

This tag is out of place

<!--
function dynAnimation() {}
function clickSwapImg() {}
//-->
</script><script language="JavaScript1.2" fptype="dynamicanimation"
src="animate.js">
</script></head>

PLACE <body> TAG HERE

PLACE <bgsound> TAG HERE

color="#808080">Welcome to
Triple Diamond Development Inc. After
reviewing the information below, please explore the site through the
provided
links to the left.</font></p>

<hr>




<h2><font color="#808080">Our Mission</font></h2>
<p onmouseover="FP_setStatusBarText('Welcome To Triple Diamond
Development')"> <font color="#808080">Our mission is to provide
quality condominiums for our
customers and deliver
them in a timely manner. Triple Diamond provides responsible
development
through
working with local municipal establishments and working with the
people in
the community. We not only want to work with you on a business level
but we
also want
to work with you on a personal level so that we can better understand
your
wants. We do more than enhance the
aesthetics of the communities we work in, we
also strive to make an economical impact as well.</font></p>

<hr>


<p> </p>
<h2><font color="#808080">Company Profile</font></h2>
<p><font color="#808080">Our company was founded four years ago, in
early 2002, by Fred Khoshaba. Although it is
a young company, our founder has over 38 years of experience in the
construction
and electrical fields. He started the company with his first project,
Eastgate
Condominiums in the Logan Square and Hermosa neighborhoods of
Chicago. This
first
project featured six luxury condos and three commercial office
spaces. He
later
expanded the company with our current project, Edgebrook Pointe,
which is
located in
Chicago's Edgebrook community. This project features eighteen luxury
condos
available
with two or three rooms and six front stores. Mr. Khoshaba is
continuously
looking for further projects to
</font>
<a dynamicanimation="fpAnimformatRolloverFP1" fprolloverstyle="color:
#E44D03" onmouseover="rollIn(this)" onmouseout="rollOut(this)"
language="Javascript1.2" href="http://www.tdd-inc.com/prod03.htm">
<font color="#0000FF">expand</font></a><font color="#808080"> his
business
so he can continue serving
you, his customer, with quality products.</font></p>

<hr>

<p> </p>
<h2><font color="#808080">Contact Information</font></h2>
<p><font color="#808080">If you have any questions regarding any of
our
properties, customer support,
sales or about this website, please feel free to contact us 24/7 via
the
information provide below or through our
</font>
<a href="http://www.tdd-inc.com/feedback.htm">
<font color="#0000FF">feedback</font></a><font color="#808080"> page,
thank
you.
</font> </p>

<dl>
<dt><font color="#808080"><strong>Telephone</strong> </font> </dt>
<dd><font color="#808080">
<!--webbot bot="Substitution" s-variable="CompanyPhone"
--></font></dd> <dt><font color="#808080"><strong>FAX</strong>
</font> </dt> <dd><font color="#808080">
<!--webbot bot="Substitution" s-variable="CompanyFAX" --></font></dd>
<dt><font color="#808080"><strong>Postal address</strong> </font>
</dt> <dd><font color="#808080">6419 W. Touhy Ave, Chicago, IL
60646</font></dd> <dt><font color="#808080"><strong>Electronic
mail</strong> </font> </dt> <dd><font color="#808080">
<a id="spamspoiler_ph1" style="color: blue"
href="mailto:[email protected]?subject=General Information">Contact
General
Info</a>
<script language="JavaScript">
var userTo = 'TripleDiamondGenInfo';
var domainTo = 'gmail.com';
var userCC = '';
var domainCC = '';
var userBCC = '';
var domainBCC = '';
var subject = '';
var body = '';
document.write('<a href=\"mailto:' + escape(userTo) + '@' +
escape(domainTo) + '\">Contact General Info</a>');
var ssDiv = document.getElementById("spamspoiler_ph1");
ssDiv.style.display="none";

</script><br>
<a id="spamspoiler_ph2" style="color: blue"
href="mailto:[email protected]?subject=Sales">Contact Sales</a>
<script language="JavaScript">
var userTo = 'TripleDiamondSales';
var domainTo = 'gmail.com';
var userCC = '';
var domainCC = '';
var userBCC = '';
var domainBCC = '';
var subject = '';
var body = '';
document.write('<a href=\"mailto:' + escape(userTo) + '@' +
escape(domainTo) + '\">Contact Sales</a>');
var ssDiv = document.getElementById("spamspoiler_ph2");
ssDiv.style.display="none";

</script><br>
<a id="spamspoiler_ph3" style="color: blue"
href="mailto:[email protected]">Contact Customer Support
</a>
<script language="JavaScript">
var userTo = 'TripleDiamondSupport';
var domainTo = 'gmail.com';
var userCC = '';
var domainCC = '';
var userBCC = '';
var domainBCC = '';
var subject = '';
var body = '';
document.write('<a href=\"mailto:' + escape(userTo) + '@' +
escape(domainTo) + '\">Contact Customer Support</a>');
var ssDiv = document.getElementById("spamspoiler_ph3");
ssDiv.style.display="none";

</script><br>
<a id="spamspoiler_ph4" style="color: blue"
href="mailto:[email protected]?subject=Web Master">Contact The
Webmaster <script language="JavaScript">
var userTo = 'stangg172005';
var domainTo = 'gmail.com';
var userCC = '';
var domainCC = '';
var userBCC = '';
var domainBCC = '';
var subject = '';
var body = '';
document.write('<a href=\"mailto:' + escape(userTo) + '@' +
escape(domainTo) + '\">Contact The Webmaster</a>');
var ssDiv = document.getElementById("spamspoiler_ph4");
ssDiv.style.display="none";

</script>
</a>
</font></dd>
<dt><b>Directions</b></dt>
<dd>
<a target="_blank"
href="http://maps.google.com/maps?f=q&hl=en&q=6419+W.+Touhy+Ave,+Chicago,+IL+60646">Get
Direction!</a></dd> </dl></body>
</html>****

There are many duplications of a script to generate an email. It would be
better to make this a function and call it several times with different
parameters.

This is all I can see at the moment, although some things mysitfy me
e.g. <a dynamicanimation="fpAnimformatRolloverFP1" fprolloverstyle="color:
I don't know what dynamicanimation or fprolloverstyle are

These may be catered for by FP (I don't rely on its internal functions too
much) so my comments may be out of line.

onmouseover="rollIn(this)" onmouseout="rollOut(this)"
rollIn and rollOut are undefined functions (unless they are on animate.js)
 

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