Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Maximise new page?

Status
Not open for further replies.

sirjon

Instructor
Jun 6, 2002
135
TH

How do we make a page opened up with target="_blank"
maximise itself?

Thanks,
Jb
 
You can do it by adding JavaScript within the
Code:
<head>
tags of your _blank page. Copy and paste the following...

Code:
<script language=&quot;javascript&quot;>
if (top.frames.length!=0)
top.location=self.document.location;

self.moveTo(0,0)
self.resizeTo(screen.availWidth,screen.availHeight)
</script>

Regards
Craig

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top