This is a sample content webpage you might have designed - one that might be possibly "found"
by a search engine user. Of course, the search engine may not know or show anything about your
the <frameset> page is the top window and if not, it automatically loads the <frameset> page. The
<frame>. Click here to download the pages in a ZIP file.
The script in the <frameset> page works by examining the URL to check for the presence of code in the query string (ie. the information that comes after the question mark in the URL). Then it splits that message into two parts, the framed page's URL and its frame number, and loads everything into its proper frame without making the user jump through any links.
In this example, there are three frames. The top frame (numbered #2) which displays the top banner bar and the page name. The left frame (numbered #0) contains the navigation menu. And, finally, the frame for this page (numbered #1) which contains the main content pages in this simple common layout.
find on these pages into your pages and modifying it to match your site's file names. In the
you need to change the settings of the variables 'wFrame0', 'wFrame1', and 'wFrame2'. 'wFrame0' is the
URL of the <frameset> page, 'wFrame1' is the URL of the page that you want loaded into
the <frame> with the name attribute set to 'menu', and 'wFrame2' set to the URL of the page
you want loaded into the <frame> with the name attribute set to 'content'. You also need to
set the value for the variable 'baseURL' to the URL for the directory where these pages reside
on your website.
Please Note: In the end, I urge you to avoid using frames at all costs. The disadvantages to your website and to your users far outweigh any possible benefits. The search engines can read frames, and this system will help you mitigate the problems involved, but you'll still be putting out fires for as long as your site relies on frames. There are many simple HTML/CSS alternatives for your web design that will give you the same capabilities without the problems. See my No Frames Navigation System for some ideas to help you replace frames and easy ways to remove frames from your existing web design.
This page Copyright (C) 2003-2011 by Richard L. Trethewey, Rainbo Design Minneapolis. All rights reserved.