Hi all,
I am using javascript to open a popup window. Is there any way we can
disable the minimize button in this window? The maximize button is
disabled. I want the same for the minimize button.
Here is the javascript code that opens the window :
child = window.open('Ne wWindow.aspx', null, 'width=850, height=450,
directories=no, menubar=no, resizable=no, scrollbars=no, status=no,
toolbar=no, directories=no' );
don't bother about the query string parameters. Any help in this
matter will be greatly appreciated. Can u also send replies to my
hotmail address (pr************ *@hotmail.com)
Thanks and regards,
Prashant 1 29263
Prashant Joshi wrote: Hi all, I am using javascript to open a popup window. Is there any way we can disable the minimize button in this window? The maximize button is disabled. I want the same for the minimize button.
Here is the javascript code that opens the window :
child = window.open('Ne wWindow.aspx', null, 'width=850, height=450, directories=no, menubar=no, resizable=no, scrollbars=no, status=no, toolbar=no, directories=no' );
don't bother about the query string parameters. Any help in this matter will be greatly appreciated. Can u also send replies to my hotmail address (pr************ *@hotmail.com)
Thanks and regards, Prashant
No, you have no control over the minimize button of a new window (unless
you're talking about Microsoft specific modal dialogs, in which case you
might, I don't use them enough to know one way or another). Quite
frankly, you can't be guaranteed anything about your call to
window.open() anyway, so trying to control what the user can do with a
window that you aren't even sure is the size you want, has the chrome you
want or is even open is rather pointless.
Also, the attributes parameter should be a comma-separated list of values
with no spaces. Some browsers will not give you the desired attributes if
you include spaces in the attributes string.
--
| Grant Wagner <gw*****@agrico reunited.com>
* Client-side Javascript and Netscape 4 DOM Reference available at:
* http://devedge.netscape.com/library/...ce/frames.html
* Internet Explorer DOM Reference available at:
* http://msdn.microsoft.com/workshop/a...ence_entry.asp
* Netscape 6/7 DOM Reference available at:
* http://www.mozilla.org/docs/dom/domref/
* Tips for upgrading JavaScript for Netscape 7 / Mozilla
* http://www.mozilla.org/docs/web-deve...upgrade_2.html This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Erik Bethke |
last post by:
Hello All,
I now have a wx.NO_BORDER frame that I have written dragging code
for... I like my window this way as it looks sleeker and I am now
installing some image buttons.
Now I would like to create a new minimize button from an image, and
then capture that mouse down and cause it to minimize the window...
I can make buttons all day long, despite all of my googling I still
|
by: Manoj |
last post by:
Hi All,
We have an VB.net application which has 31 projects in one solution.In this
we want to disable the Maximize and minimize buttons of the child forms as
they load in the main MDI.We have been unable to do this.The methods tried
include :
1. Passing the MinimixeBox = False bit of code in the child form load method
2. Removing the control from design view.In the properties window
3. Passing MinimixeBox = False bit of code it in the...
|
by: Godfried van Loo |
last post by:
Dear all,
I believe many people have this problem. I wanted to disable the
minimize and maximize buttons in my popup window. It is impossible, I
know, but I found something else... Using showModalDialog.
It is THE sollution!!
Take a look at this link.
|
by: bobdydd |
last post by:
Hi Everybody
On Report Preview
Does anyone know of a way to disable the Minimum, Maximum and Close
buttons, so that the user cannot close by any other means that the
Toolbar button that I have supplied.
This is easy enough on Access 2000 FORMS in Properties>>Format etc, but
this is not available on a REPORT.
|
by: Susan |
last post by:
Hi all
I am using javascript to open a popup window. Is there any way we ca
disable the minimize button in this window? The maximize button i
disabled. I want the same for the minimize button
Here is the code that opens the window
<A class="light" onclick="window.open('logout.aspx','LoWin','width=250,height=100,directories=no, menubar=no, resizable=no, scrollbars=no, status=no,toolbar=no,left=370,top=380');" href="javascript:;"...
| |
by: PavithraDamaruga |
last post by:
Below is the javascript i am using to open a popup window.
function OpenPopUpWindow()
{
window.open("key.html",'',width='50',height='50',resizable=0);
}
I want to disable the minimize button in the pop up window. How can i achieve this?
|
by: sangeethasubramanian |
last post by:
Hi,
I have used the window.open method to open a new pop up window, this function is working very fine but my problem is that i don't want minimize and maximize button on this pop up window, it should contain only close button .
Using resizable=No i try to do this operation. But it is working in IE browser. In FF browser it display the minimize or maximize buttons.
I hope u must have understood my problem. Please help as soon as...
|
by: fluff |
last post by:
Hello,
I have a html page with javascript in it.
How do I disable the minimize (the box with the underscore in it in the corner)?
I know there are already several people who asked the same question and the answers are useful like from this:
http://www.thescripts.com/forum/thread92828.html
but the solutions don't work exactly the way I want.
putting onblur="this.focus()" in the body does keep the page from being minimized, but then...
|
by: convexcube |
last post by:
Hi everyone,
Now that I've found a way to disable the ribbon etc. I need to disable the application maximize button. I have looked at this post and implemented it, but it disables the close and minimize buttons as well. Is there a simple command I can use to disable just this button or any way I can adapt the cited post to do just that?
Kind regards,
Ken.
|
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: 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: 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: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
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...
| |