AUTOMATIC JUMP to MAIN PAGE - JUMP TO HOME OR LINK TO MAIN FRAMESET

They have: 5,633 posts

Joined: Jan 1970

Hi,
I have designed the Webpage www.ocho.de which includes 2 FRAMESETS (one in another).
My problem:
Often people find child documents of these framesets in search engines and then can not see the framesets which include my navigationbar.

How can I make that if somebody gives the LINK to one of the child documents (for example ---http://www.ocho.de/HTML8/geschichte/tango/tango1.html---), the browser automatically goes to my home
(---- http://www.ocho.de ---).

John Pollock's picture

He has: 628 posts

Joined: Mar 1999

I think I have the script you are looking for at:

http://www.javascriptcity.com/scripts/local/snwin2.htm

Be careful though, the search engines don't like pages that redirect quickly. Smiling

----------
Page Resource: http://www.pageresource.com
JavaScript City: http://www.javascriptcity.com

They have: 5,633 posts

Joined: Jan 1970

if (top.location != self.location) {
window.location.href = "http://www.ocho.de";
}

----------
[email protected]
vegas.com.au/~jasper

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.