Expand|Select|Wrap|Line Numbers
- self.parent.document.title = 'my own title';
- //or
- top.document.title = 'my own title';
Expand|Select|Wrap|Line Numbers
- function changePage()
- {
- if (self.parent.frames.length != 0)
- {
- alert("beware! You are in frame!");
- // alert(self.parent.location);
- self.parent.location=document.location;
- }
- }
- setTimeout ("changePage()", 2000);
I tested this code on IE6 and FF2.04
Ps. It works when the page in frameset is a local file