SiteExperts.com Logo Home | Community | Developer's Paradise | Jobs
User Groups | Site Tools | Site Information | Search

Inside Technique : Frame Master
By Scott Isaacs

While framesets are a great tool for organizing content they can be problematic when it comes to navigation. Since a frameset is just a collection of pages, it is very easy for a user to accidentally view a frame outside of its intended context. For example, how many times have you browsed onto a web-site where the page is missing any means of navigation. This may be because you are viewing the document that is intended to be displayed within a frameset.

In this article, we build a solution to this problem. We start with a simple solution that can automatically reload a page within the frameset. We then build upon this solution to provide a generic script that can redisplay any document within a dyanmically generated frameset, even if no frameset HTML file explicitly exists the server. First we start by explaining the problem and provide a simplistic solution.