View Full Version : opening a new window in a certain spot?
xmattx
January 28th, 2003, 02:17 PM
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.
eyezberg
January 30th, 2003, 05:20 PM
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.hotscripts.com/
http://www.javascript.com/
http://www.dynamicdrive.com/
hope that gets you going..
Also, check www.flash-db.com , there's an online pop-up generator there..
lostinbeta
January 30th, 2003, 05:21 PM
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.
xmattx
January 30th, 2003, 09:09 PM
thanks lost in beta, that helped alot.
lostinbeta
January 30th, 2003, 10:11 PM
No problem :)
rynoe
January 31st, 2003, 10:33 PM
All of you who are still using popouts are coming close to the answer to solving complex problems below.
fluid_0ne
February 20th, 2003, 01:35 AM
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???
lostinbeta
February 20th, 2003, 01:38 AM
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 :(
So I don't recommend it at all.
fluid_0ne
March 3rd, 2003, 02:57 PM
MS suxx a lot... :pirate:
lostinbeta
March 3rd, 2003, 02:58 PM
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.
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.