Is there a way to set the window size on a
<form action="add.ASP " method="POST">
<input type="hidden" name="AComputer " value="<% =AC %>">
This open in a full window
I have this other way without using the form
<input type="submit" value="ARecord" name="Add"
onClick="window .open('add.asp' ,'add','width=5 00,height=300') ">
This sizes it for me nice, but I can't pass the values I need.
I want to pass AC and have the window size 500 X 300
Is this possible? 2 1451
You can set the target in the form tag.
<form action="add.asp " target="_new" method="post">
and in the add.asp page, have some javascript, resize the window after
loading.
TomB
"DVan" <dt*******@yaho o.com> wrote in message
news:uj******** ******@TK2MSFTN GP10.phx.gbl... Is there a way to set the window size on a <form action="add.ASP " method="POST"> <input type="hidden" name="AComputer " value="<% =AC %>"> This open in a full window
I have this other way without using the form <input type="submit" value="ARecord" name="Add" onClick="window .open('add.asp' ,'add','width=5 00,height=300') "> This sizes it for me nice, but I can't pass the values I need.
I want to pass AC and have the window size 500 X 300
Is this possible?
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Noozer |
last post by:
When using the WebBrowser control, is it possible to cause popup windows to
appear within the WebBrowser control itself instead of a new window?
This is what I've written in the NewWindow2 event, but I can't figure out
how to get the popup to appear in the same browser window.
In this code the user is presented with "Yes", "No" or "Cancel". Yes allows
the popup to spawn a window, No should load the popup in the same window and
Cancel...
|
by: Randell D. |
last post by:
HELP!
Its taken me ages - I'm a newbie and I've compiled bits of code that I've
read in this newsgroup over time to create one of my most intricate
functions to date...
Basically, the script gets called with a single arguement (full path to an
image). The image is supposed to be downloaded to the cache, and when
complete, a new window opened that is slightly larger insize then the images
dimensions... The new window will contain the...
|
by: Andrew Poulos |
last post by:
If I manage to call the following bit of javascript in IE and MZ
w = window.open("", "s", 'status=no,resizable=no,width=450,height=450');
I get a window that is not resizable and without a statusbar. Yet FF
gives me both a statusbar and the window is resizable! Does this mean
that FF does not support these "features" or is there a different way to
code them for FF?
|
by: Peter |
last post by:
I would like to automatically resize a window to its content. I was thinking
of using an outer table to detect the size of my content, then use
window.resizeTo( ).
The problem is I'm not sure how I can determine the size of what I think is
referred to as the 'chrome' - the window borders, toolbars, etc.
Is there a way to determine the height and width of the chrome so that I can
supply the correct parameters to the resizeTo method?
|
by: Roger Withnell |
last post by:
I open a new window from the current window to display maps.
Several maps of different sizes can be displayed. The function is given the
size of the map and adjusts the window size accordingly.
If a new window is already open, the new map sizes are ignored and the new
map is is either too small for the existing "new" window or too big, which
is a more serious problem!
I've tried to fix this by closing the new window if it is already...
| |
by: deko |
last post by:
When a user opens my Access database application, I would like the
application window to be a certain size (but not maximized). Currently,
when my app is first opened, the application window defaults to whatever
size the user sized it to last time he used Access. This results in my
app's interface not looking right. Of course the user can resize the
window, but many users don't know how or don't have the inclination to
adjust it. This...
|
by: BobAchgill |
last post by:
When I change to 1280 x 800 screen size all my Flash windows get about 20
percent bigger relative to the other controls on my main window. It appears
that MS is not handling the auto sizing when the screen resolution change.
Incidently auto sizing works OK for change between other standard resolutions.
How is best to solve this problem? Can you suggest some prewritten code.
If I upgrade to Visual Studio 2005 from 2003... will this...
|
by: Samuel |
last post by:
The application is MDI, as soon as the application loads I create a new
child window (maximized), within the child window there is a tab control
almost the size of the child window
The problem is that when the application first loads the top of the tab
control is hidden and it seems as though the header part of the tab control
is not taken into account as far as location or sizing the control (the
control is anchored on all sides). It is...
|
by: Dr J R Stockton |
last post by:
I want page <URL:http://www.merlyn.demon.co.uk/js-quick.htmto open, in
IE6, IE7, Firefox 2, and wherever else practicable, with the control
labelled F.X0 fully visible at the top of the window and the control
F.Result (which is just under the textarea) fully visible at the bottom
of the window.
What's the right, or best, way to do that? It's right in IE6 at
present, and near enough so in FF2 if there's only a single tab. But
the "tab...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |