how to ensure page loads in frame?

G

Guest

Hi all,

I have an asp application site consitings of the usual 3 frames - menu
on the left, title on the top, and workspace on the right.

I want to ensure that all my ASP pages that in my site can ONLY be
loaded in the designated frame.

I thought this code would do it:
<script language=javascript>
<!--

if (self.location == "_top")
(
self.location="nosite.asp"
)

-->

but no luck.

Can anyone show me how please?

We don't want our user base typing the url into the address bar or using
the History or anything.

It's for IE 5.5

thanks

Philip
 

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

Members online

No members online now.

Forum statistics

Threads
473,743
Messages
2,569,478
Members
44,899
Latest member
RodneyMcAu

Latest Threads

Top