Close Window Problem
I have an annoying little problem in my new website, when I close a window in my site to return to the flash site, it comes up with this box -
The web page you are viewing is trying to close this window. Do you want to close this window? Yes / No
Is there any way that this warning can be removed, so that when you click on close the window it will go straight back to the index?
Any help much appreciated - this is my first time here!!
Jeremy Freeman
www.bamps.com
Vincent Puglia posted this at 12:38 — 26th September 2000.
They have: 634 posts
Joined: Dec 1999
Hi Jeremy & welcome to the forum!
Unfortunately, there is nothing you can do to get rid of the message -- has something to do with 'security issues'
Vinny
Where the world once stood
the blades of grass cut me still
Rageforth posted this at 13:46 — 5th October 2000.
They have: 56 posts
Joined: Feb 2000
To do what you are trying to do, the window you are trying to close has to have a name. This pretty much means popup windows only. On a popup, you use a code simular to window.open('page.html','page_name','width=400,height-200');
page_name is the name of that window. if you put the code in that window and tried to close it, it would do it and not ask any questions.
The trouble with doing something right the first time is that nobody appreciates how difficult it was.
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.