WillMaster Possibillites Logo EzineSeek Award
Master Frame Reunion
by
William Bontrager

Permission is granted to reprint this article in its entirety, provided no reprints are sent in conjunction with unsolicited bulk email, provided no fee or other value is exchanged, provided no changes are made to the article, and provided the author's name, signature lines, and copyright line are printed with the article; except you may change the article's title.

If you have a framed site, you naturally want people to view your site within the frames you designed.

With the free Master Frame Reunion, when an unframed page of your framed site is loaded into a JavaScript-enabled browser, the page is put into frames. When people

  • arrive at an unframed page from a search engine or

  • attempt to view individual pages unframed,

the JavaScript code in the HEAD area tells Master Frame Reunion, a CGI program, which page to put into frames.

If a Master Frame Reunion generated framed page is bookmarked, using the bookmark will bring the visitor to the same framed page.

The bookmarking feature can be used to give people URLs to specific pages within your framed site.

Simply type the individual page's actual URL into your browser. Once the framed page is loaded, there will be a new URL showing in your browser's address bar — the bookmarking URL to that specific page within your framed site.

The bookmarking URL can be quite long. If you would like to shorten the URL and track the number of times the URL was clicked, ProLinkz(tm) from http://ProLinkz.com/ is dependable and easy to use.

Demonstration, script download, and example download links are all on the Master Frame Reunion home page at http://willmaster.com/a/8/pl.pl?81demo

(If you do not have CGI capabilities, you can still redirect out-of-frames visitors to your main framed page. See the WMP Tip: "Automatic Framing of Unframed Pages" linked at http://willmaster.com/possibilities/wmptips/ )

Once downloaded, modify the script for two items of information:

  1. The URL of your frameset page.

  2. The file name to replace in your frameset — when an out-of-frames page is loaded, this file name will be replaced with the page being loaded.

To use Master Frame Reunion,

  1. all URLs in your frameset page must be complete http://... URLs, and

  2. The following seven lines of JavaScript must be on every content page of your framed site (replace the URL in the JavaScript code with the URL to your copy of Master Frame Reunion):

<script type="text/javascript" language="JavaScript"><!-- 
if(top.location == self.location) { 
var FT = escape(location.href);
var FA = 'http://domain.com/cgi-bin/MasterFrameReunion.cgi';
var FU = FA + '?' + FT;
self.location = FU; 
} //--></script>

Do you have a framed site?

Now, out-of-frames browsers can quickly and painlessly become properly framed.

See http://willmaster.com/a/8/pl.pl?81demo for a demonstration, an example, and the script download link.

If you have any problems, questions, or suggestions related to Master Frame Reunion, the MasterCGI Resource Center at http://MasterCGI.com/ is the support area for Master Series programs.

Copyright 2001 William Bontrager
Programmer/Publisher, "WillMaster Possibilities" ezine
http://willmaster.com/possibilities/
subscribe-possibilities@willmaster.com
Business Home Page: http://willmaster.com/