You can customize the script for individual pages if you have the time and inclination to create a separate top-level frameset for each page. As link popularity becomes a more important ranking criterion for search engines, webmasters are eager to trade links with related sites. This is usually a win for everybody - unless an unscrupulous or inexperienced webmaster loads your page into his or her frame without attribution. This script checks to see if the current page location is the top-most in the browser hierarchy. If not, then the script forces the page to the top level and displays it as the current page in the browser.
Frames are controversial in the Internet community because they are often buggy and unpredictable.
If you use frames, be sure to test your site across as many browsers and browser versions as possible. NetMechanic's HTML Toolbox will scan your page and alert to problems that may cause your framesets to display incorrectly. Press Room Support Webmaster Newsletter Subscribe to our free newsletter and receive valuable web design and maintenance tips. NetMechanic Inc. All rights reserved.