473,320 Members | 1,993 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,320 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 3215
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: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
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: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
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...
0
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
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
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.