Solved

window.open alignment

Posted on 1998-01-07
2
470 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
Comment Utility
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
Comment Utility
Thank you! it worked!!
-Coffin
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Having worked on larger scale sites, we found out that you are bound to look at more scalable solutions to integrating widgets, code snippets or complete applications and mesh them into functional sites, in any given composition. To share some of…
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
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…

772 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now