preventing frame as standalone

They have: 2 posts

Joined: Jan 2000

I have a typical three-frame website. Some of the pages that I have load into the main-body frame have been getting bookmarked or linked via search engines, so the viewer sees the frame as a standalone page, without my menu frame or header frame.

How can I prevent a page from displaying as a standalone?

Thanks,
Liontec

John Pollock's picture

He has: 628 posts

Joined: Mar 1999

I have a script at JavaScript City that might help. It takes the viewer to your main page though, you might want a more advanced one that can leave the page the viewer called and just add the frames. I'm not sure on the coding for that though.. here is the url for the one I mentioned:
http://www.javascriptcity.com/scripts/local/swin2.htm

If anyone knows the other way, please post it as well.

------------------
John Pollock
http://www.pageresource.com
http://www.javascriptcity.com

[This message has been edited by John Pollock (edited 27 January 2000).]

They have: 2 posts

Joined: Jan 2000

I've implemented that and I think it might do the job for the time being. I don't mind not having the page they tried to access not resulting in the frame when switched over, they can navigate through my pages to get what they want.

Thanks for the help!

Liontec

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.