Closed Thread Icon

Topic awaiting preservation: Popup Window off Screen (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=8375" title="Pages that link to Topic awaiting preservation: Popup Window off Screen (Page 1 of 1)" rel="nofollow" >Topic awaiting preservation: Popup Window off Screen <span class="small">(Page 1 of 1)</span>\

 
Karl
Bipolar (III) Inmate

From: Phoenix
Insane since: Jul 2001

posted posted 11-02-2002 20:46

Hello,

Is it possible to position a popup window off the screen? The reason being, I use the popup window to make a roundtrip to the server, and then pass back information to the client. I just don't want them to see the "POPUP"... maybe a pop behind???
Here is what I have for the Open statement (which doesn't work):

win=window.open('getinfo.asp?url=' + url,'mywindow','width=10,height=10,left=-100,top=-100);

Karl


karl@laketahoegymnasticscamp.com

Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

posted posted 11-02-2002 21:06

Popping up windows off the screen isn't allowed (imagine the possible abuses).

If you must have an extra window somewhere to do something, I suggest you use a zero-width frame or an invisible iframe, so that it doesn't bug the user (who is probably used to popup hiding tricks and will close it ASAP).

Veneficuz
Paranoid (IV) Inmate

From: A graveyard of dreams
Insane since: Mar 2001

posted posted 11-02-2002 23:26

Another problem with pop ups is that it is possible to disable popups in some browers (e.g Mozilla).

You could also pass the information along using session variables in php. Don't know what it is called in asp, but it probably has something similair...

_________________________
Anyone who has lost track of time when using a computer knows the propensity to dream, the urge to make dreams come true and the tendency to miss lunch.
- copied from the wall of cell 408 -

H][RO
Bipolar (III) Inmate

From: Australia
Insane since: Oct 2002

posted posted 11-03-2002 02:11

what happens with div layers that you put off screen? like position values of -300 or something? do they umm *exist* when they are offscreen if you know what i mean, or do you need to hid them or somehow hmm turn them off for them not to exist? if ya know what i mean..

Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

posted posted 11-03-2002 02:42

They exist, but divs off the edge of a browser window are different from popups off the edge of the user's screen space. Divs can be put anywhere you want them, and will behave as you expect them to. Popups are more restrictive, since they can really be a problem for the user.

Karl
Bipolar (III) Inmate

From: Phoenix
Insane since: Jul 2001

posted posted 11-05-2002 07:39

Thanks for the response.

For now, I'm leaving a littel popup window (100 x 100), which closes itself immediately. I will add an image to this popup, something to the effect: "processing your request".

I'm not familiar with i-frames and am not sure if I can achieve the same result as I can with the popup. I need the popup to act as its own page, making a roundtrip to the server, and when its all done, returning the results to the window which opened it. Can an iframe source a page from the server?

I can see how a page with frames would work. Thats kind of a nifty idea, might implement that sometime. Err... question though: I'm using the Window.Opener object in my popup window to refer back to the page which opened it... how would I do the same with JavaScript and the 2nd Frame page?

Karl


karl@laketahoegymnasticscamp.com

Dracusis
Maniac (V) Inmate

From: Brisbane, Australia
Insane since: Apr 2001

posted posted 11-05-2002 08:05

An iframe is just a like a normal frame and you can do anything with ti that could coulf a browser window. Think of it as a window in window is you wish.

You could also use traditional frames and have one as the processing frame. Just set the cols or rows to "0,*" and you won't even see it.

« BackwardsOnwards »

Show Forum Drop Down Menu