The HTML-based technique can link to a new frameset document with the TARGET="_top" attribute (replacing the entire frameset). However, there is an alternative if the frames to be updated are part of a nested frameset. In the initial frameset document, use a secondary frameset document to define the nested frameset. For example:
<frame src="contents.html" name="Contents">
<frame src="frameset2.html" name="Display">
<!-- Alternative non-framed version -->
A link can now use the TARGET="Display" attribute to replace simultaneously all the frames defined by the frameset2.html document.
<a href="URL1" target="Frame1" onClick="top.Frame2.location='URL2';">Update frames