473,804 Members | 3,903 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

how to make the control boxes disappear?

Hi,

Could you tell me how to make the control boxes disappear when I open a new
window? The control boxes are max box, min box and close box at the upper
right corner on the browser window. If you know how to do it in JavaScript,
please tell me, too.

Thank you.

Chris
Jul 20 '05 #1
1 1605
ym*@kicon.com (chirs) writes:
Could you tell me how to make the control boxes disappear when I open a new
window? The control boxes are max box, min box and close box at the upper
right corner on the browser window. If you know how to do it in JavaScript,
please tell me, too.


Can't be done in the default securty setting.

If you open a window with window.open, you can add "titlebar=n o" to
the window configuration, it just doesn't work without increased
privileges..

Adding "resizable= no" will disable the maximize button, but not
minimize. Preventing the user from resizing a window is a stupid thing
to do anyway, so don't do it.

/L

[1] Generally, you don't need to write the "option=no" , since the default
for most of them are "no". Not all browsers agree, though.
--
Lasse Reichstein Nielsen - lr*@hotpop.com
Art D'HTML: <URL:http://www.infimum.dk/HTML/randomArtSplit. html>
'Faith without judgement merely degrades the spirit divine.'
Jul 20 '05 #2

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

Similar topics

4
23943
by: curious | last post by:
I am new to VB.NET and I need help in using timer control. Here is the scenario. I have 3 labels (label 1, label2, label 3), and a start button, all vertically aligned on the form. Using a timer control with interval value of 3000, i.e 3 second, I want to accomplish the following: - Initially, only START button is visible to the user, i.e the 3 labels are set to be invisible. - When click on START button, the button disappear and...
1
281
by: kvrdev1 | last post by:
On one page of my web application, some of the text boxes/combo boxes are appearing with a Yellow background. Within ASP.NET, I've deleted them and put new controls on the screen, and it then migrates to other controls (turning their background yellow, instead!). My other pages are not doing this, and none of these controls are bound... What could be causing this? Please help! Thanks, -Valerie
3
2695
by: Bryan Capps | last post by:
I have a text box control on a form, the value of which is calculated (concatenated) from entries on a subform. Accordingly, I've set the control's locked property to true and the tab stop property to false. The latter setting makes the control completely disappear. FYI, the form is dialog border style. When set to sizable border style, the control only appears when the form is re-sized much larger. I have a similar form with a...
10
7263
by: GP | last post by:
Is it possible to iterate through all the controls collection and make the textboxes alone as read only.I don't see a readonly property for the Control.Can some one help me in this context? I want to do something like this below.But I get a message Readonly is not valid property. foreach (Control ctl in pnlBenefits.Controls) { if (ctl is TextBox) ctl.ReadOnly=false; }
0
3939
by: tony | last post by:
Hello! This is a rather long mail but it's a very interesting one. I hope you read it. I have tried several times to get an answer to this mail but I have not get any answer saying something like this is a bug or that .NET doesn't support what I trying to do. I hope that one that is is microsoft certified read this because this must be a bug.
7
3325
by: aviad | last post by:
I am writing a Form application I need it to fit both resolution of 1600*1200 and 800*600 (and any other resolution that might jump in) the application is meant for regular PCs another question is what the difference between the Dock and Anchor properties? i tried to use them (mutual exclusive of course) but with no success
2
11242
by: Steve_s | last post by:
Hi I have a number of control buttons and tabs on a main form which I would like to be disabled until a selection is made in a list box, after which the controls would be enabled. All of the controls display data or run reports which require a parameter which is passed to the underlying queries from aforementioned list box.....I would be gratefull if someone had a tidy way of achieving this.. Thanks
15
6540
by: rizwanahmed24 | last post by:
Hello i have made a custom control. i have placed a panel on it. I want this panel to behave just like the normal panel. The problem i was having is that the panel on my custom control doesnt accept other controls. The control i drag drop on it becomes the child of my custom control's parent form and not the child of my custom control. Then i added this line "" before my custom control class (i dont know what this line does). Now
0
9589
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10593
Oralloy
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...
0
10340
jinu1996
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...
1
10329
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,...
0
10085
tracyyun
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...
0
9163
agi2029
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...
0
6858
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();...
0
5663
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3830
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.