1.

How To Include A Frame Set Inside Another Frame Set?

Answer»

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:
<script TYPE="text/javascript">
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';
}
</script>

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:
<script TYPE="text/javascript">
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';
}
</script>



Discussion

No Comment Found