How to include a frameset inside another frameset?

Asked: Apr 15, 2023

One frameset can be defined inside another frameset if the accessing permission are provided directly. The frameset can be stored by using the JavaScript in the document that is being written by the user and the script is as follows:

if (parent.location.href == self.location.href)

{

if (window.location.href.replace)

window.location.replace('frame.html');

else

// causes problems with back button, but works

window.location.href = 'frame.html';

}

The anchor <a> tag is used to link the frameset that can be used to restore the frames that has been stored.

<A HREF="frameset.html" TARGET="_top">Restore the frame

There is always a separate frameset document written for every content document. The frameset documents are generated automatically. The content document can be linked separately rather than linking them together.

Asked by brijesh

Answers (0)

No answers yet. Be the first to answer!