Error: Object Expected

C

Chris

I am new to FrontPage and designing webpages, so please bear with me (this is
my very first page).

I have totally created my webpage in FrontPage (a combination of 2002 and
2003). I have 3 frames and inside the one frame, incorporated a collapsible
list.

I post the page to the webserver (sorry, don't know what it is as our
central office takes care of it) and get the following errors.

Line 1
Error: Invalid character

Line 18
Error: Object expected

I've run a debug and here is the code it is balking at.

<html xmlns:v="urn:schemas-microsoft-com:vml"
xmlns:eek:="urn:schemas-microsoft-com:eek:ffice:eek:ffice"
xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">

<title>New Page 2</title>
<base target="main">
<script language="JavaScript" fptype="dynamicoutline">
<!--
function dynOutline() {}
//-->
</script>
<script language="JavaScript1.2" fptype="dynamicoutline"
src="file:///C:/Program%20Files/Microsoft%20Office/Office10/fpclass/outline.js">
</script>
<script language="JavaScript1.2" fptype="dynamicoutline" for="document"
event="onreadystatechange()">
<!--
initOutline()
//-->
</script>
</head>


Any help on this would be greatly appreciated!

Thanks,

Chris
 
M

Murray

This is the culprit -

<script language="JavaScript1.2" fptype="dynamicoutline"
src="file:///C:/Program%20Files/Microsoft%20Office/Office10/fpclass/outline.js">

It's pointing at a file on your hard drive. A moment's reflection will
probably be enough to convince you that this is not going to work well on
the web. The solution would be to remake that link and publish the page
again.

Also, the "vml" in your first few lines bother me - are you using WordArt on
this page?
 
C

Chris

WordArt ... no. A couple of pictures in the first frame, yes, but no wordart.

As for recreating the link, this is going to sound really stupid but I'm not
at all versed in HTML, is this code referring to my collapsible list?
 
M

Murray

It could be. You need to know that those collapsible lists don't work
reliably cross-browser. The good news is that I can tell you how to do one
that does work -

This method solves the problem with FP's collapsible
list code that is NOT FF/NN compatible, and will therefore work in all
browsers.

http://www.murraytestsite.com/collapsiblelist.htm

It uses some CSS, and the FP Change Property behavior.
 

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