Re: Newbie Help - Control Access Of Which Page A 'Viewer' Enters
- From: "Nicholas Savalas - http://savalas.tv" <nick@xxxxxxxxxx>
- Date: 4 Jun 2006 05:51:49 -0700
Dear Mr. Jones,
While there are many reasons why you should not use frames (like search
engines see the following code as your entire home page, which is not
good:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<title>John Achterberg</title>
</head>
<frameset rows="162,*" frameborder="no">
<frame name="header" scrolling="no" noresize target="main"
src="navbar.htm">
<frame name="main" src="welcome.htm" target="_self">
<noframes>
<body>
<p>This page uses frames, but your browser doesn't support them.</p>
</body>
</noframes>
</frameset>
</html>
....there is a fast way to make sure that pages such as navbar.htm,
welcome.htm, etc. are not shown outside of their frameset. Put the
following code in between the <head> and the </head> tags on every page
EXCEPT index.htm:
<script language="javascript">
if(top==self) {
self.location.href='http://www.johnachterberg.com';}
</script>
This fast and dirty technique will at least get people to your complete
home page, rather than, say,
http://www.johnachterberg.com/english/academy.htm
Your friend's site needs much more than pictures and text, though, to
be successful - please consider helping your friend by reading:
http://www.webdeveloper.com/html/html_metatags.html
http://webxact.watchfire.com/
http://www.hypergurl.com/submit.html - &tc...
Your friend will appreciate your efforts. Good luck, Mr. Jones.
Nicholas Savalas - http://savalas.tv
--------------------------------------------------
Scooby Jones wrote:
Hello
I hope you can help.
I have designed a website for a friend (www.johnachterberg.com) which uses
frames and if accessed through the above page works OK.
If however, you do a google for (john achterberg academy) and click on the
link it takes you into that page within the site but you miss out the frames
and all of the site navigation.
Is there any way of controlling how users access the site -
so that they always go through the main page first, or
so that the index / frames are displayed on every page?
Many thanks in advance,
Carl.
.
- Prev by Date: Re: FrontPage Extensions
- Next by Date: Re: Table possibilities
- Previous by thread: FrontPage Extensions
- Next by thread: Re: Newbie Help - Control Access Of Which Page A 'Viewer' Enters
- Index(es):
Relevant Pages
|
Loading