Solved

close window

Posted on 2003-10-23
3
608 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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Suggested Solutions

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" …
Showing your events from Google Calendar in Google Maps Why? I travel all week and I thought it would be ideal if staff in office knew where I was based on my calendar. (OK real reason: my son wanted to see where I would be working, and I thoug…
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…

705 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

21 Experts available now in Live!

Get 1:1 Help Now