# Driving me nuts (Pop)

**URL:** https://forum.kirupa.com/t/driving-me-nuts-pop/102748
**Category:** Uncategorized
**Created:** [February 26, 2004, 4:38pm UTC](https://forum.kirupa.com/t/driving-me-nuts-pop/102748 "2004-02-26T16:38:07Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![RabBell](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/rabbell/32/340_2.png) [@RabBell](https://forum.kirupa.com/u/RabBell)
#### Post date: [February 26, 2004, 4:38pm UTC](https://forum.kirupa.com/t/driving-me-nuts-pop/102748/1 "2004-02-26T16:38:07Z")

</div>

Hi

I know this is a silly little thing and if my brain wanted to work correctly right now I’m sure I’d know the answer but unfortunatelty it’s not co-operating.

I’m working on an Intranet site that when the user clicks on a link containing this code

lwidth = 903;  
lheight = 680;  
LeftPosition=(screen.width)?(screen.width-lwidth)/2:100;  
TopPosition=(screen.height)?(screen.height-lheight)/5:100;   
window.open(“index.asp?Size=”+screen.width, ‘SalespopUpWin’, “toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=no, copyhistory=no,width=”+lwidth+",height="+lheight+",left="+LeftPosition+", top="+TopPosition+",screenX="+TopPosition+",screenY="+LeftPosition);

The window should pop open at the right size, which it does. I mean this works fine and I’m very happy with it but the problem then happens if I click on an other link on my Desktop. The link doesn’t open in the IE that launched the window, instead it opens in the sized window. Does anyone know why it opens in the sized window rather than the launcher IE?

RabBell.
