Nov 30, 2003 #1 sirjon Instructor Joined Jun 6, 2002 Messages 135 Location TH How do we make a page opened up with target="_blank" maximise itself? Thanks, Jb
Dec 1, 2003 #2 Craigieboy Programmer Joined May 25, 2001 Messages 71 Location GB You can do it by adding JavaScript within the Code: <head> tags of your _blank page. Copy and paste the following... Code: <script language="javascript"> if (top.frames.length!=0) top.location=self.document.location; self.moveTo(0,0) self.resizeTo(screen.availWidth,screen.availHeight) </script> Regards Craig Upvote 0 Downvote
You can do it by adding JavaScript within the Code: <head> tags of your _blank page. Copy and paste the following... Code: <script language="javascript"> if (top.frames.length!=0) top.location=self.document.location; self.moveTo(0,0) self.resizeTo(screen.availWidth,screen.availHeight) </script> Regards Craig