Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

FrontPage not displaying Javascript "Force Frame"

4:19 pm on Jun 7, 2002 (gmt 0)

New User

10+ Year Member

joined:May 23, 2002
votes: 0

I'm using this in the head of the "body" content that appears in my frame navigations (Index.html is the frameset page) to make sure that whenever one of the body/content pages is loaded the accompanying outer navigation is included:

if (window == top) top.location.href = "Index.html";
// -->

The problem is that MS FrontPage 2002 doesn't seem to want to display the page in the "Preview". All MS Frontpage shows is "The page cannot be displayed" in the Preview tab.

However when I go to "File>Preview In Browser" the body/child content page calls the appropriate Frameset page and looks like it should.

Any idea on what setting to change in MS FrontPage to allow it to Preview correctly (I already have Java Script checked off in "Tools>Page Options>Compatibility>")?


4:25 pm on June 7, 2002 (gmt 0)

Moderator from GB 

WebmasterWorld Administrator brotherhood_of_lan is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Jan 30, 2002
votes: 1

Hi JasOn,

Although I can't offer an answer to the preview section, I would say that you should'nt rely on it...it has many problems with displaying what you intended it to. I usually just stick to previewing it in the browser....where it will be viewed by the majority of other people.