Discussion Locked

Keep visitors in a web site

0 helpful
6 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hi,
A question about using frames in HTML:
I have a HTML file that is composed of two frames. The top frame contains the banner and the navigation buttons. The bottom frame contains the links to other web sites. When the visitors click those links, I want to dispaly those pages under my top frame so the visitors stay in my web site. I can do it if I click the links on my bottom link frame. That brings up an outside web page and displayed it under my top frame. But if I click on a link of theoutside page, I will be out of my web site.
Anyone knows how to do it? I need your help. Thanks.

6 replies

by ebob

Actually, you cannot guarantee that you can do what you want. As you have found out, you can create a link with a "target='bottom'" and the page the link points to opens in your bottom frame. If links on that site do not use a "target=" argument, then subsequent pages WILL open in your bottom frame.

But, if a link in one of those pages uses, for example, "target='_top'", then that link will open up and fill the whole browser. And there is NOTHING you can do about that.

In fact you will find a lot of sites have a safety mechanism built in which tests to see if any of their pages is being opened in somebody else's frame, the page is forced to "_top". I do this on the sites I manage.

"Why?", you ask. Simple. I do not wany the content on MY sites appearing to be part of YOUR site. Not only are you not paying me any money to RENT my content, but by including my content in one of your frames, you are essentially representing my content as being your content. And that is plagarising (just ask Napster). As well, the inference is that my organisations somehow support your organisation, which is not necessarily true.

This discussion is closed to new replies.