?
Solved

window.open alignment

Posted on 1998-01-07
2
Medium Priority
?
495 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 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

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

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

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?
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
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

850 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