Opening a new window in a certain spot?

is there a certain way to open a window with java/dhtml in a certain spot on the screen… well i know there is but how is it done.

also there has to be some kind of “if function” since people run different resolutions, like if 600x800 is detected open it here… ect.

thanks for any help, i know this is a broad question.

There are scripts available for download that will detect screen resolution, open the window at a set size, and then move it (normally to screen center)…
Try these:



http://www.dynamicdrive.com/

hope that gets you going…

Also, check www.flash-db.com , there’s an online pop-up generator there…

I wrote my own Javascript for a centered pop up no matter what resolution.

You could probably modify the script a bit do make it go to a certain location.

thanks lost in beta, that helped alot.

No problem :slight_smile:

All of you who are still using popouts are coming close to the answer to solving complex problems below.

i have other problem:

i want to do smthng like
when i open a popup the window that opens it should close itself

how to do taht???

If you mean where the main window closes itself, then there is a way, but its pointless because IE always asks you if you want to close the window, which is popped up in an alert.

This is extremely annoying, there used to be a way around that, but they removed that with IE6 :frowning:

So I don’t recommend it at all.

MS suxx a lot… :pirate:

They called it a “Security Issue”. I don’t know how that works out, but whatever. I don’t have the need for it so I don’t mind too much, but yeah, it does suck.