469,360 Members | 1,653 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,360 developers. It's quick & easy.

Selfsizing pop up window?

Hi,
How do you get a pop-up window to self-determine
it's own size (width & height)? I need it to work
in both I.E. and Netscape.

I have seen tutorials on sizing popups from
the script or anchor of a previous window,
but none where the pop-up has it's own script
or parameters to determine it's size.

I need to do it this way, because I am trying
to load the pop-up window from a plugin and
pre-establishing height and width parameters in the
plugin's script won't work in Netscape. It ignores
them and just produces a full window (works in I.E.
of course).

thanx
Russ Kinter
Jul 20 '05 #1
3 1045
"R. Russell Kinter" <Py***@comcast.net> wrote in message
news:1a**************************@posting.google.c om...
Hi,
How do you get a pop-up window to self-determine
it's own size (width & height)? I need it to work
in both I.E. and Netscape.

I have seen tutorials on sizing popups from
the script or anchor of a previous window,
but none where the pop-up has it's own script
or parameters to determine it's size.

I need to do it this way, because I am trying
to load the pop-up window from a plugin and
pre-establishing height and width parameters in the
plugin's script won't work in Netscape. It ignores
them and just produces a full window (works in I.E.
of course).

thanx
Russ Kinter

Perhaps this JavaScript will help:

function Resize(x,y) {
resizeTo(x,y);
moveTo(0,0);
}
Jul 20 '05 #2
Outstanding! Worked great.

So many Javascript methods, so little time :)

thanx
Russ

"McKirahan" <Ne**@McKirahan.com> wrote in message news:<i5fKb.740904$HS4.5676484@attbi_s01>...
"R. Russell Kinter" <Py***@comcast.net> wrote in message
news:1a**************************@posting.google.c om...
Hi,
How do you get a pop-up window to self-determine
it's own size (width & height)? I need it to work
in both I.E. and Netscape.

I have seen tutorials on sizing popups from
the script or anchor of a previous window,
but none where the pop-up has it's own script
or parameters to determine it's size.

I need to do it this way, because I am trying
to load the pop-up window from a plugin and
pre-establishing height and width parameters in the
plugin's script won't work in Netscape. It ignores
them and just produces a full window (works in I.E.
of course).

thanx
Russ Kinter

Perhaps this JavaScript will help:

function Resize(x,y) {
resizeTo(x,y);
moveTo(0,0);
}

Jul 20 '05 #3
McKirahan wrote:
Perhaps this JavaScript will help:

function Resize(x,y) {
resizeTo(x,y);
moveTo(0,0);
}


If tabbed browsing is used, that will resize the whole browser
window and all other tabs. Besides, why do you expect to be 0,0
the coordinates of the left top corner of my preferred desktop?

I have a useful button for such sites. It is located in the
top right corner of the browser window or the tab (bar). *click*
PointedEars
Jul 20 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Carol Lyn | last post: by
6 posts views Thread by David Hayes | last post: by
19 posts views Thread by Darren | last post: by
14 posts views Thread by D. Alvarado | last post: by
26 posts views Thread by yb | last post: by
4 posts views Thread by alexandre.brisebois | last post: by
24 posts views Thread by Jeremy J Starcher | last post: by
reply views Thread by zhoujie | last post: by
1 post views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.