The <frameset> & <frame> tags

Using frames in older browsers

At present, both the <object> and <layer> tags need workaround solutions to allow the use of the same content files.

However, the <frameset> & <frame> tags are not without complications. Although the problem of screen resolution and content size are controlled within the frame definition, the problems with frames are sufficient that many visitors will move on instead of browse through a nest of frames. The problem arises from badly coded frame sites that give the rest a bad name. It is essential that ALL frame documents consistently deal with the target attribute of ALL links contained within files to be incorporated into frames.

To do this, you must allocate a name to any frame window that is going to display content as part of your site. In the frame document itself (which has no body tag) insert the name attribute into the frame statement for the window:

<frameset cols="250,*" border=0>
</frameset>

This produces a frame document with two frames, each named. The left hand pane is 250 pixels wide and there is no border. This was the format of the frame pages used with a previous version of this site. The left hand pane uses a background image and lists the appropriate links. ALL these links MUST use the correct target.



This is part of www.codehelp.co.uk Copyright © 1998-2004 Neil Williams
See the file about.html for copying conditions.