View Full Version : How to open new window on (0,0)?
12-13-2005, 07:35 AM
I would like to open a new window above the old window on the position (top=0, left = 0). I use the following link to do this:
<div id="contact" style="position:relative; left: -140px; top: -1200px; width:140px; height: 0px; z-index:7;">
<a href="#" onclick="window.open('adres.html','','resizable=yes,width=220,height=260')">Contact</a>
But the new window opens one time at this place another time at another place. What can I do about it?
12-13-2005, 10:12 AM
"window.open('adres.html','','resizable=yes width=220 height=260 left=0 top=0')"
And ... There must be no commas between attributes
Nonono. There must be commas. There must be no spaces.
You're right. May I be excused, I have just arrived from my dentist :rolleyes:
12-13-2005, 10:23 AM
You're no good to us in that state. Go home and don't come back until the laughing gas has worn off.
12-13-2005, 10:24 AM
kippie: Anyways, don't load the window at [0,0]. Some of us aren't using Windows and may have OS UI at the top of the screen. Some of us that are using Windows don't have the task bar at the default location of bottom of the screen.
Instead load the window at the location indicated by the values of screen.availLeft and screen.availTop.
What a bull**** excuse
mah... It looks like you have never tasted their anaesthetics... :D
12-13-2005, 12:21 PM
Yeah, I've done without anaesthetics all my visits to the dentist so far :)
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.