Can anyone tell me an easy way to close a popup window in html?
-
I am a web designer trying to put together a basic site. I've got most of it working but in one part there is a popup window with a "close window" button. Can anyone tell me an easy way to make this work, so that when you click on it the popup window closes. I'm much more of a designer than a programmer so a solution which is'nt too complicated would be great. Thanks
-
Answer:
on the button, place this tag: onclick="self.close();" So, if you had a button: <input type="button" value="Close Me" onclick="self.close();" /> EDIT: This only works in IE, here is something I found online to do a close in Firefox: http://www.interwebby.com/blog/2006/02/04/3/
nothingn... at Yahoo! Answers Visit the source
Related Q & A:
- What is an easy way to put a song on my Yahoo 360?Best solution by Yahoo! Answers
- Can anyone tell me how to select a University in Aus or NZ to study MA or MS or MBA in Communication?Best solution by Yahoo! Answers
- Can anyone tell me about being a Medical Assistant?Best solution by allalliedhealthschools.com
- Can anyone tell me what a scanner is?Best solution by Yahoo! Answers
- Can anyone tell my how you can tell if your child has Apraxia of speech?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.