473,388 Members | 1,417 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,388 software developers and data experts.

Opening IE without menu/buttons

I need my default page to open up IE (or other browser) in
a stripped-down window, with no menus or buttons except
Close. I know I can do this with Window.Open but is there
a way to do it on my default page?

thanks in advance.
Nov 22 '05 #1
7 3216
Cor
Posibilities
1. Changing the HTML code
2. Aspx.vb net code with adding HTML attributes to a server side button
control. (normal page and poppup)

a sample how to use attributes in vb code from a textbox.control

TextBox1.Attributes("onblur") = "javascript:alert('Hello! Focus lost from
text box!!');"

I hope this was what you did ask?

Cor
I need my default page to open up IE (or other browser) in
a stripped-down window, with no menus or buttons except
Close. I know I can do this with Window.Open but is there
a way to do it on my default page?

thanks in advance.

Nov 22 '05 #2
I just want the browser window that opens to have no menus
or back/forward/reset buttons. I can do it with
window.open if I add a dummy page with a button that says
something like "Click to Start" but that's primitive.
-----Original Message-----
Posibilities
1. Changing the HTML code
2. Aspx.vb net code with adding HTML attributes to a server side buttoncontrol. (normal page and poppup)

a sample how to use attributes in vb code from a textbox.control
TextBox1.Attributes("onblur") = "javascript:alert('Hello! Focus lost fromtext box!!');"

I hope this was what you did ask?

Cor
I need my default page to open up IE (or other browser) in a stripped-down window, with no menus or buttons except
Close. I know I can do this with Window.Open but is there a way to do it on my default page?

thanks in advance.

.

Nov 22 '05 #3
Cor
Hi margareth,

I think this is what you are looking for then
Dim str As String
str = "<script language=javascript> {window.open('http://www.google.com');}
</script>"
RegisterStartupScript("Startup", str)
///

I hope this was the right one?

Cor
Nov 22 '05 #4
That worked except that I still have two windows: the
initial IE window and the new, buttonless window. Is there
a way to add a statement to close the initial window?
-----Original Message-----
Hi margareth,

I think this is what you are looking for then
Dim str As String
str = "<script language=javascript> {window.open ('http://www.google.com');}</script>"
RegisterStartupScript("Startup", str)
///

I hope this was the right one?

Cor
.

Nov 22 '05 #5
Cor
Hi Margareth,

I don't think this is what you want, but it I thought that it does exactly
what you ask, therefore tell if it is or not?
\\\
Dim str As String
str = "<script language=javascript>
{window.open('http://www.google.com','_self');}
</script>"
RegisterStartupScript("Startup", str)
///
Cor
That worked except that I still have two windows: the
initial IE window and the new, buttonless window. Is there
a way to add a statement to close the initial window?
-----Original Message-----
Hi margareth,

I think this is what you are looking for then
Dim str As String
str = "<script language=javascript> {window.open

('http://www.google.com');}
</script>"
RegisterStartupScript("Startup", str)
///

I hope this was the right one?

Cor
.

Nov 22 '05 #6
Hi,

You can use the Window.Close() method using
JavaScript/VBScript language (client-side only).
Regards,
Puneet Taneja
-----Original Message-----
That worked except that I still have two windows: the
initial IE window and the new, buttonless window. Is therea way to add a statement to close the initial window?
-----Original Message-----
Hi margareth,

I think this is what you are looking for then
Dim str As String
str = "<script language=javascript> {window.open

('http://www.google.com');}
</script>"
RegisterStartupScript("Startup", str)
///

I hope this was the right one?

Cor
.

.

Nov 22 '05 #7
But you will get a popup asking if you really want to do that. You
cant programatically close a window if you did not open it without
this occuring. There is a "trick" to doing it, but I cant remember it.
I believe the "trick" will be taken care of in a future release of IE,
and I dont think it works at all on NS. Something about using the
parent object I think, but Im not certain.
On Tue, 23 Dec 2003 01:18:15 -0800, "Puneet Taneja" <Pu*****@NIIT.Com>
wrote:
Hi,

You can use the Window.Close() method using
JavaScript/VBScript language (client-side only).
Regards,
Puneet Taneja
-----Original Message-----
That worked except that I still have two windows: the
initial IE window and the new, buttonless window. Is

there
a way to add a statement to close the initial window?
-----Original Message-----
Hi margareth,

I think this is what you are looking for then
Dim str As String
str = "<script language=javascript> {window.open

('http://www.google.com');}
</script>"
RegisterStartupScript("Startup", str)
///

I hope this was the right one?

Cor
.

.


Nov 22 '05 #8

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

Similar topics

10
by: -DRB- | last post by:
Hi all, I'm very much an amateur designing a page (for free!) for a friend, so any help offered would be hugely appreciated. I'm aiming to open a maximised window (and isn't that fun...) and...
2
by: Paul Delaney | last post by:
Hi there Could someone please help, I have very little grasp of javascript, I have tried but cannot get either of the two things I want to do together to work. I have a webpage with frame...
28
by: Gabriel | last post by:
greetings, I want to achieve the following effect : Menu1 | Menu2 | Menu3 | Menu4 | Menu5 | I played with padding, border-width and the like and it's ok for the | . My problem is that...
7
by: margaret | last post by:
I need my default page to open up IE (or other browser) in a stripped-down window, with no menus or buttons except Close. I know I can do this with Window.Open but is there a way to do it on my...
14
by: D. Alvarado | last post by:
Hello, I am trying to open a window containing an image and I would like the image to be flush against the window -- i.e. have no padding or border. Can I make this happen with a single call to a...
2
by: Sameen | last post by:
I am writing a program in Visual C++ 6.0. It has a GUI with a bunch of buttons. I want to be able to allow the user to view a txt version of a readme of help file to provide information on the...
2
by: Will Pittenger | last post by:
I have a C# .NET program which does without a normal titlebar for its main window. Trouble is, I still want the user to be able to access select commands while the program is minimized. (I...
3
by: yup | last post by:
I was wondering if you know a way to have, let's say, you would click on a menu bar item (where something like file, edit, format, help options are on Microsoft Word) and instead of opening a...
1
by: OtisUsenet | last post by:
Hello, I have some onClick events in <a href...> elements, so they get called when a user clicks on a link. This works well, and looks like this: <a onclick="onLinkClick(123);"...
7
by: swapcool | last post by:
Hi, I am a page having a menu and a few frames life below. The links in menu open in F3 frame. I also have back/forward buttons in F1 frame. ________________________ ____________F1_________|...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
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,...
0
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...
0
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,...

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.