Solved

window.open alignment

Posted on 1998-01-07
2
487 Views
Last Modified: 2012-08-13
how would one align a new opening window to the screen? i need examples
0
Comment
Question by:coffin
2 Comments
 
LVL 6

Accepted Solution

by:
tecbuilder earned 100 total points
ID: 1277363
You have no control over where the window is displayed until you get to Netscape 4.x and MSIE 4.x.

To move the window to an absolute position you use yourWindowName.moveTo(x,y).  This will move the top left corner to the x,y coordinate.

It is also possible to move the window relative to it's current location with the yourWindow.Name.moveBy(x,y), where x is the number of pixels that the window will move horizontally, and y is the number of pixels that the window will move vertically.
0
 

Author Comment

by:coffin
ID: 1277364
Thank you! it worked!!
-Coffin
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Article by: DanRollins
This article describes a JavaScript program that creates a maze made of hexagonal cells.  In Part 2 (http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/A_7850-Hex-Maze-Part-2.html), we'll extend the program by adding a depth-…
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question