Welcome to WebmasterWorld Guest from 54.145.208.64

Forum Moderators: open

Message Too Old, No Replies

FrontPage not displaying Javascript "Force Frame"

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

10+ Year Member



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:

<SCRIPT LANGUAGE="JavaScript">
<!--
if (window == top) top.location.href = "Index.html";
// -->
</SCRIPT>

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>")?

Jas0n

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

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



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.