How to include a frameset inside another frameset?
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.
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.
0 Answers
0Be the first to answer this interview question.
Your Answer
Sign in to post your answer and help the community.