473,324 Members | 2,531 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

How to open a smaller window?

When I use Window.open ("mywindow.htm") the size of the window is the same as
the size of the original. How can I open the new window in a smaller size, so
people can still see my main window, and the smaller one.

Joe
ga*****@aol.com
Jul 20 '05 #1
3 1542
In article <20***************************@mb-m06.aol.com>,
ga*****@aol.com enlightened us with...
When I use Window.open ("mywindow.htm") the size of the window is the same as
the size of the original. How can I open the new window in a smaller size, so
people can still see my main window, and the smaller one.

Joe
ga*****@aol.com


This is in the FAQ.

Just use the properties when you open the window.
window.open(URL,Title,properties);

window.open('someUrl.html','my window','height=100,width=
100,toolbars=yes,scrollbars=yes');

--
--
~kaeli~
In democracy your vote counts. In feudalism your count votes.
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace

Jul 20 '05 #2
In article <MP************************@nntp.lucent.com>, kaeli
<ti******@NOSPAM.comcast.net> writes:
This is in the FAQ.

Just use the properties when you open the window.
window.open(URL,Title,properties);

window.open('someUrl.html','my window','height=100,width=
100,toolbars=yes,scrollbars=yes');


The second paramter to window.open is the name of the window, not the title of
it. Also, some browsers choke on window names with spaces in them.

<URL:
http://devedge.netscape.com/library/...1.3/reference/
window.html#1202731 />

<quote>
windowName
A string specifying the window name to use in the TARGET attribute of a FORM
or A tag. windowName can contain only alphanumeric or underscore (_)
characters.
</quote>
--
Randy
Jul 20 '05 #3
In article <20***************************@mb-m27.aol.com>,
hi************@aol.com enlightened us with...
>


The second paramter to window.open is the name of the window, not the title of
it. Also, some browsers choke on window names with spaces in them.


Oops, I meant name, but didn't know about the space issue. Thanks.
--
--
~kaeli~
Black holes were created when God divided by 0.
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace

Jul 20 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Carol Lyn | last post by:
Could use your assistance with this. I have a window that opens via onclick and it is a small window with info about a site. If the user is interested in visiting that site, there is a link to...
3
by: Bob | last post by:
I am trying to create a popup page (to act as a menu) from a parent page. When the parent page (index.jsp) calls my popup function (see below) it will properly open the correct size browser window...
6
by: lauren quantrell | last post by:
I have a command button on a continuous subform and I want the user to click it to open a small popup form that opens in the position of the mouse (which is the same as the position of the command...
3
by: Samuel Shulman | last post by:
Hi I would like to open another smaller window on top of the existing window, how can I do that? Thank you, Samuel
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.