How to include a frameset inside another frameset?

0

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 tag is used to link the frameset that can be used to restore the frames that has been stored.

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 Apr 15, 2023 at 00:16
Sign in to add a comment

0 Answers

0
📝 No answers yet!

Be the first to answer this interview question.

Your Answer

Sign in to post your answer and help the community.