Solved

close window

Posted on 2003-10-23
3
612 Views
Last Modified: 2010-04-09
how can i close indow without dialog question - for example

the following code show dialog "The web page you are viewing is try to ...." - how can i eliminate this dialog


<form>
<input type=button value="Close Window" onClick="javascript:window.close();">
</form>

0
Comment
Question by:asi
3 Comments
 
LVL 18

Accepted Solution

by:
bobbit31 earned 30 total points
ID: 9608373
That is b/c it's the main window... now this is built into the browser security and you "can't" do anything about it.

There is a hack around it, but i don't think i/or anyone else should post it b/c it is in fact a hack of the browser.

you can probably find it on google pretty easy though ;)
0
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 10428589
No comment has been added lately, so it's time to clean up this TA.
I will leave the following recommendation for this question in the Cleanup topic area:

Accept: bobbit31 {http:#9608373}

Please leave any comments here within the next four days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

mplungjan
EE Cleanup Volunteer
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Understanding mobile browsers 9 58
WordPress Themes 10 41
How to add an image from an outside source to your signature in office 365 3 41
Html test in IIS 4 20
Introduction The Google Maps API offers various ways to draw dynamic and static maps.  Using a combination of PHP and JavaScript, you can draw active JavaScript maps that allow pan-and-zoom in the client browser window.  You can also draw "static" …
This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now