| Author |
window.open screenX is un-cooperative
|
Lou Pellegrini
Ranch Hand
Joined: Nov 11, 2003
Posts: 105
|
|
Hi, Here's my open script function openSearch(){ search = window.open('searchworkflow.do', 'search', 'width=850, height=500, resizable=yes, scrollbars=yes, status=yes, screenX=100, screenY=100'); search.focus(); } No matter what I do to screenX, the window won't budge. I need to move the window to the left so the right side is not cut off. Any suggestions? Thank you in advance for your help, Lou
|
 |
Lou Pellegrini
Ranch Hand
Joined: Nov 11, 2003
Posts: 105
|
|
As happens frequently, I post the question then a few minutes later I find the answer. I tested it, works fine. Here it is http://www.mcli.dist.maricopa.edu/tut/tut27c.html Unfortunately, NetScape and Internet Explorer use different names for these options! So to make it work on both browsers, you must specify the settings twice: screenX=hh,screenY=yy specifies the location of the upper left corner of the window, measured from the top left corner of the monitor (for NetScape 4.0 and later) left=hh,top=yy specifies the location of the upper left corner of the window, measured from the top left corner of the monitor (for Internet Explorer 4.0 and later)
|
 |
Eric Pascarello
author
Rancher
Joined: Nov 08, 2001
Posts: 15003
|
|
look at this tool of mine: http://www10.brinkster.com/A1ien51/scripts/PopUpWinGenV3.htm
|
 |
 |
|
|
subject: window.open screenX is un-cooperative
|
|
|