?
Solved

window.open alignment

Posted on 1998-01-07
2
Medium Priority
?
493 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 6

Accepted Solution

by:
tecbuilder earned 400 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: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

This article will give core knowledge of JavaScript and will head in to your first JavaScript program. I am Durvesh Naik and I am here to deal with this series of JavaScript. I will teach you JavaScript in part wise , as its quite boring to read big…
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
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…
Suggested Courses

741 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