Re: Newbie Help - Control Access Of Which Page A 'Viewer' Enters



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.

.



Relevant Pages

  • Re: Welding 1.6mm square tube.
    ... This sounds like the frames are for professional ... Pay someone to do the welding. ... he only has to weld. ... When my friend lived close by this wasn't an issue. ...
    (sci.engr.joining.welding)
  • Re: "Frames" Question
    ... I have a friend who has created his own blog web site. ... On my Firefox the "frames" overlap and blank-out portions ... HTML is badly formed and they will each make different assumptions ...
    (sci.electronics.design)
  • Re: "Frames" Question
    ... I have a friend who has created his own blog web site. ... On my Firefox the "frames" overlap and blank-out portions ... It doesn't look right on Safari either, Frames are out of place. ...
    (sci.electronics.design)
  • Cannot view website
    ... It has two frames, one being a navigation bar. ... been O.K. until last week when my friend cannot view her website. ...
    (microsoft.public.frontpage.extensions.windowsnt)
  • Re: What have you made from your bike?
    ... clock out of the cassette. ... frames, parts etc. ... A friend of mine has a really cool bottle opener made from a segment of ...
    (rec.bicycles.tech)

Loading