| Author |
OPENING A MAXIMISED WINDOW THROUGH JAVA SCRIPT
|
mou haj
Ranch Hand
Joined: Sep 12, 2001
Posts: 81
|
|
Hi, can anybody let me know how to open a maximised windoe thorugh javascript.Because if i give height and width then its not exact.I just want to open the window in normal maximised form. Please help Thanx Mou
|
 |
Eric Pascarello
author
Rancher
Joined: Nov 08, 2001
Posts: 15357
|
|
Goto the site below and click the maximize buttons and generate the code. Any questions just yell! http://www.a1ien51.8k.com/scripts/popupwingenV2.htm
|
 |
mou haj
Ranch Hand
Joined: Sep 12, 2001
Posts: 81
|
|
the script is not there ( :O
|
 |
Eric Pascarello
author
Rancher
Joined: Nov 08, 2001
Posts: 15357
|
|
It is there, when you build it....... <html> <head> <title>PopUpScript</title> <script> function PopUp(){ var ScreenWidth=window.screen.width; var ScreenHeight=window.screen.height; var movefromedge=0; placementx=movefromedge; placementy=movefromedge; var PopUpUrl="http://www.A1ien51.8k.com" WinPop=window.open(PopUpUrl,"","width="+ScreenWidth+",height="+ScreenHeight+",toolbar=1,location=1,directories=1,status=1,scrollbars=1,menubar=1,resizable=1,left="+placementx+",top ="+placementy+",screenX="+placementx+",screenY="+placementy+","); } </script> </head> <body> <a href="javascript:PopUp()">Type One</a> <BR> <p onclick="PopUp()">Type Two</p> </body> </html>
|
 |
mou haj
Ranch Hand
Joined: Sep 12, 2001
Posts: 81
|
|
Thanx a lot Al
|
 |
 |
|
|
subject: OPENING A MAXIMISED WINDOW THROUGH JAVA SCRIPT
|
|
|