Search Engines & Frames

I

Ian Bull

My website uses frames - i.e. Header at top + Contents bar at left + Intro &
various called for pages in the remaining body.

This is fine for those who enter via the 'front door'.

I have only just realised the problem for those who arrive at a content page
via Google etc. All they get is the 'bald' page without the trimmings & no
way to easily invoke our 'Home' - those who understand can of course edit
the file name off the browser Address but that would be beyond many
visitors.

Is there any way - apart from inserting a 'Home' link on every page - to
induce pages to pick up the Header & Contents when called individually?

Thank you & Regards
Ian Bull
 
S

Stefan B Rusynko

That's a shortfall of frames
- you can use a JavaScript redirect to send them to the home page (w/ frames) if they open your site outside of the frameset, or a
dynamic frameset
For a redirect add below script to your pages
<script type="text/javascript" language="JavaScript"><!-- Hide It:
if (parent.location.href == self.location.href) {
window.location.href = 'http://yoururl.com/';
} else { // In frames
}
--></script>

For Dynamic framesets (not for the beginner) see
http://javascript.internet.com/navigation/dynamic-frameset.html

--




| My website uses frames - i.e. Header at top + Contents bar at left + Intro &
| various called for pages in the remaining body.
|
| This is fine for those who enter via the 'front door'.
|
| I have only just realised the problem for those who arrive at a content page
| via Google etc. All they get is the 'bald' page without the trimmings & no
| way to easily invoke our 'Home' - those who understand can of course edit
| the file name off the browser Address but that would be beyond many
| visitors.
|
| Is there any way - apart from inserting a 'Home' link on every page - to
| induce pages to pick up the Header & Contents when called individually?
|
| Thank you & Regards
| Ian Bull
|
|
 
C

Clark

It's not slick, but what I do on my site is have the following at the
top of each page: "If a search engine brought you to this site, and you
do not see the navigation graphic above this sentence, click here" where
the "click here" links to the site. Of course, there are also text
menus on each page so you wouldnt necessarily *have* to see the graphic
menu. You can see how it looks at www.ownertrades.com
 
I

Ian Bull

Clark,

Many thanks for the pointer - it was something I had simply not previously
appreciated at all & I will obviously have to do something similar if we are
to retain the frames.

There's always a 'gotcha'!

Regards
Ian
www.laegamefishing.org.pg (the front door :) )

It's not slick, but what I do on my site is have the following at the
top of each page: "If a search engine brought you to this site, and you
do not see the navigation graphic above this sentence, click here" where
the "click here" links to the site. Of course, there are also text
menus on each page so you wouldnt necessarily *have* to see the graphic
menu. You can see how it looks at www.ownertrades.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top